/freebsd/usr.sbin/bhyve/amd64/ |
H A D | task_switch.c | 435 uint32_t eip, struct tss32 *tss, struct iovec *iov) in tss32_save() argument 439 tss->tss_eax = GETREG(vcpu, VM_REG_GUEST_RAX); in tss32_save() 440 tss->tss_ecx = GETREG(vcpu, VM_REG_GUEST_RCX); in tss32_save() 441 tss->tss_edx = GETREG(vcpu, VM_REG_GUEST_RDX); in tss32_save() 442 tss->tss_ebx = GETREG(vcpu, VM_REG_GUEST_RBX); in tss32_save() 443 tss->tss_esp = GETREG(vcpu, VM_REG_GUEST_RSP); in tss32_save() 444 tss->tss_ebp = GETREG(vcpu, VM_REG_GUEST_RBP); in tss32_save() 445 tss->tss_esi = GETREG(vcpu, VM_REG_GUEST_RSI); in tss32_save() 446 tss->tss_edi = GETREG(vcpu, VM_REG_GUEST_RDI); in tss32_save() 449 tss->tss_es = GETREG(vcpu, VM_REG_GUEST_ES); in tss32_save() [all …]
|
/freebsd/tools/regression/sockets/udp_pingpong/ |
H A D | udp_pingpong.c | 73 struct trip_ts tss[2]; member 322 clock_gettime(get_clock_type(tcp), &tcp->test_pkts[pnum].tss[fdidx].sent); in send_pkt() 453 &recv_buf.tss[fdidx].recvd); in recv_pkt() 456 &recv_buf.tss[fdidx].recvd); in recv_pkt() 464 memcpy(tcp->test_pkts[recv_buf.pnum].tss, recv_buf.tss, in recv_pkt() 465 sizeof(recv_buf.tss)); in recv_pkt() 511 timespecsub(&tpp->tss[1].recvd, &tpp->tss[0].sent, &rttp->a2b); in calc_rtt() 512 timespecsub(&tpp->tss[0].recvd, &tpp->tss[1].sent, &rttp->b2a); in calc_rtt() 514 timespecsub(&tpp->tss[0].recvd, &tpp->tss[0].sent, &rttp->e2e); in calc_rtt()
|
/freebsd/stand/efi/loader/arch/amd64/ |
H A D | trap.c | 207 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/tools/tools/so_splice/ |
H A D | proxy.c | 47 struct sockaddr_storage tss; member 300 ts = socket(sc->tss.ss_family, SOCK_STREAM, 0); in eventloop() 304 if (connect(ts, (struct sockaddr *)&sc->tss, in eventloop() 305 sc->tss.ss_len) == -1) in eventloop() 311 tcp_socketpair(ls, sc->tss.ss_family); in eventloop() 391 addrinfo(&sc->tss, taddr); in proxy_init()
|
/freebsd/sys/i386/i386/ |
H A D | machdep.c | 626 IDTVEC(tss), IDTVEC(missing), IDTVEC(stk), IDTVEC(prot), 1328 setidt(IDT_TS, &IDTVEC(tss), SDT_SYS386IGT, SEL_KPL, in i386_setidt1() 1611 struct i386tss *tss; in machdep_init_trampoline() local 1622 tss = pmap_trm_alloc(sizeof(struct i386tss) * mp_ncpus, in machdep_init_trampoline() 1624 bcopy(&common_tss0, tss, sizeof(struct i386tss)); in machdep_init_trampoline() 1625 gdt[GPROC0_SEL].sd.sd_lobase = (int)tss; in machdep_init_trampoline() 1626 gdt[GPROC0_SEL].sd.sd_hibase = (u_int)tss >> 24; in machdep_init_trampoline() 1632 PCPU_SET(common_tssp, tss); in machdep_init_trampoline() 1641 tss[0].tss_esp0 = PCPU_GET(trampstk); in machdep_init_trampoline()
|
H A D | exception.S | 118 IDTVEC(tss)
|
/freebsd/lib/libstdthreads/ |
H A D | Makefile | 6 SRCS= threads.h call_once.c cnd.c mtx.c thrd.c tss.c
|
/freebsd/sys/netinet/ |
H A D | in_mcast.c | 1627 struct sockaddr_storage *tss; in inp_get_source_filters() local 1679 tss = NULL; in inp_get_source_filters() 1681 tss = malloc(sizeof(struct sockaddr_storage) * msfr.msfr_nsrcs, in inp_get_source_filters() 1683 if (tss == NULL) { in inp_get_source_filters() 1695 ptss = tss; in inp_get_source_filters() 1702 if (tss != NULL && nsrcs > 0) { in inp_get_source_filters() 1715 if (tss != NULL) { in inp_get_source_filters() 1716 error = copyout(tss, msfr.msfr_srcs, in inp_get_source_filters() 1718 free(tss, M_TEMP); in inp_get_source_filters()
|
/freebsd/sys/netinet6/ |
H A D | in6_mcast.c | 1670 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/sys/amd64/amd64/ |
H A D | machdep.c | 497 IDTVEC(tss), IDTVEC(missing), IDTVEC(stk), IDTVEC(prot), 1198 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1() 1435 setidt(IDT_TS, pti ? &IDTVEC(tss_pti) : &IDTVEC(tss), SDT_SYSIGT, in hammer_time()
|
H A D | sys_machdep.c | 426 tss_sd = PCPU_GET(tss); in amd64_set_ioperm()
|
H A D | exception.S | 203 TRAP_ERR tss, T_TSSFLT
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | freebsd | 118 # cores start with a struct tss; we take advantage of the following:
|
/freebsd/sys/amd64/vmm/amd/ |
H A D | svm.c | 1922 tss_sd = PCPU_GET(tss); in restore_host_tss()
|