| /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 | 237 struct amd64tss **tss) in efi_setup_tss() argument 251 *tss = (struct amd64tss *)tss_pa; in efi_setup_tss() 252 bzero(*tss, sizeof(**tss)); in efi_setup_tss() 274 struct amd64tss *tss; in efi_redirect_exceptions() local 350 if (!efi_setup_tss(gdt_rd, i, &tss)) { in efi_redirect_exceptions() 365 tss = (struct amd64tss *)tss_pa; in efi_redirect_exceptions() 410 (&(tss->tss_ist1))[ist - 1] = exc_stack_pa + EFI_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 | 621 IDTVEC(tss), IDTVEC(missing), IDTVEC(stk), IDTVEC(prot), 1323 setidt(IDT_TS, &IDTVEC(tss), SDT_SYS386IGT, SEL_KPL, in i386_setidt1() 1607 struct i386tss *tss; in machdep_init_trampoline() local 1618 tss = pmap_trm_alloc(sizeof(struct i386tss) * mp_ncpus, in machdep_init_trampoline() 1620 bcopy(&common_tss0, tss, sizeof(struct i386tss)); in machdep_init_trampoline() 1621 gdt[GPROC0_SEL].sd.sd_lobase = (int)tss; in machdep_init_trampoline() 1622 gdt[GPROC0_SEL].sd.sd_hibase = (u_int)tss >> 24; in machdep_init_trampoline() 1628 PCPU_SET(common_tssp, tss); in machdep_init_trampoline() 1637 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 | 1624 struct sockaddr_storage *tss; in inp_get_source_filters() local 1676 tss = NULL; in inp_get_source_filters() 1678 tss = malloc(sizeof(struct sockaddr_storage) * msfr.msfr_nsrcs, in inp_get_source_filters() 1680 if (tss == NULL) { in inp_get_source_filters() 1692 ptss = tss; in inp_get_source_filters() 1699 if (tss != NULL && nsrcs > 0) { in inp_get_source_filters() 1712 if (tss != NULL) { in inp_get_source_filters() 1713 error = copyout(tss, msfr.msfr_srcs, in inp_get_source_filters() 1715 free(tss, M_TEMP); in inp_get_source_filters()
|
| /freebsd/sys/netinet6/ |
| H A D | in6_mcast.c | 1674 struct sockaddr_storage *tss; in in6p_get_source_filters() local 1738 tss = NULL; in in6p_get_source_filters() 1740 tss = malloc(sizeof(struct sockaddr_storage) * msfr.msfr_nsrcs, in in6p_get_source_filters() 1742 if (tss == NULL) { in in6p_get_source_filters() 1754 ptss = tss; in in6p_get_source_filters() 1761 if (tss != NULL && nsrcs > 0) { in in6p_get_source_filters() 1774 if (tss != NULL) { in in6p_get_source_filters() 1775 error = copyout(tss, msfr.msfr_srcs, in in6p_get_source_filters() 1777 free(tss, M_TEMP); in in6p_get_source_filters()
|
| /freebsd/sys/amd64/amd64/ |
| H A D | machdep.c | 509 IDTVEC(tss), IDTVEC(missing), IDTVEC(stk), IDTVEC(prot), 1216 PCPU_SET(tss, (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); in amd64_bsp_pcpu_init1() 1483 setidt(IDT_TS, pti ? &IDTVEC(tss_pti) : &IDTVEC(tss), SDT_SYSIGT, in hammer_time()
|
| H A D | sys_machdep.c | 467 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 | 1938 tss_sd = PCPU_GET(tss); in restore_host_tss()
|