Searched refs:cstate (Results 1 - 14 of 14) sorted by relevance

/freebsd-current/contrib/libpcap/
H A Dgencode.c424 bpf_set_error(compiler_state_t *cstate, const char *fmt, ...) argument
437 if (!cstate->error_set) {
439 (void)vsnprintf(cstate->bpf_pcap->errbuf, PCAP_ERRBUF_SIZE,
442 cstate->error_set = 1;
454 bpf_error(compiler_state_t *cstate, const char *fmt, ...) argument
459 (void)vsnprintf(cstate->bpf_pcap->errbuf, PCAP_ERRBUF_SIZE,
462 longjmp(cstate->top_ctx, 1);
475 static void initchunks(compiler_state_t *cstate);
476 static void *newchunk_nolongjmp(compiler_state_t *cstate, size_t);
477 static void *newchunk(compiler_state_t *cstate, size_
585 initchunks(compiler_state_t *cstate) argument
597 newchunk_nolongjmp(compiler_state_t *cstate, size_t n) argument
637 newchunk(compiler_state_t *cstate, size_t n) argument
650 freechunks(compiler_state_t *cstate) argument
666 sdup(compiler_state_t *cstate, const char *s) argument
678 new_block(compiler_state_t *cstate, int code) argument
690 new_stmt(compiler_state_t *cstate, int code) argument
701 gen_retblk(compiler_state_t *cstate, int v) argument
710 syntax(compiler_state_t *cstate) argument
722 compiler_state_t cstate; local
942 finish_parse(compiler_state_t *cstate, struct block *p) argument
1026 gen_cmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1033 gen_cmp_gt(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1040 gen_cmp_ge(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1047 gen_cmp_lt(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1054 gen_cmp_le(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v) argument
1061 gen_mcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 v, bpf_u_int32 mask) argument
1068 gen_bcmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, const u_char *v) argument
1110 gen_ncmp(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size, bpf_u_int32 mask, int jtype, int reverse, bpf_u_int32 v) argument
1134 init_linktype(compiler_state_t *cstate, pcap_t *p) argument
1732 gen_load_absoffsetrel(compiler_state_t *cstate, bpf_abs_offset *abs_offset, u_int offset, u_int size) argument
1772 gen_load_a(compiler_state_t *cstate, enum e_offrel offrel, u_int offset, u_int size) argument
1863 gen_loadx_iphdrlen(compiler_state_t *cstate) argument
1918 gen_uncond(compiler_state_t *cstate, int rsense) argument
1932 gen_true(compiler_state_t *cstate) argument
1938 gen_false(compiler_state_t *cstate) argument
1961 gen_ether_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2129 gen_loopback_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2168 gen_ipnet_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2196 gen_linux_sll_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
2345 gen_load_pflog_llprefixlen(compiler_state_t *cstate) argument
2394 gen_load_prism_llprefixlen(compiler_state_t *cstate) argument
2504 gen_load_avs_llprefixlen(compiler_state_t *cstate) argument
2544 gen_load_radiotap_llprefixlen(compiler_state_t *cstate) argument
2614 gen_load_ppi_llprefixlen(compiler_state_t *cstate) argument
2680 gen_load_802_11_header_len(compiler_state_t *cstate, struct slist *s, struct slist *snext) argument
2919 insert_compute_vloffsets(compiler_state_t *cstate, struct block *b) argument
3021 gen_ppi_dlt_check(compiler_state_t *cstate) argument
3060 gen_abs_offset_varpart(compiler_state_t *cstate, bpf_abs_offset *off) argument
3145 gen_prevlinkhdr_check(compiler_state_t *cstate) argument
3191 gen_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
3696 gen_snap(compiler_state_t *cstate, bpf_u_int32 orgcode, bpf_u_int32 ptype) argument
3715 gen_llc_internal(compiler_state_t *cstate) argument
3787 gen_llc(compiler_state_t *cstate) argument
3800 gen_llc_i(compiler_state_t *cstate) argument
3831 gen_llc_s(compiler_state_t *cstate) argument
3857 gen_llc_u(compiler_state_t *cstate) argument
3883 gen_llc_s_subtype(compiler_state_t *cstate, bpf_u_int32 subtype) argument
3908 gen_llc_u_subtype(compiler_state_t *cstate, bpf_u_int32 subtype) argument
3945 gen_llc_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
4019 gen_hostop(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, int dir, bpf_u_int32 ll_proto, u_int src_off, u_int dst_off) argument
4084 gen_hostop6(compiler_state_t *cstate, struct in6_addr *addr, struct in6_addr *mask, int dir, bpf_u_int32 ll_proto, u_int src_off, u_int dst_off) argument
4160 gen_ehostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4216 gen_fhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4272 gen_thostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4329 gen_wlanhostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4753 gen_ipfchostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
4824 gen_dnhostop(compiler_state_t *cstate, bpf_u_int32 addr, int dir) argument
4925 gen_mpls_linktype(compiler_state_t *cstate, bpf_u_int32 ll_proto) argument
4955 gen_host(compiler_state_t *cstate, bpf_u_int32 addr, bpf_u_int32 mask, int proto, int dir, int type) argument
5107 gen_host6(compiler_state_t *cstate, struct in6_addr *addr, struct in6_addr *mask, int proto, int dir, int type) argument
5248 gen_gateway(compiler_state_t *cstate, const u_char *eaddr, struct addrinfo *alist, int proto, int dir) argument
5354 gen_proto_abbrev_internal(compiler_state_t *cstate, int proto) argument
5582 gen_proto_abbrev(compiler_state_t *cstate, int proto) argument
5595 gen_ipfrag(compiler_state_t *cstate) argument
5620 gen_portatom(compiler_state_t *cstate, int off, bpf_u_int32 v) argument
5626 gen_portatom6(compiler_state_t *cstate, int off, bpf_u_int32 v) argument
5632 gen_portop(compiler_state_t *cstate, u_int port, u_int proto, int dir) argument
5697 gen_port(compiler_state_t *cstate, u_int port, int ip_proto, int dir) argument
5743 gen_portop6(compiler_state_t *cstate, u_int port, u_int proto, int dir) argument
5782 gen_port6(compiler_state_t *cstate, u_int port, int ip_proto, int dir) argument
5813 gen_portrangeatom(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, bpf_u_int32 v2) argument
5838 gen_portrangeop(compiler_state_t *cstate, u_int port1, u_int port2, bpf_u_int32 proto, int dir) argument
5904 gen_portrange(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, int dir) argument
5936 gen_portrangeatom6(compiler_state_t *cstate, u_int off, bpf_u_int32 v1, bpf_u_int32 v2) argument
5961 gen_portrangeop6(compiler_state_t *cstate, u_int port1, u_int port2, bpf_u_int32 proto, int dir) argument
6001 gen_portrange6(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, int dir) argument
6033 lookup_proto(compiler_state_t *cstate, const char *name, int proto) argument
6077 gen_protochain(compiler_state_t *cstate, bpf_u_int32 v, int proto) argument
6376 gen_check_802_11_data_frame(compiler_state_t *cstate) argument
6411 gen_proto(compiler_state_t *cstate, bpf_u_int32 v, int proto, int dir) argument
6662 gen_scode(compiler_state_t *cstate, const char *name, struct qual q) argument
6974 gen_mcode(compiler_state_t *cstate, const char *s1, const char *s2, bpf_u_int32 masklen, struct qual q) argument
7032 gen_ncode(compiler_state_t *cstate, const char *s, bpf_u_int32 v, struct qual q) argument
7154 gen_mcode6(compiler_state_t *cstate, const char *s1, const char *s2, bpf_u_int32 masklen, struct qual q) argument
7219 gen_ecode(compiler_state_t *cstate, const char *s, struct qual q) argument
7286 xfer_to_x(compiler_state_t *cstate, struct arth *a) argument
7296 xfer_to_a(compiler_state_t *cstate, struct arth *a) argument
7313 gen_load_internal(compiler_state_t *cstate, int proto, struct arth *inst, bpf_u_int32 size) argument
7589 gen_load(compiler_state_t *cstate, int proto, struct arth *inst, bpf_u_int32 size) argument
7603 gen_relation_internal(compiler_state_t *cstate, int code, struct arth *a0, struct arth *a1, int reversed) argument
7647 gen_relation(compiler_state_t *cstate, int code, struct arth *a0, struct arth *a1, int reversed) argument
7661 gen_loadlen(compiler_state_t *cstate) argument
7686 gen_loadi_internal(compiler_state_t *cstate, bpf_u_int32 val) argument
7707 gen_loadi(compiler_state_t *cstate, bpf_u_int32 val) argument
7725 gen_neg(compiler_state_t *cstate, struct arth *a_arg) argument
7755 gen_arth(compiler_state_t *cstate, int code, struct arth *a0_arg, struct arth *a1) argument
7808 init_regs(compiler_state_t *cstate) argument
7818 alloc_reg(compiler_state_t *cstate) argument
7839 free_reg(compiler_state_t *cstate, int n) argument
7845 gen_len(compiler_state_t *cstate, int jmp, int n) argument
7859 gen_greater(compiler_state_t *cstate, int n) argument
7875 gen_less(compiler_state_t *cstate, int n) argument
7903 gen_byteop(compiler_state_t *cstate, int op, int idx, bpf_u_int32 val) argument
7949 gen_broadcast(compiler_state_t *cstate, int proto) argument
8021 gen_mac_multicast(compiler_state_t *cstate, int offset) argument
8035 gen_multicast(compiler_state_t *cstate, int proto) argument
8219 gen_ifindex(compiler_state_t *cstate, int ifindex) argument
8275 gen_inbound(compiler_state_t *cstate, int dir) argument
8421 gen_pf_ifname(compiler_state_t *cstate, const char *ifname) argument
8451 gen_pf_ruleset(compiler_state_t *cstate, char *ruleset) argument
8480 gen_pf_rnr(compiler_state_t *cstate, int rnr) argument
8503 gen_pf_srnr(compiler_state_t *cstate, int srnr) argument
8526 gen_pf_reason(compiler_state_t *cstate, int reason) argument
8549 gen_pf_action(compiler_state_t *cstate, int action) argument
8572 gen_p80211_type(compiler_state_t *cstate, bpf_u_int32 type, bpf_u_int32 mask) argument
8601 gen_p80211_fcdir(compiler_state_t *cstate, bpf_u_int32 fcdir) argument
8632 gen_acode(compiler_state_t *cstate, const char *s, struct qual q) argument
8667 gen_ahostop(compiler_state_t *cstate, const u_char *eaddr, int dir) argument
8721 gen_vlan_tpid_test(compiler_state_t *cstate) argument
8737 gen_vlan_vid_test(compiler_state_t *cstate, bpf_u_int32 vlan_num) argument
8747 gen_vlan_no_bpf_extensions(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) argument
8773 gen_vlan_vloffset_add(compiler_state_t *cstate, bpf_abs_offset *off, bpf_u_int32 v, struct slist *s) argument
8799 gen_vlan_patch_tpid_test(compiler_state_t *cstate, struct block *b_tpid) argument
8819 gen_vlan_patch_vid_test(compiler_state_t *cstate, struct block *b_vid) argument
8863 gen_vlan_bpf_extensions(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) argument
8910 gen_vlan(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag) argument
9008 gen_mpls(compiler_state_t *cstate, bpf_u_int32 label_num_arg, int has_label_num) argument
9091 gen_pppoed(compiler_state_t *cstate) argument
9105 gen_pppoes(compiler_state_t *cstate, bpf_u_int32 sess_num, int has_sess_num) argument
9166 gen_geneve_check(compiler_state_t *cstate, struct block *(*gen_portfn)(compiler_state_t *, u_int, int, int), enum e_offrel offrel, bpf_u_int32 vni, int has_vni) argument
9201 gen_geneve4(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) argument
9227 gen_geneve6(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) argument
9270 gen_geneve_offsets(compiler_state_t *cstate) argument
9405 gen_geneve(compiler_state_t *cstate, bpf_u_int32 vni, int has_vni) argument
9442 gen_geneve_ll_check(compiler_state_t *cstate) argument
9469 gen_atmfield_code_internal(compiler_state_t *cstate, int atmfield, bpf_u_int32 jvalue, int jtype, int reverse) argument
9524 gen_atmtype_metac(compiler_state_t *cstate) argument
9535 gen_atmtype_sc(compiler_state_t *cstate) argument
9546 gen_atmtype_llc(compiler_state_t *cstate) argument
9556 gen_atmfield_code(compiler_state_t *cstate, int atmfield, bpf_u_int32 jvalue, int jtype, int reverse) argument
9571 gen_atmtype_abbrev(compiler_state_t *cstate, int type) argument
9678 gen_mtp2type_abbrev(compiler_state_t *cstate, int type) argument
9765 gen_mtp3field_code(compiler_state_t *cstate, int mtp3field, bpf_u_int32 jvalue_arg, int jtype, int reverse) argument
9875 gen_msg_abbrev(compiler_state_t *cstate, int type) argument
9916 gen_atmmulti_abbrev(compiler_state_t *cstate, int type) argument
[all...]
/freebsd-current/sys/net/
H A Dslcompress.h114 struct cstate { struct
115 struct cstate *cs_next; /* next most recently used cstate (xmit only) */
132 struct cstate *last_cs; /* most recently used tstate */
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;
154 struct cstate *cs = comp->last_cs->cs_next;
198 struct cstate *lcs;
199 struct cstate *lastcs = comp->last_cs;
212 * Didn't find it -- re-use oldest cstate. Send an
456 struct cstate *cs;
/freebsd-current/usr.sbin/ppp/
H A Dslcompress.h112 struct cstate { struct
113 struct cstate *cs_next; /* next most recently used cstate (xmit only) */
131 struct cstate *last_cs; /* most recently used tstate */
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;
161 register struct cstate *cs = comp->last_cs->cs_next;
210 register struct cstate *lcs;
211 register struct cstate *lastcs = comp->last_cs;
224 * Didn't find it -- re-use oldest cstate. Send an uncompressed packet
434 register struct cstate *cs;
/freebsd-current/sys/dev/drm2/ttm/
H A Dttm_page_alloc.c143 ttm_caching_state_to_vm(enum ttm_caching_state cstate) argument
146 switch (cstate) {
154 panic("caching state %d\n", cstate);
188 ttm_vm_page_alloc(int flags, enum ttm_caching_state cstate) argument
194 memattr = ttm_caching_state_to_vm(cstate);
307 enum ttm_caching_state cstate)
311 if (cstate == tt_cached)
314 if (cstate == tt_wc)
479 enum ttm_caching_state cstate, unsigned cpages)
483 switch (cstate) {
306 ttm_get_pool(int flags, enum ttm_caching_state cstate) argument
478 ttm_set_pages_caching(vm_page_t *pages, enum ttm_caching_state cstate, unsigned cpages) argument
505 ttm_handle_caching_state_failure(struct pglist *pages, int ttm_flags, enum ttm_caching_state cstate, vm_page_t *failed_pages, unsigned cpages) argument
523 ttm_alloc_new_pages(struct pglist *pages, int ttm_alloc_flags, int ttm_flags, enum ttm_caching_state cstate, unsigned count) argument
598 ttm_page_pool_fill_locked(struct ttm_page_pool *pool, int ttm_flags, enum ttm_caching_state cstate, unsigned count) argument
655 ttm_page_pool_get_pages(struct ttm_page_pool *pool, struct pglist *pages, int ttm_flags, enum ttm_caching_state cstate, unsigned count) argument
687 ttm_put_pages(vm_page_t *pages, unsigned npages, int flags, enum ttm_caching_state cstate) argument
730 ttm_get_pages(vm_page_t *pages, unsigned npages, int flags, enum ttm_caching_state cstate) argument
[all...]
H A Dttm_page_alloc_dma.c353 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) argument
359 if (cstate == tt_cached)
361 else if (cstate == tt_uncached)
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c347 struct comp_state cstate; member in struct:rar5
524 circular_memcpy(linear_buf, rar->cstate.window_buf,
525 rar->cstate.window_mask, offset, offset + 4);
532 archive_le32enc(&rar->cstate.filtered_buf[offset], value);
544 cdeque_push_back(&rar->cstate.filters, cdeque_filter(f));
560 byte = rar->cstate.window_buf[
561 (rar->cstate.solid_offset + flt->block_start +
562 src_pos) & rar->cstate.window_mask];
565 rar->cstate.filtered_buf[dest_pos] = prev_byte;
579 circular_memcpy(rar->cstate
[all...]
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/
H A Dunwrap.c61 int cstate; local
90 cstate = 1;
92 cstate = 0;
97 *conf_state = cstate;
105 if(cstate) {
233 int cstate; local
264 cstate = 1;
266 cstate = 0;
271 *conf_state = cstate;
279 if(cstate) {
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_sequences.c97 FSE_CState_t cstate; local
98 FSE_initCState(&cstate, ctable);
105 unsigned const tableLog = cstate.stateLog;
107 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog);
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_sequences.c112 FSE_CState_t cstate; local
113 FSE_initCState(&cstate, ctable);
120 unsigned const tableLog = cstate.stateLog;
122 unsigned const bitCost = FSE_bitCost(cstate.symbolTT, tableLog, s, kAccuracyLog);
/freebsd-current/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) argument
521 if ((cstate & IEEE80211_CHANSTATE_RADAR) != 0)
523 if ((cstate & IEEE80211_CHANSTATE_CACDONE) != 0)
525 if ((cstate & IEEE80211_CHANSTATE_CWINT) != 0)
527 if ((cstate & IEEE80211_CHANSTATE_NORADAR) != 0)
/freebsd-current/sys/netgraph/
H A Dng_vjc.c116 /* Parse type for the 'cs_hdr' field in a struct cstate. Ideally we would
127 /* Parse type for a struct cstate */
141 /* Parse type for an array of MAX_STATES struct cstate's, ie, tstate & rstate */
356 struct cstate *const cs = &sl->tstate[i];

Completed in 301 milliseconds