/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | sha2.h | 69 u_int32_t state[8]; member in struct:_SHA256_CTX 74 u_int64_t state[8]; member in struct:_SHA512_CTX 82 void SHA256_Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); 99 void SHA384_Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); 116 void SHA512_Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]);
|
H A D | sha1.c | 57 SHA1Transform(u_int32_t state[5], const u_int8_t buffer[SHA1_BLOCK_LENGTH]) argument 65 /* Copy context->state[] to working vars */ 66 a = state[0]; 67 b = state[1]; 68 c = state[2]; 69 d = state[3]; 70 e = state[4]; 94 /* Add the working vars back into context.state[] */ 95 state[0] += a; 96 state[ [all...] |
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_2835_arm.c | 134 vchiq_platform_init(VCHIQ_STATE_T *state) argument 199 if (vchiq_init_state(state, vchiq_slot_zero, 0/*slave*/) != 227 vchiq_platform_exit(VCHIQ_STATE_T *state) argument 236 vchiq_platform_init_state(VCHIQ_STATE_T *state) argument 239 state->platform_state = kzalloc(sizeof(VCHIQ_2835_ARM_STATE_T), GFP_KERNEL); 240 ((VCHIQ_2835_ARM_STATE_T*)state->platform_state)->inited = 1; 241 status = vchiq_arm_init_state(state, &((VCHIQ_2835_ARM_STATE_T*)state->platform_state)->arm_state); 244 ((VCHIQ_2835_ARM_STATE_T*)state->platform_state)->inited = 0; 250 vchiq_platform_get_arm_state(VCHIQ_STATE_T *state) argument 332 vchiq_platform_suspend(VCHIQ_STATE_T *state) argument 338 vchiq_platform_resume(VCHIQ_STATE_T *state) argument 344 vchiq_platform_paused(VCHIQ_STATE_T *state) argument 349 vchiq_platform_resumed(VCHIQ_STATE_T *state) argument 354 vchiq_platform_videocore_wanted(VCHIQ_STATE_T* state) argument 365 vchiq_dump_platform_use_state(VCHIQ_STATE_T *state) argument 370 vchiq_platform_handle_timeout(VCHIQ_STATE_T *state) argument [all...] |
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | s23_srvr.c | 154 int new_state, state; local 170 state = s->state; 172 switch (s->state) { 203 s->state = SSL23_ST_SR_CLNT_HELLO_A; 225 if ((cb != NULL) && (s->state != state)) { 226 new_state = s->state; 227 s->state = state; [all...] |
H A D | s2_srvr.c | 152 int new_state, state; local 175 state = s->state; 177 switch (s->state) { 206 s->state = SSL2_ST_GET_CLIENT_HELLO_A; 217 s->state = SSL2_ST_SEND_SERVER_HELLO_A; 227 s->state = SSL2_ST_GET_CLIENT_MASTER_KEY_A; 230 s->state = SSL2_ST_SERVER_START_ENCRYPTION; 239 s->state = SSL2_ST_SERVER_START_ENCRYPTION; 252 s->state [all...] |
H A D | s2_clnt.c | 150 int new_state, state; local 167 state = s->state; 169 switch (s->state) { 196 s->state = SSL2_ST_SEND_CLIENT_HELLO_A; 208 s->state = SSL2_ST_GET_SERVER_HELLO_A; 218 s->state = SSL2_ST_SEND_CLIENT_MASTER_KEY_A; 221 s->state = SSL2_ST_CLIENT_START_ENCRYPTION; 231 s->state = SSL2_ST_CLIENT_START_ENCRYPTION; 244 s->state [all...] |
/freebsd-11-stable/sys/contrib/ngatm/netnatm/api/ |
H A D | cc_data.c | 177 eep->state = user->state; 188 econn->state = conn->state; 195 eparty->state = party->state; 203 eport->state = port->admin; 211 econn->state = conn->state; 218 eparty->state [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | tty_info.c | 211 * Report on state of foreground process group. 219 const char *stateprefix, *state; local 253 * state for printing later. This operation could rely on stale 272 state = "running"; 274 state = "runnable"; 278 state = td->td_wmesg; 280 state = "sleeping without queue"; 282 state = td->td_lockname; 285 state = "suspended"; 287 state [all...] |
/freebsd-11-stable/tools/tools/ath/athregs/ |
H A D | dumpregs.c | 57 static dumpregs_t state; variable 60 #define OS_REG_READ(ah, off) state.regdata[(off) >> 2] 108 state.show_addrs = 0; 109 state.show_names = 1; 116 state.show_addrs = 1; 134 state.show_names = 0; 167 atd.ad_out_data = (caddr_t) &state.revs; 168 atd.ad_out_size = sizeof(state.revs); 175 "(devid 0x%x mac %d.%d phy %d)", state.revs.ah_devid, 176 state [all...] |
/freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
H A D | rping.c | 141 enum test_state state; /* used for cond/signalling */ member in struct:rping_cb 172 cb->state = ADDR_RESOLVED; 175 cb->state = ERROR; 182 cb->state = ROUTE_RESOLVED; 187 cb->state = CONNECT_REQUEST; 200 cb->state = CONNECTED; 219 cb->state = DISCONNECTED; 225 cb->state = ERROR; 252 if (cb->state <= CONNECTED || cb->state [all...] |
/freebsd-11-stable/contrib/ldns/drill/ |
H A D | work.c | 78 int state = 0; local 98 if (state < 2 && !isascii(c)) { 100 state = 2; 102 switch (state) { 111 state = 1; 118 state = 0; 133 if (state < 2) { 152 if (state < 2) {
|
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_test.c | 27 * We reuse the same decoder state, and thus can decode only one 32 /* XZ decoder state */ 33 static struct xz_dec *state; variable in typeref:struct:xz_dec 71 xz_dec_reset(state); 133 ret = xz_dec_run(state, &buffers); 175 /* Allocate the XZ decoder state and register the character device. */ 185 state = xz_dec_init(XZ_PREALLOC, DICT_MAX); 186 if (state == NULL) 191 xz_dec_end(state); 205 xz_dec_end(state); [all...] |
/freebsd-11-stable/contrib/ofed/opensm/include/complib/ |
H A D | cl_fleximap.h | 223 cl_state_t state; member in struct:_cl_fmap 239 * state 299 CL_ASSERT(p_map->state == CL_INITIALIZED); 327 CL_ASSERT(p_map->state == CL_INITIALIZED); 420 CL_ASSERT(p_map->state == CL_INITIALIZED); 458 CL_ASSERT(p_map->state == CL_INITIALIZED); 494 CL_ASSERT(p_map->state == CL_INITIALIZED); 801 CL_ASSERT(p_map->state == CL_INITIALIZED);
|
H A D | cl_qmap.h | 249 cl_state_t state; member in struct:_cl_qmap 264 * state 319 CL_ASSERT(p_map->state == CL_INITIALIZED); 347 CL_ASSERT(p_map->state == CL_INITIALIZED); 493 CL_ASSERT(p_map->state == CL_INITIALIZED); 531 CL_ASSERT(p_map->state == CL_INITIALIZED); 567 CL_ASSERT(p_map->state == CL_INITIALIZED); 833 CL_ASSERT(p_map->state == CL_INITIALIZED);
|
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_perfmgr.h | 144 osm_perfmgr_state_t state; member in struct:osm_perfmgr 183 osm_perfmgr_state_t state) 185 p_perfmgr->state = state; 186 if (state == PERFMGR_STATE_ENABLED) { 195 return perfmgr->state; 222 switch (p_perfmgr->state) { 182 osm_perfmgr_set_state(osm_perfmgr_t * p_perfmgr, osm_perfmgr_state_t state) argument
|
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpioled_fdt.c | 85 int state, err; local 90 state = 0; 91 if (OF_getprop_alloc(node, "default-state", 94 state = 1; 96 state = 0; 98 state = -1; 100 state = -1; 102 "unknown value for default-state in FDT\n"); 127 state);
|
/freebsd-11-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_mschapv2.c | 51 enum { CHALLENGE, SUCCESS_REQ, FAILURE_REQ, SUCCESS, FAILURE } state; member in struct:eap_mschapv2_data 65 data->state = CHALLENGE; 108 data->state = FAILURE; 118 data->state = FAILURE; 156 data->state = FAILURE; 199 data->state = FAILURE; 222 switch (data->state) { 230 wpa_printf(MSG_DEBUG, "EAP-MSCHAPV2: Unknown state %d in " 231 "buildReq", data->state); 254 if (data->state [all...] |
/freebsd-11-stable/contrib/dialog/ |
H A D | timebox.c | 185 int state = dlg_default_button(); local 278 BOX *obj = (state == sHR ? &hr_box 279 : (state == sMN ? &mn_box : 280 (state == sSC ? &sc_box : 0))); 282 button = (state < 0) ? 0 : state; 298 state = sHR; 301 state = sMN; 304 state = sSC; 310 state [all...] |
/freebsd-11-stable/sys/dev/led/ |
H A D | led.c | 87 led_state(struct ledsc *sc, struct sbuf **sb, int state) argument 105 sc->func(sc->private, state); 113 led_parse(const char *s, struct sbuf **sb, int *state) argument 122 *state = *s & 1; 126 *state = 0; 215 int error, state = 0; local 226 error = led_parse(s, &sb, &state); 233 error = led_state(sc, &sb, state); 245 int error, state = 0; local 247 error = led_parse(cmd, &sb, &state); 278 led_create_state(led_t *func, void *priv, char const *name, int state) argument [all...] |
/freebsd-11-stable/usr.bin/tr/ |
H A D | str.c | 67 switch (s->state) { 75 s->state = EOS; 101 s->state = NORMAL; 108 s->state = NORMAL; 118 s->state = NORMAL; 125 s->state = NORMAL; 182 s->state = CCLASS_UPPER; 184 s->state = CCLASS_LOWER; 186 s->state = CCLASS; 235 s->state [all...] |
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_l2t.c | 64 * can change state or increment its ref count during allocation as both of 176 (e->state == L2T_STATE_RESOLVING || e->state == L2T_STATE_FAILED)) { 182 e->state = L2T_STATE_FAILED; 190 KASSERT(e->state == L2T_STATE_VALID || 191 e->state == L2T_STATE_STALE, 192 ("%s: lladdr NULL, state %d", __func__, e->state)); 194 e->state = L2T_STATE_STALE; 198 if (e->state [all...] |
/freebsd-11-stable/sys/dev/ixl/ |
H A D | ixl_iw.c | 77 if ((pf_entry->state.iw_scheduled == IXL_IW_PF_STATE_ON) && 78 (pf_entry->state.iw_current == IXL_IW_PF_STATE_OFF)) 80 else if ((pf_entry->state.iw_scheduled == IXL_IW_PF_STATE_OFF) && 81 (pf_entry->state.iw_current == IXL_IW_PF_STATE_ON)) 98 pf_entry->state.iw_current = IXL_IW_PF_STATE_ON; 107 pf_entry->state.iw_current = IXL_IW_PF_STATE_OFF; 176 pf_entry->state.pf = IXL_IW_PF_STATE_ON; 178 pf_entry->state.iw_scheduled = IXL_IW_PF_STATE_ON; 206 pf_entry->state.pf = IXL_IW_PF_STATE_OFF; 207 if (pf_entry->state [all...] |
/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_config.c | 374 if (pinfo->state.ddf.v.pd_type.is_foreign) { 390 find_next_array(struct config_id_state *state) argument 395 state->array_ref++; 398 for (i = 0; i < state->array_count; i++) 399 if (state->arrays[i] == state->array_ref) 400 state->array_ref++; 401 return (state->array_ref); 409 find_next_volume(struct config_id_state *state) argument 414 state 425 build_array(int fd __unused, char *arrayp, struct array_info *array_info, struct config_id_state *state, int verbose) argument 453 build_volume(char *volumep, int narrays, struct array_info *arrays, int raid_type, long stripe_size, struct config_id_state *state, int verbose) argument 552 struct config_id_state state; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/engine/ |
H A D | eng_cryptodev.c | 411 struct dev_crypto_state *state = ctx->cipher_data; local 412 struct session_op *sess = &state->d_sess; 416 if (state->d_fd < 0) 443 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) { 465 struct dev_crypto_state *state = ctx->cipher_data; local 466 struct session_op *sess = &state->d_sess; 478 state->d_fd = -1; 484 if ((state->d_fd = get_dev_crypto()) < 0) 491 if (ioctl(state->d_fd, CIOCGSESSION, sess) == -1) { 492 put_dev_crypto(state 506 struct dev_crypto_state *state = ctx->cipher_data; local 765 struct dev_crypto_state *state = ctx->md_data; local 799 struct dev_crypto_state *state = ctx->md_data; local 846 struct dev_crypto_state *state = ctx->md_data; local 881 struct dev_crypto_state *state = ctx->md_data; local [all...] |
/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf.c | 113 /* state tables */ 517 pf_src_connlimit(struct pf_state **state) argument 522 PF_STATE_LOCK_ASSERT(*state); 524 (*state)->src_node->conn++; 525 (*state)->src.tcp_est = 1; 526 pf_add_threshold(&(*state)->src_node->conn_rate); 528 if ((*state)->rule.ptr->max_src_conn && 529 (*state)->rule.ptr->max_src_conn < 530 (*state)->src_node->conn) { 535 if ((*state) 1536 pf_state_expires(const struct pf_state *state) argument 3944 pf_tcp_track_full(struct pf_state_peer *src, struct pf_state_peer *dst, struct pf_state **state, struct pfi_kif *kif, struct mbuf *m, int off, struct pf_pdesc *pd, u_short *reason, int *copyback) argument 4273 pf_tcp_track_sloppy(struct pf_state_peer *src, struct pf_state_peer *dst, struct pf_state **state, struct pf_pdesc *pd, u_short *reason) argument 4344 pf_test_state_tcp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument 4512 pf_test_state_udp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd) argument 4579 pf_test_state_icmp(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason) argument 5184 pf_test_state_other(struct pf_state **state, int direction, struct pfi_kif *kif, struct mbuf *m, struct pf_pdesc *pd) argument [all...] |