Home
last modified time | relevance | path

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

/freebsd/contrib/lib9p/pytest/
H A Dclient.py182 def __init__(self, name, tstate): argument
186 self.tstate = tstate
221 self.tstate.logger.log(level, ' ' + msg, *args, **kwargs)
227 ret = self.tstate.ccs()
235 self.tstate.logger.log(logging.DEBUG, 'ENTER: %s', self.name)
240 tstate = self.tstate
261 tstate.failures += 1
262 tstate.exceptions += 1
268 tstate.successes += 1
271 tstate.skips += 1
[all …]
/freebsd/sys/kern/
H A Dkern_ktr.c410 struct tstate { struct
414 static struct tstate tstate; argument
421 tstate.cur = (ktr_idx - 1) % ktr_entries; in DB_SHOW_COMMAND_FLAGS()
422 tstate.first = -1; in DB_SHOW_COMMAND_FLAGS()
443 if (tstate.cur == tstate.first || ktr_buf == NULL) { in db_mach_vtrace()
447 kp = &ktr_buf[tstate.cur]; in db_mach_vtrace()
454 db_printf("%d (%p", tstate.cur, kp->ktr_thread); in db_mach_vtrace()
471 if (tstate.first == -1) in db_mach_vtrace()
472 tstate.first = tstate.cur; in db_mach_vtrace()
474 if (--tstate.cur < 0) in db_mach_vtrace()
[all …]
/freebsd/sys/net/
H A Dslcompress.c65 struct cstate *tstate = comp->tstate; in sl_compress_init() local
72 bzero((char *)comp->tstate, sizeof(comp->tstate)); in sl_compress_init()
76 tstate[i].cs_id = i; in sl_compress_init()
77 tstate[i].cs_next = &tstate[i - 1]; in sl_compress_init()
79 tstate[0].cs_next = &tstate[max_state]; in sl_compress_init()
80 tstate[0].cs_id = 0; in sl_compress_init()
81 comp->last_cs = &tstate[0]; in sl_compress_init()
H A Dslcompress.h146 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
/freebsd/sbin/ipfw/
H A Dipfw2.c70 ipfw_obj_ctlv *tstate; /* table state data */ member
444 static uint32_t pack_object(struct tidx *tstate, const char *name, int otype);
445 static uint32_t pack_table(struct tidx *tstate, const char *name);
1353 t = table_search_ctlv(fo->tstate, in print_ip()
1366 t = table_search_ctlv(fo->tstate, in print_ip()
1480 t = table_search_ctlv(fo->tstate, insntoc(cmd, kidx)->kidx); in print_mac_lookup()
1760 table_search_ctlv(fo->tstate, in print_instruction()
1769 s = table_search_ctlv(fo->tstate, in print_instruction()
1886 object_search_ctlv(fo->tstate, in print_instruction()
1897 object_search_ctlv(fo->tstate, in print_instruction()
[all …]
H A Dipv6.c328 fill_ip6(ipfw_insn_ip6 *cmd, char *av, int cblen, struct tidx *tstate) in fill_ip6() argument
350 fill_table(&cmd->o, av, O_IP_DST_LOOKUP, tstate); in fill_ip6()
478 add_srcip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) in add_srcip6() argument
481 fill_ip6((ipfw_insn_ip6 *)cmd, av, cblen, tstate); in add_srcip6()
500 add_dstip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) in add_dstip6() argument
503 fill_ip6((ipfw_insn_ip6 *)cmd, av, cblen, tstate); in add_dstip6()
H A Dipfw2.h447 struct tidx *tstate);
449 struct tidx *tstate);
459 struct tidx *tstate);
/freebsd/sys/dev/aic7xxx/
H A Daic79xx_osm.c484 struct ahd_tmode_tstate *tstate; in ahd_action()
487 status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, in ahd_action()
493 tstate = NULL; in ahd_action()
526 struct ahd_tmode_tstate *tstate; in ahd_action()
541 target_id, &tstate); in ahd_action()
614 struct ahd_tmode_tstate *tstate; in ahd_action()
618 status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, in ahd_action()
738 struct ahd_tmode_tstate *tstate; in ahd_set_tran_settings()
752 devinfo.target, &tstate); in ahd_set_tran_settings()
756 discenable = &tstate in ahd_set_tran_settings()
472 struct ahd_tmode_tstate *tstate; ahd_action() local
514 struct ahd_tmode_tstate *tstate; ahd_action() local
602 struct ahd_tmode_tstate *tstate; ahd_action() local
726 struct ahd_tmode_tstate *tstate; ahd_set_tran_settings() local
842 struct ahd_tmode_tstate *tstate; ahd_get_tran_settings() local
943 struct ahd_tmode_tstate *tstate; ahd_execute_scb() local
1140 struct ahd_tmode_tstate *tstate; ahd_abort_ccb() local
[all...]
H A Daic7xxx_osm.c466 struct ahc_tmode_tstate *tstate; in ahc_action()
469 status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, in ahc_action()
475 tstate = NULL; in ahc_action()
577 struct ahc_tmode_tstate *tstate; in ahc_action()
581 status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, in ahc_action()
611 struct ahc_tmode_tstate *tstate; in ahc_action()
626 devinfo.target, &tstate); in ahc_action()
630 discenable = &tstate->discenable; in ahc_action()
631 tagenable = &tstate->tagenable; in ahc_action()
835 struct ahc_tmode_tstate *tstate; in ahc_get_tran_settings()
454 struct ahc_tmode_tstate *tstate; ahc_action() local
565 struct ahc_tmode_tstate *tstate; ahc_action() local
599 struct ahc_tmode_tstate *tstate; ahc_action() local
823 struct ahc_tmode_tstate *tstate; ahc_get_tran_settings() local
925 struct ahc_tmode_tstate *tstate; ahc_execute_scb() local
1199 struct ahc_tmode_tstate *tstate; ahc_abort_ccb() local
[all...]
H A Daic79xx.c1051 struct ahd_tmode_tstate *tstate; in ahd_handle_seqint() local
1084 &tstate); in ahd_handle_seqint()
2264 struct ahd_tmode_tstate *tstate; in ahd_handle_nonpkt_busfree() local
2282 devinfo.target, &tstate); in ahd_handle_nonpkt_busfree()
2545 struct ahd_tmode_tstate *tstate; in ahd_force_renegotiation() local
2557 &tstate); in ahd_force_renegotiation()
2558 ahd_update_neg_request(ahd, devinfo, tstate, in ahd_force_renegotiation()
2792 struct ahd_tmode_tstate *tstate; in ahd_alloc_tstate() local
2800 tstate = malloc(sizeof(*tstate), M_DEVBUF, M_NOWAIT); in ahd_alloc_tstate()
2801 if (tstate == NULL) in ahd_alloc_tstate()
[all …]
H A Daic7xxx_inline.h240 struct ahc_tmode_tstate **tstate);
286 u_int remote_id, struct ahc_tmode_tstate **tstate) in ahc_fetch_transinfo() argument
296 *tstate = ahc->enabled_targets[our_id]; in ahc_fetch_transinfo()
297 return (&(*tstate)->transinfo[remote_id]); in ahc_fetch_transinfo()
H A Daic79xx_inline.h429 struct ahd_tmode_tstate **tstate);
502 u_int remote_id, struct ahd_tmode_tstate **tstate) in ahd_fetch_transinfo() argument
512 *tstate = ahd->enabled_targets[our_id]; in ahd_fetch_transinfo()
513 return (&(*tstate)->transinfo[remote_id]); in ahd_fetch_transinfo()
H A Daic7xxx.h1335 struct ahc_tmode_tstate **tstate,
H A Daic79xx.h1544 struct ahd_tmode_tstate **tstate,
/freebsd/usr.sbin/ppp/
H A Dslcompress.c85 register struct cstate *tstate = comp->tstate; in sl_compress_init() local
89 tstate[i].cs_id = i; in sl_compress_init()
90 tstate[i].cs_next = &tstate[i - 1]; in sl_compress_init()
92 tstate[0].cs_next = &tstate[max_state]; in sl_compress_init()
93 tstate[0].cs_id = 0; in sl_compress_init()
94 comp->last_cs = &tstate[0]; in sl_compress_init()
H A Dslcompress.h135 struct cstate tstate[MAX_VJ_STATES]; /* xmit connection states */ member
/freebsd/sys/netgraph/
H A Dng_vjc.c351 index = sl0->last_cs - sl0->tstate; in ng_vjc_rcvmsg()
356 struct cstate *const cs = &sl->tstate[i]; in ng_vjc_rcvmsg()
358 index = sl0->tstate[i].cs_next - sl0->tstate; in ng_vjc_rcvmsg()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_compat.c225 ipfw_obj_ctlv *ctlv, *rtlv, *tstate; in parse_rules_v0() local
240 tstate = NULL; in parse_rules_v0()
276 tstate = ctlv; in parse_rules_v0()
316 ci->ctlv = tstate; in parse_rules_v0()
H A Dip_fw_sockopt.c2327 ipfw_obj_ctlv *ctlv, *rtlv, *tstate; in parse_rules_v1() local
2342 tstate = NULL; in parse_rules_v1()
2378 tstate = ctlv; in parse_rules_v1()
2418 ci->ctlv = tstate; in parse_rules_v1()