Home
last modified time | relevance | path

Searched refs:c_state (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/external/bsd/lutok/dist/
H A Dc_gate_test.cpp56 ATF_TEST_CASE_WITHOUT_HEAD(c_state);
57 ATF_TEST_CASE_BODY(c_state) in ATF_TEST_CASE_BODY() argument
63 lua_State* raw_state = gate.c_state(); in ATF_TEST_CASE_BODY()
72 ATF_ADD_TEST_CASE(tcs, c_state); in ATF_INIT_TEST_CASES()
H A Ddebug.cpp69 lua_State* raw_state = state_c_gate(s).c_state(); in get_info()
83 lua_State* raw_state = state_c_gate(s).c_state(); in get_stack()
H A Dc_gate.hpp65 lua_State* c_state(void);
H A Dc_gate.cpp73 lutok::state_c_gate::c_state(void) in c_state() function in lutok::state_c_gate
H A Dtest_utils.hpp82 return lutok::state_c_gate(state).c_state(); in raw()
H A Dexceptions.cpp83 lua_State* raw_state = lutok::state_c_gate(state_).c_state(); in from_stack()
/netbsd-src/external/bsd/openldap/dist/servers/lloadd/
H A Dbind.c46 client->c_state = LLOAD_C_READY; in bind_mech_external()
262 client->c_state = LLOAD_C_BINDING; in request_bind()
485 upstream->c_state = LLOAD_C_BINDING; in request_bind()
542 assert( upstream->c_state != LLOAD_C_BINDING ); in finish_sasl_bind()
546 assert( removed == op && upstream->c_state == LLOAD_C_BINDING ); in finish_sasl_bind()
654 if ( upstream->c_state == LLOAD_C_CLOSING ) { in handle_bind_response()
703 if ( client->c_state == LLOAD_C_BINDING ) { in handle_bind_response()
715 client->c_state = LLOAD_C_READY; in handle_bind_response()
739 assert( client->c_state == LLOAD_C_DYING || in handle_bind_response()
740 client->c_state == LLOAD_C_CLOSING ); in handle_bind_response()
[all …]
H A Dclient.c81 if ( c->c_state == LLOAD_C_BINDING ) { in request_abandon()
263 if ( c->c_state == LLOAD_C_BINDING ) { in handle_one_request()
287 if ( c->c_state == LLOAD_C_CLOSING ) { in handle_one_request()
417 c->c_state = LLOAD_C_READY; in client_init()
485 c->c_state = LLOAD_C_INVALID; in client_init()
537 assert( c->c_state != LLOAD_C_INVALID ); in client_unlink()
538 assert( c->c_state != LLOAD_C_DYING ); in client_unlink()
540 state = c->c_state; in client_unlink()
541 c->c_state = LLOAD_C_DYING; in client_unlink()
574 assert( c->c_state == LLOAD_C_DYING ); in client_destroy()
[all …]
H A Doperation.c284 if ( client->c_state == LLOAD_C_BINDING ) { in operation_unlink_client()
285 client->c_state = LLOAD_C_READY; in operation_unlink_client()
299 if ( client->c_state == LLOAD_C_CLOSING && !client->c_ops ) { in operation_unlink_client()
327 if ( upstream->c_state == LLOAD_C_BINDING ) { in operation_unlink_upstream()
329 upstream->c_state = LLOAD_C_READY; in operation_unlink_upstream()
338 if ( upstream->c_state == LLOAD_C_CLOSING && !upstream->c_ops ) { in operation_unlink_upstream()
551 if ( upstream->c_state == LLOAD_C_BINDING ) { in connection_timeout()
553 upstream->c_state = LLOAD_C_READY; in connection_timeout()
608 if ( upstream->c_state == LLOAD_C_CLOSING && !upstream->c_ops ) { in connection_timeout()
H A Dupstream.c126 if ( c->c_state != LLOAD_C_PREPARING ) { in handle_unsolicited()
127 c->c_state = LLOAD_C_CLOSING; in handle_unsolicited()
494 c->c_state = LLOAD_C_READY; in upstream_bind_cb()
646 c->c_state = LLOAD_C_READY; in upstream_finish()
660 c->c_state = LLOAD_C_READY; in upstream_finish()
990 c->c_state = LLOAD_C_INVALID; in upstream_init()
1011 assert( c->c_state != LLOAD_C_INVALID ); in upstream_unlink()
1012 assert( c->c_state != LLOAD_C_DYING ); in upstream_unlink()
1014 c->c_state = LLOAD_C_DYING; in upstream_unlink()
1088 assert( c->c_state == LLOAD_C_DYING ); in upstream_destroy()
[all …]
H A Dextended.c56 } else if ( c->c_state == LLOAD_C_BINDING ) { in handle_starttls()
166 if ( c->c_state == LLOAD_C_BINDING ) { in request_extended()
H A Dconnection.c400 assert( c->c_state == LLOAD_C_INVALID ); in connection_destroy()
540 c->c_state = LLOAD_C_CLOSING; in lload_connection_close()
622 c->c_state = LLOAD_C_ACTIVE; in lload_connection_init()
H A Dlload.h304 enum sc_state c_state; /* connection state */ member
H A Dbackend.c342 if ( c->c_state == LLOAD_C_READY && !c->c_pendingber && in backend_select()
H A Ddaemon.c1713 assert( c->c_state == LLOAD_C_READY ); in lload_handle_global_invalidation()
/netbsd-src/sys/net/npf/
H A Dnpf_conn.c390 ok = npf_state_inspect(npc, &con->c_state, flow); in npf_conn_inspect()
461 if (!npf_state_init(npc, &con->c_state)) { in npf_conn_establish()
544 npf_state_destroy(&con->c_state); in npf_conn_destroy()
716 const int etime = npf_state_etime(npf, &con->c_state, con->c_proto); in npf_conn_expired()
828 nvlist_add_binary(nvl, "state", &con->c_state, sizeof(npf_state_t)); in npf_conn_export()
894 memcpy(&con->c_state, state, sizeof(npf_state_t)); in npf_conn_import()
982 npf_state_etime(npf_getkernctx(), &con->c_state, proto)); in npf_conn_print()
985 npf_state_dump(&con->c_state); in npf_conn_print()
H A Dnpf_conn.h83 npf_state_t c_state; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_tt.c189 enum ttm_caching_state c_state) in ttm_tt_set_caching() argument
195 if (ttm->caching_state == c_state) in ttm_tt_set_caching()
200 ttm->caching_state = c_state; in ttm_tt_set_caching()
212 c_state); in ttm_tt_set_caching()
218 ttm->caching_state = c_state; in ttm_tt_set_caching()
226 (void)ttm_tt_set_page_caching(cur_page, c_state, in ttm_tt_set_caching()
/netbsd-src/sys/dev/iscsi/
H A Discsi_ioctl.c491 conn->c_terminating, status, logout, conn->c_state)); in kill_connection()
526 KASSERT(conn->c_state != ST_FULL_FEATURE); in kill_connection()
531 if (conn->c_state == ST_FULL_FEATURE) { in kill_connection()
533 conn->c_state = ST_WINDING_DOWN; in kill_connection()
587 conn->c_state = ST_SETTLING;
868 conn->c_state = ST_FULL_FEATURE;
947 conn->c_state = ST_SEC_NEG; in recreate_connection()
979 conn->c_state = ST_FULL_FEATURE; in recreate_connection()
1614 status, dologout, conn->c_state)); in add_connection_cleanup()
1616 if (!conn->c_terminating && conn->c_state < in add_connection_cleanup()
[all...]
H A Discsi_rcv.c371 if (conn->c_state == ST_FULL_FEATURE && in check_StatSN()
378 conn->c_state, conn->c_session->s_ErrorRecoveryLevel)); in check_StatSN()
586 if (!otherconn && conn->c_state == ST_LOGOUT_SENT) { in receive_logout_pdu()
588 conn->c_state = ST_SETTLING; in receive_logout_pdu()
649 if (conn->c_state == ST_FULL_FEATURE && in receive_data_in_pdu()
656 conn->c_state, conn->c_session->s_ErrorRecoveryLevel)); in receive_data_in_pdu()
1107 if (!rc && (conn->c_state <= ST_WINDING_DOWN || in receive_pdu()
H A Discsi_send.c115 next->c_state != ST_FULL_FEATURE); in assign_connection()
117 if (next->c_state != ST_FULL_FEATURE) { in assign_connection()
128 } while (next != NULL && next->c_state != ST_FULL_FEATURE); in assign_connection()
760 if (conn->c_state == ST_SEC_FIN) { in negotiate_login()
974 if (conn == NULL || conn->c_terminating || conn->c_state != ST_FULL_FEATURE) in send_send_targets()
1272 conn->c_state = ST_LOGOUT_SENT; in send_logout()
1459 if (conn->c_state != ST_FULL_FEATURE) { in send_command()
1550 if (conn == NULL || conn->c_terminating || conn->c_state != ST_FULL_FEATURE) { in send_run_xfer()
1646 if (conn == NULL || conn->c_terminating || conn->c_state != ST_FULL_FEATURE) { in send_io_command()
1648 (conn != NULL) ? conn->c_state in send_io_command()
[all...]
H A Discsi_text.c1506 conn->c_state = ST_SEC_FIN; in assemble_security_parameters()
1650 conn->c_state, state->MaxRecvDataSegmentLength)); in assemble_negotiation_parameters()
1652 if (conn->c_state == ST_SEC_NEG || conn->c_state == ST_SEC_FIN) { in assemble_negotiation_parameters()
1653 conn->c_state = ST_OP_NEG; in assemble_negotiation_parameters()
H A Discsi_globals.h354 conn_state_t c_state; /* State of connection */ member
H A Discsi_utils.c413 (disp == CCBDISP_DEFER && conn->c_state <= ST_WINDING_DOWN)) { in wake_ccb()
/netbsd-src/sys/dev/pci/
H A Dips.c390 } c_state; /* command state */ member
1341 ccb->c_state = IPS_CCB_QUEUED; in ips_cmd()
1363 if (ccb->c_state == IPS_CCB_DONE) in ips_poll()
1379 ccb->c_state)); in ips_poll()
1381 if (ccb->c_state != IPS_CCB_DONE) in ips_poll()
1611 if (ccb->c_state != IPS_CCB_QUEUED) { in ips_intr()
1614 device_xname(sc->sc_dev), ccb->c_id, ccb->c_state, in ips_intr()
1619 ccb->c_state = IPS_CCB_DONE; in ips_intr()
1968 ccb->c_state = IPS_CCB_FREE; in ips_ccb_put()