Home
last modified time | relevance | path

Searched refs:tstate (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/kern/
H A Dkern_ktr.c412 struct tstate { struct
416 static struct tstate tstate; variable
423 tstate.cur = (ktr_idx - 1) % ktr_entries; in DB_SHOW_COMMAND()
424 tstate.first = -1; in DB_SHOW_COMMAND()
445 if (tstate.cur == tstate.first || ktr_buf == NULL) { in db_mach_vtrace()
449 kp = &ktr_buf[tstate.cur]; in db_mach_vtrace()
456 db_printf("%d (%p", tstate.cur, kp->ktr_thread); in db_mach_vtrace()
473 if (tstate.first == -1) in db_mach_vtrace()
474 tstate.first = tstate.cur; in db_mach_vtrace()
476 if (--tstate.cur < 0) in db_mach_vtrace()
[all …]
/f-stack/freebsd/net/
H A Dslcompress.c68 struct cstate *tstate = comp->tstate; in sl_compress_init() local
75 bzero((char *)comp->tstate, sizeof(comp->tstate)); in sl_compress_init()
79 tstate[i].cs_id = i; in sl_compress_init()
80 tstate[i].cs_next = &tstate[i - 1]; in sl_compress_init()
82 tstate[0].cs_next = &tstate[max_state]; in sl_compress_init()
83 tstate[0].cs_id = 0; in sl_compress_init()
84 comp->last_cs = &tstate[0]; in sl_compress_init()
H A Dslcompress.h147 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
/f-stack/tools/ipfw/
H A Dipfw2.c2800 tstate = NULL; in ipfw_show_config()
2812 fo->tstate = ctlv; in ipfw_show_config()
3045 if (tstate->idx[i].set != tstate->set) in pack_object()
3053 if (tstate->count + 1 > tstate->size) { in pack_object()
3054 tstate->size += 4; in pack_object()
3055 tstate->idx = realloc(tstate->idx, tstate->size * in pack_object()
3068 tstate->count++; in pack_object()
3871 tstate->set = set; in compile_rule()
5343 tstate = NULL; in ipfw_add()
5360 tstate = ctlv; in ipfw_add()
[all …]
H A Dipv6.c341 fill_ip6(ipfw_insn_ip6 *cmd, char *av, int cblen, struct tidx *tstate) in fill_ip6() argument
363 fill_table(&cmd->o, av, O_IP_DST_LOOKUP, tstate); in fill_ip6()
491 add_srcip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) in add_srcip6() argument
494 fill_ip6((ipfw_insn_ip6 *)cmd, av, cblen, tstate); in add_srcip6()
513 add_dstip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) in add_dstip6() argument
516 fill_ip6((ipfw_insn_ip6 *)cmd, av, cblen, tstate); in add_dstip6()
H A Dipfw2.h431 struct tidx *tstate);
433 struct tidx *tstate);
443 struct tidx *tstate);
/f-stack/freebsd/netgraph/
H A Dng_vjc.c353 index = sl0->last_cs - sl0->tstate; in ng_vjc_rcvmsg()
358 struct cstate *const cs = &sl->tstate[i]; in ng_vjc_rcvmsg()
360 index = sl0->tstate[i].cs_next - sl0->tstate; in ng_vjc_rcvmsg()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_sockopt.c2916 ipfw_obj_ctlv *ctlv, *rtlv, *tstate; in add_rules() local
2929 tstate = NULL; in add_rules()
2975 tstate = ctlv; in add_rules()
3026 ci->ctlv = tstate; in add_rules()