/netbsd-src/sys/arch/m68k/m68k/ |
H A D | compat_16_machdep.c | 256 struct sigstate tstate; in compat_16_sys___sigreturn14() local 304 if (flags == 0 || copyin((void *)rf, &tstate, sizeof(tstate)) != 0) in compat_16_sys___sigreturn14() 310 (flags & SS_RTEFRAME) ? tstate.ss_frame.f_format : -1); in compat_16_sys___sigreturn14() 321 sz = tstate.ss_frame.f_format; in compat_16_sys___sigreturn14() 326 frame->f_format = tstate.ss_frame.f_format; in compat_16_sys___sigreturn14() 327 frame->f_vector = tstate.ss_frame.f_vector; in compat_16_sys___sigreturn14() 328 memcpy(&frame->F_u, &tstate.ss_frame.F_u, sz); in compat_16_sys___sigreturn14() 332 p->p_pid, sz, tstate.ss_frame.f_format); in compat_16_sys___sigreturn14() 341 memcpy(frame->f_regs, tstate.ss_frame.f_regs, in compat_16_sys___sigreturn14() 348 m68881_restore(&tstate.ss_fpstate); in compat_16_sys___sigreturn14() [all …]
|
/netbsd-src/sys/net/ |
H A D | slcompress.c | 74 struct cstate *tstate = comp->tstate; in sl_compress_init() local 78 tstate[i].cs_id = i; in sl_compress_init() 79 tstate[i].cs_next = &tstate[i - 1]; in sl_compress_init() 81 tstate[0].cs_next = &tstate[MAX_STATES - 1]; in sl_compress_init() 82 tstate[0].cs_id = 0; in sl_compress_init() 83 comp->last_cs = &tstate[0]; in sl_compress_init() 98 struct cstate *tstate in sl_compress_setup() local [all...] |
H A D | slcompress.h | 157 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
|
/netbsd-src/sys/net/npf/ |
H A D | npf_state_tcp.c | 297 npf_tcpstate_t *fstate, *tstate; in npf_tcp_inwindow() local 333 tstate = &nst->nst_tcpst[!flow]; in npf_tcp_inwindow() 349 tstate->nst_end = 0; in npf_tcp_inwindow() 350 tstate->nst_maxend = 0; in npf_tcp_inwindow() 351 tstate->nst_maxwin = 1; in npf_tcp_inwindow() 360 tstate->nst_wscale = 0; in npf_tcp_inwindow() 384 ack = tstate->nst_end; in npf_tcp_inwindow() 387 ack = tstate->nst_end; in npf_tcp_inwindow() 413 if (!SEQ_GEQ(seq, fstate->nst_end - tstate->nst_maxwin)) { in npf_tcp_inwindow() 422 ackskew = tstate->nst_end - ack; in npf_tcp_inwindow() [all …]
|
/netbsd-src/sys/dev/ic/ |
H A D | aic79xx_osm.c | 325 struct ahd_tmode_tstate *tstate; in ahd_action() local 357 target_id, &tstate); in ahd_action() 424 &tstate); in ahd_action() 428 old_autoneg = tstate->auto_negotiate; in ahd_action() 442 tstate->tagenable |= in ahd_action() 444 tstate->discenable |= in ahd_action() 473 if ((tstate->discenable & devinfo.target_mask) == 0 || in ahd_action() 474 (tstate->tagenable & devinfo.target_mask) == 0) in ahd_action() 479 tstate->tagenable |= devinfo.target_mask; in ahd_action() 481 tstate->tagenable &= ~devinfo.target_mask; in ahd_action() [all …]
|
H A D | aic7xxx_osm.c | 329 struct ahc_tmode_tstate *tstate; in ahc_action() local 412 &tstate); in ahc_action() 416 old_autoneg = tstate->auto_negotiate; in ahc_action() 430 tstate->tagenable |= in ahc_action() 432 tstate->discenable |= in ahc_action() 460 if ((tstate->discenable & devinfo.target_mask) == 0 || in ahc_action() 461 (tstate->tagenable & devinfo.target_mask) == 0) in ahc_action() 466 tstate->tagenable |= devinfo.target_mask; in ahc_action() 468 tstate->tagenable &= ~devinfo.target_mask; in ahc_action() 496 if (old_autoneg == tstate->auto_negotiate && first) { in ahc_action() [all …]
|
H A D | aic7xxx.c | 502 struct ahc_tmode_tstate *tstate; in ahc_handle_seqint() local 520 &tstate); in ahc_handle_seqint() 566 tstate, targ_info, in ahc_handle_seqint() 569 if (tstate->auto_negotiate & devinfo.target_mask) { in ahc_handle_seqint() 1302 struct ahc_tmode_tstate *tstate; in ahc_handle_scsiint() local 1312 &tstate); in ahc_handle_scsiint() 1397 struct ahc_tmode_tstate *tstate; in ahc_force_renegotiation() local 1404 &tstate); in ahc_force_renegotiation() 1405 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_force_renegotiation() 1564 struct ahc_tmode_tstate *tstate; in ahc_alloc_tstate() local [all …]
|
H A D | aic79xx.c | 1030 struct ahd_tmode_tstate *tstate; in ahd_handle_seqint() local 1064 &tstate); in ahd_handle_seqint() 2215 struct ahd_tmode_tstate *tstate; in ahd_handle_nonpkt_busfree() local 2227 devinfo.target, &tstate); in ahd_handle_nonpkt_busfree() 2453 struct ahd_tmode_tstate *tstate; in ahd_force_renegotiation() local 2465 &tstate); in ahd_force_renegotiation() 2466 ahd_update_neg_request(ahd, devinfo, tstate, in ahd_force_renegotiation() 2701 struct ahd_tmode_tstate *tstate; in ahd_alloc_tstate() local 2709 tstate = malloc(sizeof(*tstate), M_DEVBUF, M_WAITOK | M_ZERO); in ahd_alloc_tstate() 2718 memcpy(tstate, master_tstate, sizeof(*tstate)); in ahd_alloc_tstate() [all …]
|
H A D | aic7xxx_inline.h | 245 struct ahc_tmode_tstate **tstate); 291 u_int remote_id, struct ahc_tmode_tstate **tstate) in ahc_fetch_transinfo() argument 303 *tstate = ahc->enabled_targets[our_id]; in ahc_fetch_transinfo() 304 return (&(*tstate)->transinfo[remote_id]); in ahc_fetch_transinfo()
|
H A D | aic79xx_inline.h | 494 u_int remote_id, struct ahd_tmode_tstate **tstate) in ahd_fetch_transinfo() argument 504 *tstate = ahd->enabled_targets[our_id]; in ahd_fetch_transinfo() 505 return (&(*tstate)->transinfo[remote_id]); in ahd_fetch_transinfo()
|
/netbsd-src/usr.sbin/npf/npftest/libnpftest/ |
H A D | npf_test_subr.c | 239 npf_tcpstate_t *tstate = &cstream_state.nst_tcpst[!di]; in npf_test_statetrack() local 250 result[i++] = tstate->nst_end; in npf_test_statetrack() 251 result[i++] = tstate->nst_maxend; in npf_test_statetrack() 252 result[i++] = tstate->nst_maxwin; in npf_test_statetrack() 253 result[i++] = tstate->nst_wscale; in npf_test_statetrack()
|
/netbsd-src/sys/arch/sparc64/sparc64/ |
H A D | trap.c | 437 trap(struct trapframe64 *tf, unsigned int type, vaddr_t pc, long tstate) in trap() argument 444 int pstate = tstate >> TSTATE_PSTATE_SHIFT; in trap() 1030 uint64_t tstate; in data_access_fault() local 1084 tstate = tf->tf_tstate; in data_access_fault() 1090 if (tstate & TSTATE_PRIV) { in data_access_fault() 1128 if (tstate & TSTATE_PRIV) { in data_access_fault() 1203 if (tstate & TSTATE_PRIV) { in data_access_fault() 1269 if ((tstate & TSTATE_PRIV) == 0) { in data_access_fault() 1301 uint64_t tstate; in data_access_error() 1348 tstate in data_access_error() 1294 uint64_t tstate; data_access_error() local 1452 uint64_t tstate; text_access_fault() local 1563 int64_t tstate; text_access_error() local [all...] |
H A D | sunos32_machdep.c | 109 int64_t tstate; in sunos32_setregs() local 133 tstate = ((PSTATE_USER32)<<TSTATE_PSTATE_SHIFT) in sunos32_setregs() 149 tf->tf_tstate = tstate; in sunos32_setregs()
|
H A D | locore.s | 1975 rdpr %tstate, %g4 ! Try to restore prev %cwp if we were executing a restore 2042 set return_from_trap, %g4 ! XXX - need to set %g1 to tstate 2445 rdpr %tstate, %g2 2448 wrpr %g1, %g2, %tstate 2502 rdpr %tstate, %g1 2745 rdpr %tstate, %g1 3411 rdpr %tstate, %g3 3414 rdpr %tstate, %g2 3418 wrpr %g2, %g3, %tstate 3707 wrpr %g4, 0, %tstate [all …]
|
H A D | db_machdep.c | 151 { "tstate", dbreg(tstate), db_sparc_regop, 0 },
|
H A D | netbsd32_machdep.c | 108 int64_t tstate; in netbsd32_setregs() local 131 tstate = ((PSTATE_USER32)<<TSTATE_PSTATE_SHIFT) in netbsd32_setregs() 144 tf->tf_tstate = tstate; in netbsd32_setregs()
|
H A D | db_interface.c | 88 u_int tstate; /* tstate */ member 831 (int)te->tt, (unsigned long long)te->tstate, in db_print_trace_entry()
|
H A D | db_trace.c | 547 i+1, (long)ts[i].tt, (u_long)ts[i].tstate, in db_dump_ts()
|
H A D | machdep.c | 233 int64_t tstate; in setregs() local 270 tstate = ((int64_t)ASI_PRIMARY_NO_FAULT << TSTATE_ASI_SHIFT) | in setregs() 283 tf->tf_tstate = tstate; in setregs()
|
H A D | genassym.cf | 251 define CF_TSTATE offsetof(struct clockframe, tstate)
|
/netbsd-src/bin/ksh/ |
H A D | table.c | 155 struct tstate *ts; in ksh_twalk() 164 struct tstate *ts; in tnext() 215 struct tstate ts;
|
H A D | proto.h | 222 void ksh_twalk ARGS((struct tstate *, struct table *)); 223 struct tbl * tnext ARGS((struct tstate *));
|
H A D | table.h | 132 struct tstate { struct
|
/netbsd-src/sys/arch/sparc64/include/ |
H A D | db_machdep.h | 57 int64_t tstate; member
|
/netbsd-src/usr.bin/spell/spell/ |
H A D | special.netbsd | 1307 tstate
|