Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/libpcap/
H A Dgencode.c601 cp = &cstate->chunks[cstate->cur_chunk]; in newchunk_nolongjmp()
811 cstate.ic.root = gen_retblk(&cstate, cstate.snaplen); in pcap_compile()
1150 cstate->linktype = cstate->outermostlinktype; in init_linktype()
1722 cstate->off_outermostlinkhdr = cstate->off_prevlinkhdr = cstate->off_linkhdr; in init_linktype()
2879 cstate->off_linkhdr.reg = alloc_reg(cstate); in insert_compute_vloffsets()
2939 cstate->off_linkpl.reg = alloc_reg(cstate); in insert_compute_vloffsets()
7793 if (cstate->regused[cstate->curreg]) in alloc_reg()
7796 cstate->regused[cstate->curreg] = 1; in alloc_reg()
9166 cstate->off_linktype = cstate->off_linkhdr; in gen_pppoes()
9402 cstate->off_linkpl.reg = alloc_reg(cstate); in gen_geneve_offsets()
[all …]
H A Dgrammar.y24 %parse-param { compiler_state_t *cstate }
238 bpf_set_error(cstate, "unknown PF reason"); in pfreason_to_num()
262 bpf_set_error(cstate, "unknown PF action"); in pfaction_to_num()
364 CHECK_INT_VAL(finish_parse(cstate, $2.b));
426 bpf_set_error(cstate, "'ip6addr' not supported "
606 bpf_set_error(cstate, "unknown 802.11 type");
640 pllc: LLC { CHECK_PTR_VAL(($$ = gen_llc(cstate))); }
643 CHECK_PTR_VAL(($$ = gen_llc_i(cstate)));
645 CHECK_PTR_VAL(($$ = gen_llc_s(cstate)));
647 CHECK_PTR_VAL(($$ = gen_llc_u(cstate)));
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c575 rar->cstate.window_buf, rar->cstate.window_mask, in run_e8e9_filter()
622 rar->cstate.window_buf, rar->cstate.window_mask, in run_arm_filter()
856 rar->cstate.solid_offset += rar->cstate.write_ptr; in reset_file_context()
1196 rar->cstate.window_mask = rar->cstate.window_size - 1; in init_window_mask()
2444 rar->cstate.window_buf = calloc(1, rar->cstate.window_size); in init_unpack()
2454 memset(&rar->cstate.bd, 0, sizeof(rar->cstate.bd)); in init_unpack()
2455 memset(&rar->cstate.ld, 0, sizeof(rar->cstate.ld)); in init_unpack()
2456 memset(&rar->cstate.dd, 0, sizeof(rar->cstate.dd)); in init_unpack()
2457 memset(&rar->cstate.ldd, 0, sizeof(rar->cstate.ldd)); in init_unpack()
2458 memset(&rar->cstate.rd, 0, sizeof(rar->cstate.rd)); in init_unpack()
[all …]
/freebsd-13.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-13.1/sys/dev/drm2/ttm/
H A Dttm_page_alloc.c148 switch (cstate) { in ttm_caching_state_to_vm()
306 enum ttm_caching_state cstate) in ttm_get_pool() argument
310 if (cstate == tt_cached) in ttm_get_pool()
313 if (cstate == tt_wc) in ttm_get_pool()
482 switch (cstate) { in ttm_set_pages_caching()
545 cstate, cpages); in ttm_alloc_new_pages()
548 ttm_flags, cstate, in ttm_alloc_new_pages()
566 cstate, cpages); in ttm_alloc_new_pages()
569 ttm_flags, cstate, in ttm_alloc_new_pages()
584 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-13.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-13.1/sys/net/
H A Dslcompress.h115 struct cstate { struct
116 struct cstate *cs_next; /* next most recently used cstate (xmit only) */ argument
133 struct cstate *last_cs; /* most recently used tstate */ argument
147 struct cstate tstate[MAX_STATES]; /* xmit connection states */
148 struct cstate rstate[MAX_STATES]; /* receive connection states */
H A Dslcompress.c68 struct cstate *tstate = comp->tstate; in sl_compress_init()
157 struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
201 struct cstate *lcs; in sl_compress_tcp()
202 struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
459 struct cstate *cs; in sl_uncompress_tcp_core()
/freebsd-13.1/crypto/heimdal/lib/gssapi/krb5/
H A Dunwrap.c61 int cstate; in unwrap_des() local
90 cstate = 1; in unwrap_des()
92 cstate = 0; in unwrap_des()
97 *conf_state = cstate; in unwrap_des()
105 if(cstate) { in unwrap_des()
233 int cstate; in unwrap_des3() local
264 cstate = 1; in unwrap_des3()
266 cstate = 0; in unwrap_des3()
271 *conf_state = cstate; in unwrap_des3()
279 if(cstate) { in unwrap_des3()
/freebsd-13.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.c110 FSE_CState_t cstate; in ZSTD_fseBitCost() local
111 FSE_initCState(&cstate, ctable); in ZSTD_fseBitCost()
118 unsigned const tableLog = cstate.stateLog; in ZSTD_fseBitCost()
120 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h227 uint8_t wlan_channel_state_to_snmp(uint8_t cstate);
H A Dwlan_sys.c519 wlan_channel_state_to_snmp(uint8_t cstate) in wlan_channel_state_to_snmp() argument
523 if ((cstate & IEEE80211_CHANSTATE_RADAR) != 0) in wlan_channel_state_to_snmp()
525 if ((cstate & IEEE80211_CHANSTATE_CACDONE) != 0) in wlan_channel_state_to_snmp()
527 if ((cstate & IEEE80211_CHANSTATE_CWINT) != 0) in wlan_channel_state_to_snmp()
529 if ((cstate & IEEE80211_CHANSTATE_NORADAR) != 0) in wlan_channel_state_to_snmp()
/freebsd-13.1/sys/netgraph/
H A Dng_vjc.c358 struct cstate *const cs = &sl->tstate[i]; in ng_vjc_rcvmsg()
/freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.c11349 FSE_CState_t cstate; in ZSTD_fseBitCost() local
11350 FSE_initCState(&cstate, ctable); in ZSTD_fseBitCost()
11357 unsigned const tableLog = cstate.stateLog; in ZSTD_fseBitCost()
11359 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()