bin/ksh/c_ksh.c
1033
struct tstate ts;
bin/ksh/edit.c
938
struct tstate ts;
bin/ksh/exec.c
1000
struct tstate ts;
bin/ksh/proto.h
222
void ksh_twalk ARGS((struct tstate *, struct table *));
bin/ksh/proto.h
223
struct tbl * tnext ARGS((struct tstate *));
bin/ksh/table.c
155
struct tstate *ts;
bin/ksh/table.c
164
struct tstate *ts;
bin/ksh/table.c
215
struct tstate ts;
sys/arch/m68k/m68k/compat_16_machdep.c
254
struct sigstate tstate;
sys/arch/m68k/m68k/compat_16_machdep.c
302
if (flags == 0 || copyin((void *)rf, &tstate, sizeof(tstate)) != 0)
sys/arch/m68k/m68k/compat_16_machdep.c
308
(flags & SS_RTEFRAME) ? tstate.ss_frame.f_format : -1);
sys/arch/m68k/m68k/compat_16_machdep.c
319
sz = tstate.ss_frame.f_format;
sys/arch/m68k/m68k/compat_16_machdep.c
324
frame->f_format = tstate.ss_frame.f_format;
sys/arch/m68k/m68k/compat_16_machdep.c
325
frame->f_vector = tstate.ss_frame.f_vector;
sys/arch/m68k/m68k/compat_16_machdep.c
326
memcpy(&frame->F_u, &tstate.ss_frame.F_u, sz);
sys/arch/m68k/m68k/compat_16_machdep.c
330
p->p_pid, sz, tstate.ss_frame.f_format);
sys/arch/m68k/m68k/compat_16_machdep.c
339
memcpy(frame->f_regs, tstate.ss_frame.f_regs,
sys/arch/m68k/m68k/compat_16_machdep.c
346
m68881_restore(&tstate.ss_fpstate);
sys/arch/m68k/m68k/compat_16_machdep.c
375
if ((sigdebug & SDB_FPSTATE) && *(char *)&tstate.ss_fpstate)
sys/arch/m68k/m68k/compat_16_machdep.c
377
p->p_pid, *(u_int *)&tstate.ss_fpstate,
sys/arch/m68k/m68k/compat_16_machdep.c
378
&tstate.ss_fpstate);
sys/arch/sparc64/include/db_machdep.h
57
int64_t tstate;
sys/arch/sparc64/sparc64/db_interface.c
833
(int)te->tt, (unsigned long long)te->tstate,
sys/arch/sparc64/sparc64/db_interface.c
88
u_int tstate; /* tstate */
sys/arch/sparc64/sparc64/db_machdep.c
151
{ "tstate", dbreg(tstate), db_sparc_regop, 0 },
sys/arch/sparc64/sparc64/db_trace.c
547
i+1, (long)ts[i].tt, (u_long)ts[i].tstate,
sys/arch/sparc64/sparc64/machdep.c
233
int64_t tstate;
sys/arch/sparc64/sparc64/machdep.c
270
tstate = ((int64_t)ASI_PRIMARY_NO_FAULT << TSTATE_ASI_SHIFT) |
sys/arch/sparc64/sparc64/machdep.c
283
tf->tf_tstate = tstate;
sys/arch/sparc64/sparc64/netbsd32_machdep.c
108
int64_t tstate;
sys/arch/sparc64/sparc64/netbsd32_machdep.c
131
tstate = ((PSTATE_USER32)<<TSTATE_PSTATE_SHIFT)
sys/arch/sparc64/sparc64/netbsd32_machdep.c
144
tf->tf_tstate = tstate;
sys/arch/sparc64/sparc64/sunos32_machdep.c
109
int64_t tstate;
sys/arch/sparc64/sparc64/sunos32_machdep.c
133
tstate = ((PSTATE_USER32)<<TSTATE_PSTATE_SHIFT)
sys/arch/sparc64/sparc64/sunos32_machdep.c
149
tf->tf_tstate = tstate;
sys/arch/sparc64/sparc64/trap.c
1030
uint64_t tstate;
sys/arch/sparc64/sparc64/trap.c
1084
tstate = tf->tf_tstate;
sys/arch/sparc64/sparc64/trap.c
1090
if (tstate & TSTATE_PRIV) {
sys/arch/sparc64/sparc64/trap.c
1128
if (tstate & TSTATE_PRIV) {
sys/arch/sparc64/sparc64/trap.c
1203
if (tstate & TSTATE_PRIV) {
sys/arch/sparc64/sparc64/trap.c
1269
if ((tstate & TSTATE_PRIV) == 0) {
sys/arch/sparc64/sparc64/trap.c
1301
uint64_t tstate;
sys/arch/sparc64/sparc64/trap.c
1348
tstate = tf->tf_tstate;
sys/arch/sparc64/sparc64/trap.c
1379
if (tstate & TSTATE_PRIV) {
sys/arch/sparc64/sparc64/trap.c
1438
if ((tstate & TSTATE_PRIV) == 0) {
sys/arch/sparc64/sparc64/trap.c
1459
uint64_t tstate;
sys/arch/sparc64/sparc64/trap.c
1497
tstate = tf->tf_tstate;
sys/arch/sparc64/sparc64/trap.c
1503
if (tstate & TSTATE_PRIV) {
sys/arch/sparc64/sparc64/trap.c
1570
int64_t tstate;
sys/arch/sparc64/sparc64/trap.c
1616
tstate = tf->tf_tstate;
sys/arch/sparc64/sparc64/trap.c
1627
if (tstate & TSTATE_PRIV)
sys/arch/sparc64/sparc64/trap.c
1647
if (tstate & TSTATE_PRIV) {
sys/arch/sparc64/sparc64/trap.c
1685
if ((tstate & TSTATE_PRIV) == 0) {
sys/arch/sparc64/sparc64/trap.c
437
trap(struct trapframe64 *tf, unsigned int type, vaddr_t pc, long tstate)
sys/arch/sparc64/sparc64/trap.c
444
int pstate = tstate >> TSTATE_PSTATE_SHIFT;
sys/dev/ic/aic79xx.c
1030
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
1064
&tstate);
sys/dev/ic/aic79xx.c
2215
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2227
devinfo.target, &tstate);
sys/dev/ic/aic79xx.c
2453
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2465
&tstate);
sys/dev/ic/aic79xx.c
2466
ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
2701
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2709
tstate = malloc(sizeof(*tstate), M_DEVBUF, M_WAITOK | M_ZERO);
sys/dev/ic/aic79xx.c
2718
memcpy(tstate, master_tstate, sizeof(*tstate));
sys/dev/ic/aic79xx.c
2719
memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns));
sys/dev/ic/aic79xx.c
2721
memset(&tstate->transinfo[i].curr, 0,
sys/dev/ic/aic79xx.c
2722
sizeof(tstate->transinfo[i].curr));
sys/dev/ic/aic79xx.c
2723
memset(&tstate->transinfo[i].goal, 0,
sys/dev/ic/aic79xx.c
2724
sizeof(tstate->transinfo[i].goal));
sys/dev/ic/aic79xx.c
2727
memset(tstate, 0, sizeof(*tstate));
sys/dev/ic/aic79xx.c
2728
ahd->enabled_targets[scsi_id] = tstate;
sys/dev/ic/aic79xx.c
2729
return (tstate);
sys/dev/ic/aic79xx.c
2740
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2750
tstate = ahd->enabled_targets[scsi_id];
sys/dev/ic/aic79xx.c
2751
if (tstate != NULL)
sys/dev/ic/aic79xx.c
2752
free(tstate, M_DEVBUF);
sys/dev/ic/aic79xx.c
2914
struct ahd_tmode_tstate *tstate,
sys/dev/ic/aic79xx.c
2919
auto_negotiate_orig = tstate->auto_negotiate;
sys/dev/ic/aic79xx.c
2940
tstate->auto_negotiate |= devinfo->target_mask;
sys/dev/ic/aic79xx.c
2942
tstate->auto_negotiate &= ~devinfo->target_mask;
sys/dev/ic/aic79xx.c
2944
return (auto_negotiate_orig != tstate->auto_negotiate);
sys/dev/ic/aic79xx.c
2961
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
2977
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
3087
update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
3107
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3115
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
3147
update_needed += ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
3290
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3295
devinfo.target, &tstate);
sys/dev/ic/aic79xx.c
3297
if ((tstate->auto_negotiate & devinfo.target_mask) == 0
sys/dev/ic/aic79xx.c
3578
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
3587
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
4163
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
4172
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
4361
ahd_update_neg_request(ahd, devinfo, tstate,
sys/dev/ic/aic79xx.c
4524
tstate = ahd->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic79xx.c
4525
if (tstate != NULL) {
sys/dev/ic/aic79xx.c
4528
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/ic/aic79xx.c
4588
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
4597
devinfo->target, &tstate);
sys/dev/ic/aic79xx.c
4998
struct ahd_tmode_tstate* tstate;
sys/dev/ic/aic79xx.c
5011
tstate = ahd->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic79xx.c
5012
if (tstate != NULL) {
sys/dev/ic/aic79xx.c
5026
lstate = tstate->enabled_luns[cur_lun];
sys/dev/ic/aic79xx.c
5185
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
5187
tstate = ahd->enabled_targets[i];
sys/dev/ic/aic79xx.c
5188
if (tstate != NULL) {
sys/dev/ic/aic79xx.c
5195
lstate = tstate->enabled_luns[j];
sys/dev/ic/aic79xx.c
5202
free(tstate, M_DEVBUF);
sys/dev/ic/aic79xx.c
6382
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
6385
target, &tstate);
sys/dev/ic/aic79xx.c
6555
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
6559
targ, &tstate);
sys/dev/ic/aic79xx.c
6568
tstate->discenable |= target_mask;
sys/dev/ic/aic79xx.c
6598
tstate->tagenable &= ~target_mask;
sys/dev/ic/aic79xx.c
6635
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
6639
targ, &tstate);
sys/dev/ic/aic79xx.c
6650
tstate->discenable &= ~target_mask;
sys/dev/ic/aic79xx.c
6653
tstate->discenable |= target_mask;
sys/dev/ic/aic79xx.c
6704
tstate->tagenable &= ~target_mask;
sys/dev/ic/aic79xx.c
7695
struct ahd_tmode_tstate* tstate;
sys/dev/ic/aic79xx.c
7698
tstate = ahd->enabled_targets[target];
sys/dev/ic/aic79xx.c
7699
if (tstate == NULL)
sys/dev/ic/aic79xx.c
7704
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic79xx.c
7947
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
7968
&tstate);
sys/dev/ic/aic79xx.c
8008
tstate, targ_info,
sys/dev/ic/aic79xx.c
8011
if (tstate->auto_negotiate & devinfo.target_mask) {
sys/dev/ic/aic79xx.c
9179
struct ahd_tmode_tstate **tstate,
sys/dev/ic/aic79xx.c
9193
*tstate = NULL;
sys/dev/ic/aic79xx.c
9205
*tstate = ahd->enabled_targets[ccb->ccb_h.target_id];
sys/dev/ic/aic79xx.c
9207
if (*tstate != NULL)
sys/dev/ic/aic79xx.c
9209
(*tstate)->enabled_luns[ccb->ccb_h.target_lun];
sys/dev/ic/aic79xx.c
9222
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
9232
status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic79xx.c
9331
if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
sys/dev/ic/aic79xx.c
9332
tstate = ahd_alloc_tstate(ahd, target, channel);
sys/dev/ic/aic79xx.c
9333
if (tstate == NULL) {
sys/dev/ic/aic79xx.c
9364
tstate->enabled_luns[lun] = lstate;
sys/dev/ic/aic79xx.c
9476
tstate->enabled_luns[lun] = NULL;
sys/dev/ic/aic79xx.c
9479
if (tstate->enabled_luns[i] != NULL) {
sys/dev/ic/aic79xx.c
9624
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx.c
9637
tstate = ahd->enabled_targets[target];
sys/dev/ic/aic79xx.c
9639
if (tstate != NULL)
sys/dev/ic/aic79xx.c
9640
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic79xx_inline.h
494
u_int remote_id, struct ahd_tmode_tstate **tstate)
sys/dev/ic/aic79xx_inline.h
504
*tstate = ahd->enabled_targets[our_id];
sys/dev/ic/aic79xx_inline.h
505
return (&(*tstate)->transinfo[remote_id]);
sys/dev/ic/aic79xx_osm.c
325
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_osm.c
357
target_id, &tstate);
sys/dev/ic/aic79xx_osm.c
424
&tstate);
sys/dev/ic/aic79xx_osm.c
428
old_autoneg = tstate->auto_negotiate;
sys/dev/ic/aic79xx_osm.c
442
tstate->tagenable |=
sys/dev/ic/aic79xx_osm.c
444
tstate->discenable |=
sys/dev/ic/aic79xx_osm.c
473
if ((tstate->discenable & devinfo.target_mask) == 0 ||
sys/dev/ic/aic79xx_osm.c
474
(tstate->tagenable & devinfo.target_mask) == 0)
sys/dev/ic/aic79xx_osm.c
479
tstate->tagenable |= devinfo.target_mask;
sys/dev/ic/aic79xx_osm.c
481
tstate->tagenable &= ~devinfo.target_mask;
sys/dev/ic/aic79xx_osm.c
506
if (old_autoneg == tstate->auto_negotiate && first) {
sys/dev/ic/aic79xx_osm.c
514
if (tstate->tagenable & devinfo.target_mask)
sys/dev/ic/aic79xx_osm.c
534
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_osm.c
590
&tstate);
sys/dev/ic/aic79xx_osm.c
594
if ((tstate->discenable & mask) != 0)
sys/dev/ic/aic79xx_osm.c
597
if ((tstate->tagenable & mask) != 0)
sys/dev/ic/aic79xx_osm.c
615
if ((tstate->auto_negotiate & mask) != 0) {
sys/dev/ic/aic79xx_osm.c
820
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_osm.c
823
devinfo->target, &tstate);
sys/dev/ic/aic79xx_osm.c
826
tstate->tagenable |= devinfo->target_mask;
sys/dev/ic/aic79xx_osm.c
828
tstate->tagenable &= ~devinfo->target_mask;
sys/dev/ic/aic79xx_osm.c
835
struct ahd_tmode_tstate *tstate;
sys/dev/ic/aic79xx_osm.c
849
&tstate);
sys/dev/ic/aic79xx_osm.c
870
if (tstate->tagenable & devinfo.target_mask)
sys/dev/ic/aic7xxx.c
1302
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1312
&tstate);
sys/dev/ic/aic7xxx.c
1397
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1404
&tstate);
sys/dev/ic/aic7xxx.c
1405
ahc_update_neg_request(ahc, &devinfo, tstate,
sys/dev/ic/aic7xxx.c
1564
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1576
tstate = malloc(sizeof(*tstate), M_DEVBUF, M_WAITOK);
sys/dev/ic/aic7xxx.c
1585
memcpy(tstate, master_tstate, sizeof(*tstate));
sys/dev/ic/aic7xxx.c
1586
memset(tstate->enabled_luns, 0, sizeof(tstate->enabled_luns));
sys/dev/ic/aic7xxx.c
1587
tstate->ultraenb = 0;
sys/dev/ic/aic7xxx.c
1589
memset(&tstate->transinfo[i].curr, 0,
sys/dev/ic/aic7xxx.c
1590
sizeof(tstate->transinfo[i].curr));
sys/dev/ic/aic7xxx.c
1591
memset(&tstate->transinfo[i].goal, 0,
sys/dev/ic/aic7xxx.c
1592
sizeof(tstate->transinfo[i].goal));
sys/dev/ic/aic7xxx.c
1595
memset(tstate, 0, sizeof(*tstate));
sys/dev/ic/aic7xxx.c
1596
ahc->enabled_targets[scsi_id] = tstate;
sys/dev/ic/aic7xxx.c
1597
return (tstate);
sys/dev/ic/aic7xxx.c
1608
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1621
tstate = ahc->enabled_targets[scsi_id];
sys/dev/ic/aic7xxx.c
1622
if (tstate != NULL)
sys/dev/ic/aic7xxx.c
1623
free(tstate, M_DEVBUF);
sys/dev/ic/aic7xxx.c
1850
struct ahc_tmode_tstate *tstate,
sys/dev/ic/aic7xxx.c
1855
auto_negotiate_orig = tstate->auto_negotiate;
sys/dev/ic/aic7xxx.c
1876
tstate->auto_negotiate |= devinfo->target_mask;
sys/dev/ic/aic7xxx.c
1878
tstate->auto_negotiate &= ~devinfo->target_mask;
sys/dev/ic/aic7xxx.c
1880
return (auto_negotiate_orig != tstate->auto_negotiate);
sys/dev/ic/aic7xxx.c
1897
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
1913
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
1956
tstate->ultraenb &= ~devinfo->target_mask;
sys/dev/ic/aic7xxx.c
1959
tstate->ultraenb |=
sys/dev/ic/aic7xxx.c
1970
if (tstate->ultraenb & devinfo->target_mask)
sys/dev/ic/aic7xxx.c
2003
update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/ic/aic7xxx.c
2023
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
2031
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
2065
update_needed += ahc_update_neg_request(ahc, devinfo, tstate,
sys/dev/ic/aic7xxx.c
2104
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
2109
devinfo.target, &tstate);
sys/dev/ic/aic7xxx.c
2112
if ((tstate->ultraenb & devinfo.target_mask) != 0)
sys/dev/ic/aic7xxx.c
2116
if ((tstate->auto_negotiate & devinfo.target_mask) == 0
sys/dev/ic/aic7xxx.c
2365
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
2375
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
2991
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
3001
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
3357
tstate = ahc->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic7xxx.c
3358
if (tstate != NULL) {
sys/dev/ic/aic7xxx.c
3361
lstate = tstate->enabled_luns[devinfo->lun];
sys/dev/ic/aic7xxx.c
3413
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
3422
devinfo->target, &tstate);
sys/dev/ic/aic7xxx.c
3732
struct ahc_tmode_tstate* tstate;
sys/dev/ic/aic7xxx.c
3746
tstate = ahc->enabled_targets[devinfo->our_scsiid];
sys/dev/ic/aic7xxx.c
3747
if (tstate != NULL) {
sys/dev/ic/aic7xxx.c
3751
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
3930
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
3932
tstate = ahc->enabled_targets[i];
sys/dev/ic/aic7xxx.c
3933
if (tstate != NULL) {
sys/dev/ic/aic7xxx.c
3940
lstate = tstate->enabled_luns[j];
sys/dev/ic/aic7xxx.c
3947
free(tstate, M_DEVBUF);
sys/dev/ic/aic7xxx.c
4663
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
4677
target_id, &tstate);
sys/dev/ic/aic7xxx.c
4759
tstate->ultraenb = 0;
sys/dev/ic/aic7xxx.c
4760
tstate->discenable = discenable;
sys/dev/ic/aic7xxx.c
502
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
520
&tstate);
sys/dev/ic/aic7xxx.c
566
tstate, targ_info,
sys/dev/ic/aic7xxx.c
569
if (tstate->auto_negotiate & devinfo.target_mask) {
sys/dev/ic/aic7xxx.c
6022
struct ahc_tmode_tstate* tstate;
sys/dev/ic/aic7xxx.c
6025
tstate = ahc->enabled_targets[target];
sys/dev/ic/aic7xxx.c
6026
if (tstate == NULL)
sys/dev/ic/aic7xxx.c
6031
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx.c
6785
struct ahc_tmode_tstate **tstate,
sys/dev/ic/aic7xxx.c
6799
*tstate = NULL;
sys/dev/ic/aic7xxx.c
6811
*tstate = ahc->enabled_targets[ccb->ccb_h.target_id];
sys/dev/ic/aic7xxx.c
6813
if (*tstate != NULL)
sys/dev/ic/aic7xxx.c
6815
(*tstate)->enabled_luns[ccb->ccb_h.target_lun];
sys/dev/ic/aic7xxx.c
6827
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
6838
status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic7xxx.c
6962
if (target != CAM_TARGET_WILDCARD && tstate == NULL) {
sys/dev/ic/aic7xxx.c
6963
tstate = ahc_alloc_tstate(ahc, target, channel);
sys/dev/ic/aic7xxx.c
6964
if (tstate == NULL) {
sys/dev/ic/aic7xxx.c
6995
tstate->enabled_luns[lun] = lstate;
sys/dev/ic/aic7xxx.c
7110
tstate->enabled_luns[lun] = NULL;
sys/dev/ic/aic7xxx.c
7113
if (tstate->enabled_luns[i] != NULL) {
sys/dev/ic/aic7xxx.c
7265
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx.c
7278
tstate = ahc->enabled_targets[target];
sys/dev/ic/aic7xxx.c
7280
if (tstate != NULL)
sys/dev/ic/aic7xxx.c
7281
lstate = tstate->enabled_luns[lun];
sys/dev/ic/aic7xxx_inline.h
245
struct ahc_tmode_tstate **tstate);
sys/dev/ic/aic7xxx_inline.h
291
u_int remote_id, struct ahc_tmode_tstate **tstate)
sys/dev/ic/aic7xxx_inline.h
303
*tstate = ahc->enabled_targets[our_id];
sys/dev/ic/aic7xxx_inline.h
304
return (&(*tstate)->transinfo[remote_id]);
sys/dev/ic/aic7xxx_osm.c
1059
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_osm.c
1062
devinfo->target, &tstate);
sys/dev/ic/aic7xxx_osm.c
1065
tstate->tagenable |= devinfo->target_mask;
sys/dev/ic/aic7xxx_osm.c
1067
tstate->tagenable &= ~devinfo->target_mask;
sys/dev/ic/aic7xxx_osm.c
1116
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_osm.c
1126
&tstate);
sys/dev/ic/aic7xxx_osm.c
1145
if (tstate->tagenable & devinfo.target_mask)
sys/dev/ic/aic7xxx_osm.c
329
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_osm.c
412
&tstate);
sys/dev/ic/aic7xxx_osm.c
416
old_autoneg = tstate->auto_negotiate;
sys/dev/ic/aic7xxx_osm.c
430
tstate->tagenable |=
sys/dev/ic/aic7xxx_osm.c
432
tstate->discenable |=
sys/dev/ic/aic7xxx_osm.c
460
if ((tstate->discenable & devinfo.target_mask) == 0 ||
sys/dev/ic/aic7xxx_osm.c
461
(tstate->tagenable & devinfo.target_mask) == 0)
sys/dev/ic/aic7xxx_osm.c
466
tstate->tagenable |= devinfo.target_mask;
sys/dev/ic/aic7xxx_osm.c
468
tstate->tagenable &= ~devinfo.target_mask;
sys/dev/ic/aic7xxx_osm.c
496
if (old_autoneg == tstate->auto_negotiate && first) {
sys/dev/ic/aic7xxx_osm.c
504
if (tstate->tagenable & devinfo.target_mask)
sys/dev/ic/aic7xxx_osm.c
524
struct ahc_tmode_tstate *tstate;
sys/dev/ic/aic7xxx_osm.c
605
&tstate);
sys/dev/ic/aic7xxx_osm.c
611
if ((tstate->ultraenb & mask) != 0)
sys/dev/ic/aic7xxx_osm.c
614
if ((tstate->discenable & mask) != 0)
sys/dev/ic/aic7xxx_osm.c
628
if ((tstate->auto_negotiate & mask) != 0) {
sys/net/npf/npf_state_tcp.c
297
npf_tcpstate_t *fstate, *tstate;
sys/net/npf/npf_state_tcp.c
333
tstate = &nst->nst_tcpst[!flow];
sys/net/npf/npf_state_tcp.c
349
tstate->nst_end = 0;
sys/net/npf/npf_state_tcp.c
350
tstate->nst_maxend = 0;
sys/net/npf/npf_state_tcp.c
351
tstate->nst_maxwin = 1;
sys/net/npf/npf_state_tcp.c
360
tstate->nst_wscale = 0;
sys/net/npf/npf_state_tcp.c
384
ack = tstate->nst_end;
sys/net/npf/npf_state_tcp.c
387
ack = tstate->nst_end;
sys/net/npf/npf_state_tcp.c
413
if (!SEQ_GEQ(seq, fstate->nst_end - tstate->nst_maxwin)) {
sys/net/npf/npf_state_tcp.c
422
ackskew = tstate->nst_end - ack;
sys/net/npf/npf_state_tcp.c
437
tstate->nst_end = ack;
sys/net/npf/npf_state_tcp.c
447
if (SEQ_GEQ(ack + win, tstate->nst_maxend)) {
sys/net/npf/npf_state_tcp.c
448
tstate->nst_maxend = ack + win;
sys/net/slcompress.c
105
memset(comp->tstate, 0, sizeof(comp->tstate));
sys/net/slcompress.c
109
tstate[i].cs_id = i;
sys/net/slcompress.c
110
tstate[i].cs_next = &tstate[i - 1];
sys/net/slcompress.c
112
tstate[0].cs_next = &tstate[max_state];
sys/net/slcompress.c
113
tstate[0].cs_id = 0;
sys/net/slcompress.c
114
comp->last_cs = &tstate[0];
sys/net/slcompress.c
74
struct cstate *tstate = comp->tstate;
sys/net/slcompress.c
78
tstate[i].cs_id = i;
sys/net/slcompress.c
79
tstate[i].cs_next = &tstate[i - 1];
sys/net/slcompress.c
81
tstate[0].cs_next = &tstate[MAX_STATES - 1];
sys/net/slcompress.c
82
tstate[0].cs_id = 0;
sys/net/slcompress.c
83
comp->last_cs = &tstate[0];
sys/net/slcompress.c
98
struct cstate *tstate = comp->tstate;
sys/net/slcompress.h
157
struct cstate tstate[MAX_STATES]; /* xmit connection states */
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c
239
npf_tcpstate_t *tstate = &cstream_state.nst_tcpst[!di];
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c
250
result[i++] = tstate->nst_end;
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c
251
result[i++] = tstate->nst_maxend;
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c
252
result[i++] = tstate->nst_maxwin;
usr.sbin/npf/npftest/libnpftest/npf_test_subr.c
253
result[i++] = tstate->nst_wscale;