Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dgencode.c422 bpf_set_error(compiler_state_t *cstate, const char *fmt, ...) in bpf_set_error() argument
435 if (!cstate->error_set) { in bpf_set_error()
437 (void)vsnprintf(cstate->bpf_pcap->errbuf, PCAP_ERRBUF_SIZE, in bpf_set_error()
440 cstate->error_set = 1; in bpf_set_error()
452 bpf_error(compiler_state_t *cstate, const char *fmt, ...) in bpf_error() argument
457 (void)vsnprintf(cstate->bpf_pcap->errbuf, PCAP_ERRBUF_SIZE, in bpf_error()
460 longjmp(cstate->top_ctx, 1); in bpf_error()
473 static void initchunks(compiler_state_t *cstate);
474 static void *newchunk_nolongjmp(compiler_state_t *cstate, size_t);
475 static void *newchunk(compiler_state_t *cstate, size_t);
[all …]
H A Dgrammar.y.in45 %parse-param { compiler_state_t *cstate }
261 yyerror(void *yyscanner _U_, compiler_state_t *cstate, const char *msg) argument
263 bpf_set_error(cstate, "can't parse filter expression: %s", msg);
296 pfreason_to_num(compiler_state_t *cstate, const char *reason) argument
302 bpf_set_error(cstate, "unknown PF reason \"%s\"", reason);
338 pfaction_to_num(compiler_state_t *cstate, const char *action) argument
344 bpf_set_error(cstate, "unknown PF action \"%s\"", action);
441 CHECK_INT_VAL(finish_parse(cstate, $2.b));
458 | pnum { CHECK_PTR_VAL(($$.b = gen_ncode(cstate, NULL, $1,
462 nid: ID { CHECK_PTR_VAL($1); CHECK_PTR_VAL(($$.b = gen_scode(cstate, $1, $$.q = $<blk>0.q))); }
[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/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c351 struct comp_state cstate; member
535 circular_memcpy(linear_buf, rar->cstate.window_buf, in read_filter_data()
536 rar->cstate.window_mask, offset, offset + 4); in read_filter_data()
543 archive_le32enc(&rar->cstate.filtered_buf[offset], value); in write_filter_data()
554 cdeque_push_back(&rar->cstate.filters, cdeque_filter(f)); in add_new_filter()
570 byte = rar->cstate.window_buf[ in run_delta_filter()
571 (rar->cstate.solid_offset + flt->block_start + in run_delta_filter()
572 src_pos) & rar->cstate.window_mask]; in run_delta_filter()
575 rar->cstate.filtered_buf[dest_pos] = prev_byte; in run_delta_filter()
589 circular_memcpy(rar->cstate.filtered_buf, in run_e8e9_filter()
[all …]
/freebsd/sys/dev/drm2/ttm/
H A Dttm_page_alloc.c143 ttm_caching_state_to_vm(enum ttm_caching_state cstate) in ttm_caching_state_to_vm() argument
146 switch (cstate) { in ttm_caching_state_to_vm()
154 panic("caching state %d\n", cstate); in ttm_caching_state_to_vm()
188 ttm_vm_page_alloc(int flags, enum ttm_caching_state cstate) in ttm_vm_page_alloc() argument
194 memattr = ttm_caching_state_to_vm(cstate); in ttm_vm_page_alloc()
307 enum ttm_caching_state cstate) in ttm_get_pool() argument
311 if (cstate == tt_cached) in ttm_get_pool()
314 if (cstate == tt_wc) in ttm_get_pool()
479 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument
483 switch (cstate) { in ttm_set_pages_caching()
[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/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.c65 struct cstate *tstate = comp->tstate; in sl_compress_init()
154 struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
198 struct cstate *lcs; in sl_compress_tcp()
199 struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
456 struct cstate *cs; in sl_uncompress_tcp_core()
/freebsd/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.c85 register struct cstate *tstate = comp->tstate; in sl_compress_init()
161 register struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp()
210 register struct cstate *lcs; in sl_compress_tcp()
211 register struct cstate *lastcs = comp->last_cs; in sl_compress_tcp()
434 register struct cstate *cs; in sl_uncompress_tcp()
/freebsd/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/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/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/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/sys/netgraph/
H A Dng_vjc.c356 struct cstate *const cs = &sl->tstate[i]; in ng_vjc_rcvmsg()