Home
last modified time | relevance | path

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

/src/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 …]
/src/sys/kern/
H A Dkern_ktr.c411 struct tstate { struct
415 static struct tstate tstate; argument
422 tstate.cur = (ktr_idx - 1) % ktr_entries; in DB_SHOW_COMMAND_FLAGS()
423 tstate.first = -1; in DB_SHOW_COMMAND_FLAGS()
444 if (tstate.cur == tstate.first || ktr_buf == NULL) { in db_mach_vtrace()
448 kp = &ktr_buf[tstate.cur]; in db_mach_vtrace()
455 db_printf("%d (%p", tstate.cur, kp->ktr_thread); in db_mach_vtrace()
472 if (tstate.first == -1) in db_mach_vtrace()
473 tstate.first = tstate.cur; in db_mach_vtrace()
475 if (--tstate.cur < 0) in db_mach_vtrace()
[all …]
/src/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
/src/sbin/ipfw/
H A Dipfw2.c72 ipfw_obj_ctlv *tstate; /* table state data */ member
451 static uint32_t pack_object(struct tidx *tstate, const char *name, int otype);
452 static uint32_t pack_table(struct tidx *tstate, const char *name);
1369 t = table_search_ctlv(fo->tstate, in print_ip()
1406 t = table_search_ctlv(fo->tstate, in print_ip()
1533 t = table_search_ctlv(fo->tstate, insntoc(cmd, kidx)->kidx); in print_mac_lookup()
1815 table_search_ctlv(fo->tstate, in print_instruction()
1824 s = table_search_ctlv(fo->tstate, in print_instruction()
1941 object_search_ctlv(fo->tstate, in print_instruction()
1952 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.h448 struct tidx *tstate);
450 struct tidx *tstate);
460 struct tidx *tstate);
/src/sys/dev/aic7xxx/
H A Daic79xx_osm.c484 struct ahd_tmode_tstate *tstate; in ahd_action() local
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() local
541 target_id, &tstate); in ahd_action()
614 struct ahd_tmode_tstate *tstate; in ahd_action() local
618 status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, in ahd_action()
738 struct ahd_tmode_tstate *tstate; in ahd_set_tran_settings() local
752 devinfo.target, &tstate); in ahd_set_tran_settings()
756 discenable = &tstate->discenable; in ahd_set_tran_settings()
[all …]
H A Daic7xxx.c488 struct ahc_tmode_tstate *tstate; in ahc_handle_seqint() local
505 &tstate); in ahc_handle_seqint()
557 tstate, targ_info, in ahc_handle_seqint()
560 if (tstate->auto_negotiate & devinfo.target_mask) { in ahc_handle_seqint()
1300 struct ahc_tmode_tstate *tstate; in ahc_handle_scsiint() local
1310 &tstate); in ahc_handle_scsiint()
1402 struct ahc_tmode_tstate *tstate; in ahc_force_renegotiation() local
1408 &tstate); in ahc_force_renegotiation()
1409 ahc_update_neg_request(ahc, devinfo, tstate, in ahc_force_renegotiation()
1565 struct ahc_tmode_tstate *tstate; in ahc_alloc_tstate() local
[all …]
H A Daic7xxx_osm.c466 struct ahc_tmode_tstate *tstate; in ahc_action() local
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() local
581 status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, in ahc_action()
611 struct ahc_tmode_tstate *tstate; in ahc_action() local
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() 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,
/src/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
/src/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()
/src/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.c2340 ipfw_obj_ctlv *ctlv, *rtlv, *tstate; in parse_rules_v1() local
2355 tstate = NULL; in parse_rules_v1()
2391 tstate = ctlv; in parse_rules_v1()
2431 ci->ctlv = tstate; in parse_rules_v1()
/src/sys/dev/isp/
H A Disp_freebsd.h150 typedef struct tstate { struct
151 SLIST_ENTRY(tstate) next;
191 SLIST_HEAD(tslist, tstate);
H A Disp_freebsd.c867 SLIST_REMOVE(&fc->lun_hash[LUN_HASH_FUNC(tptr->ts_lun)], tptr, tstate, next); in destroy_lun_state()
/src/usr.sbin/bhyve/
H A Dsmbiostbl.c202 uint8_t tstate; /* thermal state */ member
/src/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.td123 def TSTATE : SparcCtrlReg< 2, "tstate">;