Home
last modified time | relevance | path

Searched refs:cstate (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/contrib/libpcap/
H A Dgencode.c575 cp = &cstate->chunks[cstate->cur_chunk]; in newchunk()
750 cstate.ic.root = gen_retblk(&cstate, cstate.snaplen); in pcap_compile()
753 bpf_optimize(&cstate, &cstate.ic); in pcap_compile()
758 program->bf_insns = icode_to_fcode(&cstate, &cstate.ic, cstate.ic.root, &len); in pcap_compile()
1057 cstate->linktype = cstate->outermostlinktype; in init_linktype()
1620 cstate->off_outermostlinkhdr = cstate->off_prevlinkhdr = cstate->off_linkhdr; in init_linktype()
7332 if (cstate->regused[cstate->curreg]) in alloc_reg()
7335 cstate->regused[cstate->curreg] = 1; in alloc_reg()
8510 cstate->off_linktype = cstate->off_linkhdr; in gen_pppoes()
8742 cstate->off_linkpl.reg = alloc_reg(cstate); in gen_geneve_offsets()
[all …]
H A Dgrammar.y24 %parse-param { compiler_state_t *cstate }
224 bpf_syntax_error(cstate, msg); in yyerror()
239 bpf_error(cstate, "unknown PF reason"); in pfreason_to_num()
263 bpf_error(cstate, "unknown PF action"); in pfaction_to_num()
362 finish_parse(cstate, $2.b);
553 | PPPOED { $$ = gen_pppoed(cstate); }
630 pllc: LLC { $$ = gen_llc(cstate); }
632 $$ = gen_llc_i(cstate);
634 $$ = gen_llc_s(cstate);
636 $$ = gen_llc_u(cstate);
[all …]
H A Doptimize.c1787 opt_dump(cstate, ic); in opt_loop()
1801 opt_dump(cstate, ic); in opt_loop()
1822 opt_dump(cstate, ic); in bpf_optimize()
1829 opt_dump(cstate, ic); in bpf_optimize()
2043 bpf_error(cstate, "malloc"); in opt_init()
2051 bpf_error(cstate, "malloc"); in opt_init()
2058 bpf_error(cstate, "malloc"); in opt_init()
2067 bpf_error(cstate, "malloc"); in opt_init()
2106 bpf_error(cstate, "malloc"); in opt_init()
2494 dot_dump(cstate, ic); in opt_dump()
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c572 rar->cstate.window_buf, rar->cstate.window_mask, in run_e8e9_filter()
619 rar->cstate.window_buf, rar->cstate.window_mask, in run_arm_filter()
853 rar->cstate.solid_offset += rar->cstate.write_ptr; in reset_file_context()
1130 rar->cstate.window_mask = rar->cstate.window_size - 1; in init_window_mask()
2252 rar->cstate.window_buf = calloc(1, rar->cstate.window_size); in init_unpack()
2262 memset(&rar->cstate.bd, 0, sizeof(rar->cstate.bd)); in init_unpack()
2263 memset(&rar->cstate.ld, 0, sizeof(rar->cstate.ld)); in init_unpack()
2264 memset(&rar->cstate.dd, 0, sizeof(rar->cstate.dd)); in init_unpack()
2265 memset(&rar->cstate.ldd, 0, sizeof(rar->cstate.ldd)); in init_unpack()
2266 memset(&rar->cstate.rd, 0, sizeof(rar->cstate.rd)); in init_unpack()
[all …]
/freebsd-12.1/sys/contrib/ngatm/netnatm/sig/
H A Dsig_call.c798 if (c->cstate == CALLST_U1 || c->cstate == CALLST_N6) in unx_alerting()
800 else if (c->cstate == CALLST_U3 || c->cstate == CALLST_N9) in unx_alerting()
1119 if (c->cstate == CALLST_U1 || c->cstate == CALLST_N6) in unx_connect()
1121 else if (c->cstate == CALLST_U3 || c->cstate == CALLST_N9) in unx_connect()
1306 if (c->cstate == CALLST_U6 || c->cstate == CALLST_N1) { in unx_release_response()
3354 if (c->cstate == CALLST_U10 || c->cstate == CALLST_N10) in uni_sig_call()
3460 if (c->cstate == CALLST_U1 || c->cstate == CALLST_U3) { in uni_sig_call()
3478 if (c->cstate == CALLST_U1 || c->cstate == CALLST_U3 || in uni_sig_call()
3486 if (c->cstate == CALLST_N6 || c->cstate == CALLST_N7 || in uni_sig_call()
3814 if (c->cstate == CALLST_U6 || c->cstate == CALLST_U9 || in uni_sig_call()
[all …]
H A Dsig_uni.c529 uniapi_uni_error(c->uni, reason, cookie, callstates[c->cstate].ext); in uniapi_call_error()
535 callstates[p->call->cstate].ext); in uniapi_party_error()
H A Dunipriv.h312 enum call_state cstate; /* the state of the call */ member
H A Dsig_party.c930 p->call->mine ? "mine" : "his", callstates[p->call->cstate].name, in uni_sig_party()
/freebsd-12.1/sys/dev/drm2/ttm/
H A Dttm_page_alloc.c147 switch (cstate) { in ttm_caching_state_to_vm()
310 enum ttm_caching_state cstate) in ttm_get_pool() argument
314 if (cstate == tt_cached) in ttm_get_pool()
317 if (cstate == tt_wc) in ttm_get_pool()
486 switch (cstate) { in ttm_set_pages_caching()
549 cstate, cpages); in ttm_alloc_new_pages()
552 ttm_flags, cstate, in ttm_alloc_new_pages()
570 cstate, cpages); in ttm_alloc_new_pages()
573 ttm_flags, cstate, in ttm_alloc_new_pages()
588 ttm_flags, cstate, in ttm_alloc_new_pages()
[all …]
H A Dttm_page_alloc_dma.c355 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type() argument
361 if (cstate == tt_cached) in ttm_to_type()
363 else if (cstate == tt_uncached) in ttm_to_type()
/freebsd-12.1/usr.sbin/ppp/
H A Dslcompress.h114 struct cstate { struct
115 struct cstate *cs_next; /* next most recently used cstate (xmit only) */ argument
133 struct cstate *last_cs; /* most recently used tstate */ argument
137 struct cstate tstate[MAX_VJ_STATES]; /* xmit connection states */
138 struct cstate rstate[MAX_VJ_STATES]; /* receive connection states */
H A Dslcompress.c89 register struct cstate *tstate = comp->tstate; in sl_compress_init()
165 register struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
214 register struct cstate *lcs; in sl_compress_tcp()
215 register struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
438 register struct cstate *cs; in sl_uncompress_tcp()
/freebsd-12.1/sys/net/
H A Dslcompress.h116 struct cstate { struct
117 struct cstate *cs_next; /* next most recently used cstate (xmit only) */ argument
134 struct cstate *last_cs; /* most recently used tstate */ argument
148 struct cstate tstate[MAX_STATES]; /* xmit connection states */
149 struct cstate rstate[MAX_STATES]; /* receive connection states */
H A Dslcompress.c68 struct cstate *tstate = comp->tstate; in sl_compress_init()
158 struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
202 struct cstate *lcs; in sl_compress_tcp()
203 struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
462 struct cstate *cs; in sl_uncompress_tcp_core()
/freebsd-12.1/crypto/heimdal/lib/gssapi/krb5/
H A Dunwrap.c61 int cstate; in unwrap_des() local
83 cstate = 1; in unwrap_des()
85 cstate = 0; in unwrap_des()
90 *conf_state = cstate; in unwrap_des()
98 if(cstate) { in unwrap_des()
225 int cstate; in unwrap_des3() local
249 cstate = 1; in unwrap_des3()
251 cstate = 0; in unwrap_des3()
256 *conf_state = cstate; in unwrap_des3()
264 if(cstate) { in unwrap_des3()
/freebsd-12.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h228 uint8_t wlan_channel_state_to_snmp(uint8_t cstate);
H A Dwlan_sys.c520 wlan_channel_state_to_snmp(uint8_t cstate) in wlan_channel_state_to_snmp() argument
524 if ((cstate & IEEE80211_CHANSTATE_RADAR) != 0) in wlan_channel_state_to_snmp()
526 if ((cstate & IEEE80211_CHANSTATE_CACDONE) != 0) in wlan_channel_state_to_snmp()
528 if ((cstate & IEEE80211_CHANSTATE_CWINT) != 0) in wlan_channel_state_to_snmp()
530 if ((cstate & IEEE80211_CHANSTATE_NORADAR) != 0) in wlan_channel_state_to_snmp()
/freebsd-12.1/sys/netgraph/
H A Dng_vjc.c358 struct cstate *const cs = &sl->tstate[i]; in ng_vjc_rcvmsg()