Home
last modified time | relevance | path

Searched refs:tss (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dtask_switch.c460 tss->tss_eflags &= ~PSL_NT; in tss32_save()
461 tss->tss_eip = eip; in tss32_save()
464 vm_copyout(tss, iov, sizeof(struct tss32)); in tss32_save()
491 tss->tss_link = ot_sel; in tss32_restore()
495 eflags = tss->tss_eflags; in tss32_restore()
530 ts->paging.cr3 = tss->tss_cr3; in tss32_restore()
548 SETREG(vcpu, VM_REG_GUEST_ES, tss->tss_es); in tss32_restore()
549 SETREG(vcpu, VM_REG_GUEST_CS, tss->tss_cs); in tss32_restore()
550 SETREG(vcpu, VM_REG_GUEST_SS, tss->tss_ss); in tss32_restore()
551 SETREG(vcpu, VM_REG_GUEST_DS, tss->tss_ds); in tss32_restore()
[all …]
/freebsd-14.2/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c74 struct trip_ts tss[2]; member
323 clock_gettime(get_clock_type(tcp), &tcp->test_pkts[pnum].tss[fdidx].sent); in send_pkt()
454 &recv_buf.tss[fdidx].recvd); in recv_pkt()
457 &recv_buf.tss[fdidx].recvd); in recv_pkt()
465 memcpy(tcp->test_pkts[recv_buf.pnum].tss, recv_buf.tss, in recv_pkt()
466 sizeof(recv_buf.tss)); in recv_pkt()
512 timespecsub(&tpp->tss[1].recvd, &tpp->tss[0].sent, &rttp->a2b); in calc_rtt()
513 timespecsub(&tpp->tss[0].recvd, &tpp->tss[1].sent, &rttp->b2a); in calc_rtt()
515 timespecsub(&tpp->tss[0].recvd, &tpp->tss[0].sent, &rttp->e2e); in calc_rtt()
/freebsd-14.2/stand/efi/loader/arch/amd64/
H A Dtrap.c207 struct amd64tss **tss) in efi_setup_tss() argument
221 *tss = (struct amd64tss *)tss_pa; in efi_setup_tss()
222 bzero(*tss, sizeof(**tss)); in efi_setup_tss()
244 struct amd64tss *tss; in efi_redirect_exceptions() local
319 if (!efi_setup_tss(gdt_rd, i, &tss)) { in efi_redirect_exceptions()
334 tss = (struct amd64tss *)tss_pa; in efi_redirect_exceptions()
379 (&(tss->tss_ist1))[ist - 1] = exc_stack_pa + PAGE_SIZE; in efi_redirect_exceptions()
/freebsd-14.2/sys/i386/i386/
H A Dmachdep.c628 IDTVEC(tss), IDTVEC(missing), IDTVEC(stk), IDTVEC(prot),
1333 setidt(IDT_TS, &IDTVEC(tss), SDT_SYS386IGT, SEL_KPL, in i386_setidt1()
1616 struct i386tss *tss; in machdep_init_trampoline() local
1627 tss = pmap_trm_alloc(sizeof(struct i386tss) * mp_ncpus, in machdep_init_trampoline()
1629 bcopy(&common_tss0, tss, sizeof(struct i386tss)); in machdep_init_trampoline()
1630 gdt[GPROC0_SEL].sd.sd_lobase = (int)tss; in machdep_init_trampoline()
1631 gdt[GPROC0_SEL].sd.sd_hibase = (u_int)tss >> 24; in machdep_init_trampoline()
1637 PCPU_SET(common_tssp, tss); in machdep_init_trampoline()
1646 tss[0].tss_esp0 = PCPU_GET(trampstk); in machdep_init_trampoline()
H A Dexception.S118 IDTVEC(tss)
/freebsd-14.2/lib/libstdthreads/
H A DMakefile7 SRCS= threads.h call_once.c cnd.c mtx.c thrd.c tss.c
/freebsd-14.2/sys/netinet/
H A Din_mcast.c1628 struct sockaddr_storage *tss; in inp_get_source_filters() local
1680 tss = NULL; in inp_get_source_filters()
1682 tss = malloc(sizeof(struct sockaddr_storage) * msfr.msfr_nsrcs, in inp_get_source_filters()
1684 if (tss == NULL) { in inp_get_source_filters()
1696 ptss = tss; in inp_get_source_filters()
1703 if (tss != NULL && nsrcs > 0) { in inp_get_source_filters()
1716 if (tss != NULL) { in inp_get_source_filters()
1717 error = copyout(tss, msfr.msfr_srcs, in inp_get_source_filters()
1719 free(tss, M_TEMP); in inp_get_source_filters()
/freebsd-14.2/sys/netinet6/
H A Din6_mcast.c1670 struct sockaddr_storage *tss; in in6p_get_source_filters() local
1734 tss = NULL; in in6p_get_source_filters()
1736 tss = malloc(sizeof(struct sockaddr_storage) * msfr.msfr_nsrcs, in in6p_get_source_filters()
1738 if (tss == NULL) { in in6p_get_source_filters()
1750 ptss = tss; in in6p_get_source_filters()
1757 if (tss != NULL && nsrcs > 0) { in in6p_get_source_filters()
1770 if (tss != NULL) { in in6p_get_source_filters()
1771 error = copyout(tss, msfr.msfr_srcs, in in6p_get_source_filters()
1773 free(tss, M_TEMP); in in6p_get_source_filters()
/freebsd-14.2/sys/amd64/amd64/
H A Dmachdep.c498 IDTVEC(tss), IDTVEC(missing), IDTVEC(stk), IDTVEC(prot),
1202 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1()
1439 setidt(IDT_TS, pti ? &IDTVEC(tss_pti) : &IDTVEC(tss), SDT_SYSIGT, in hammer_time()
H A Dsys_machdep.c428 tss_sd = PCPU_GET(tss); in amd64_set_ioperm()
H A Dexception.S203 TRAP_ERR tss, T_TSSFLT
/freebsd-14.2/contrib/file/magic/Magdir/
H A Dfreebsd118 # cores start with a struct tss; we take advantage of the following:
/freebsd-14.2/sys/amd64/vmm/amd/
H A Dsvm.c1913 tss_sd = PCPU_GET(tss); in restore_host_tss()