Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/libpcap/
H A Dgencode.c609 cp = &cstate->chunks[cstate->cur_chunk]; in newchunk_nolongjmp()
824 cstate.ic.root = gen_retblk(&cstate, cstate.snaplen); in pcap_compile()
1153 cstate->linktype = cstate->outermostlinktype; in init_linktype()
1726 cstate->off_outermostlinkhdr = cstate->off_prevlinkhdr = cstate->off_linkhdr; in init_linktype()
2932 cstate->off_linkhdr.reg = alloc_reg(cstate); in insert_compute_vloffsets()
2996 cstate->off_linkpl.reg = alloc_reg(cstate); in insert_compute_vloffsets()
8092 if (cstate->regused[cstate->curreg]) in alloc_reg()
8095 cstate->regused[cstate->curreg] = 1; in alloc_reg()
9422 cstate->off_linktype = cstate->off_linkhdr; in gen_pppoes()
9657 cstate->off_linkpl.reg = alloc_reg(cstate); in gen_geneve_offsets()
[all …]
H A Dgrammar.y.in45 %parse-param { compiler_state_t *cstate }
441 CHECK_INT_VAL(finish_parse(cstate, $2.b));
595 bpf_set_error(cstate, "protochain not supported");
696 | PPPOED { CHECK_PTR_VAL(($$ = gen_pppoed(cstate))); }
756 bpf_set_error(cstate, "unknown 802.11 type");
778 bpf_set_error(cstate, "unknown 802.11 type name");
790 pllc: LLC { CHECK_PTR_VAL(($$ = gen_llc(cstate))); }
793 CHECK_PTR_VAL(($$ = gen_llc_i(cstate)));
795 CHECK_PTR_VAL(($$ = gen_llc_s(cstate)));
797 CHECK_PTR_VAL(($$ = gen_llc_u(cstate)));
[all …]
H A Dscanner.l52 compiler_state_t *cstate);
513 compiler_state_t *cstate)
562 bpf_set_error(cstate,
599 bpf_set_error(cstate,
633 bpf_set_error(cstate,
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c590 rar->cstate.window_buf, rar->cstate.window_mask, in run_e8e9_filter()
637 rar->cstate.window_buf, rar->cstate.window_mask, in run_arm_filter()
872 rar->cstate.solid_offset += rar->cstate.write_ptr; in reset_file_context()
1212 rar->cstate.window_mask = rar->cstate.window_size - 1; in init_window_mask()
2503 memset(&rar->cstate.bd, 0, sizeof(rar->cstate.bd)); in init_unpack()
2504 memset(&rar->cstate.ld, 0, sizeof(rar->cstate.ld)); in init_unpack()
2505 memset(&rar->cstate.dd, 0, sizeof(rar->cstate.dd)); in init_unpack()
2506 memset(&rar->cstate.ldd, 0, sizeof(rar->cstate.ldd)); in init_unpack()
2507 memset(&rar->cstate.rd, 0, sizeof(rar->cstate.rd)); in init_unpack()
3066 if(rar->cstate.write_ptr - rar->cstate.last_write_ptr > in do_uncompress_block()
[all …]
/freebsd-14.2/sys/dev/drm2/ttm/
H A Dttm_page_alloc.c146 switch (cstate) { in ttm_caching_state_to_vm()
304 enum ttm_caching_state cstate) in ttm_get_pool() argument
308 if (cstate == tt_cached) in ttm_get_pool()
311 if (cstate == tt_wc) in ttm_get_pool()
480 switch (cstate) { in ttm_set_pages_caching()
543 cstate, cpages); in ttm_alloc_new_pages()
546 ttm_flags, cstate, in ttm_alloc_new_pages()
564 cstate, cpages); in ttm_alloc_new_pages()
567 ttm_flags, cstate, in ttm_alloc_new_pages()
582 ttm_flags, cstate, in ttm_alloc_new_pages()
[all …]
H A Dttm_page_alloc_dma.c353 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type() argument
359 if (cstate == tt_cached) in ttm_to_type()
361 else if (cstate == tt_uncached) in ttm_to_type()
/freebsd-14.2/usr.sbin/ppp/
H A Dslcompress.h112 struct cstate { struct
113 struct cstate *cs_next; /* next most recently used cstate (xmit only) */ argument
131 struct cstate *last_cs; /* most recently used tstate */ argument
135 struct cstate tstate[MAX_VJ_STATES]; /* xmit connection states */
136 struct cstate rstate[MAX_VJ_STATES]; /* receive connection states */
H A Dslcompress.c87 register struct cstate *tstate = comp->tstate; in sl_compress_init()
163 register struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
212 register struct cstate *lcs; in sl_compress_tcp()
213 register struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
436 register struct cstate *cs; in sl_uncompress_tcp()
/freebsd-14.2/sys/net/
H A Dslcompress.h114 struct cstate { struct
115 struct cstate *cs_next; /* next most recently used cstate (xmit only) */ argument
132 struct cstate *last_cs; /* most recently used tstate */ argument
146 struct cstate tstate[MAX_STATES]; /* xmit connection states */
147 struct cstate rstate[MAX_STATES]; /* receive connection states */
H A Dslcompress.c67 struct cstate *tstate = comp->tstate; in sl_compress_init()
156 struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
200 struct cstate *lcs; in sl_compress_tcp()
201 struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
458 struct cstate *cs; in sl_uncompress_tcp_core()
/freebsd-14.2/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-14.2/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.c97 FSE_CState_t cstate; in ZSTD_fseBitCost() local
98 FSE_initCState(&cstate, ctable); in ZSTD_fseBitCost()
105 unsigned const tableLog = cstate.stateLog; in ZSTD_fseBitCost()
107 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
/freebsd-14.2/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.c112 FSE_CState_t cstate; in ZSTD_fseBitCost() local
113 FSE_initCState(&cstate, ctable); in ZSTD_fseBitCost()
120 unsigned const tableLog = cstate.stateLog; in ZSTD_fseBitCost()
122 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog); in ZSTD_fseBitCost()
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.h225 uint8_t wlan_channel_state_to_snmp(uint8_t cstate);
H A Dwlan_sys.c517 wlan_channel_state_to_snmp(uint8_t cstate) in wlan_channel_state_to_snmp() argument
521 if ((cstate & IEEE80211_CHANSTATE_RADAR) != 0) in wlan_channel_state_to_snmp()
523 if ((cstate & IEEE80211_CHANSTATE_CACDONE) != 0) in wlan_channel_state_to_snmp()
525 if ((cstate & IEEE80211_CHANSTATE_CWINT) != 0) in wlan_channel_state_to_snmp()
527 if ((cstate & IEEE80211_CHANSTATE_NORADAR) != 0) in wlan_channel_state_to_snmp()
/freebsd-14.2/sys/netgraph/
H A Dng_vjc.c356 struct cstate *const cs = &sl->tstate[i]; in ng_vjc_rcvmsg()