/freebsd-11-stable/usr.sbin/trpt/ |
H A D | trpt.c | 181 register struct tcp_debug *td = &tcp_debug[i]; local 184 if (td->td_tcb == 0) 187 if (tcp_pcbs[j] == td->td_tcb) 190 tcp_pcbs[npcbs++] = td->td_tcb; 224 register struct tcp_debug *td; local 231 td = &tcp_debug[i]; 232 if (tcpcb && td->td_tcb != tcpcb) 234 ntime = ntohl(td->td_time); 236 family = td->td_family; 242 tcp_trace(td [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | trap.c | 92 static int trap_pfault(struct thread *td, struct trapframe *tf); 257 struct thread *td; local 264 td = curthread; 266 CTR4(KTR_TRAP, "trap: %p type=%s (%s) pil=%#lx", td, 273 KASSERT(td != NULL, ("trap: curthread NULL")); 274 KASSERT(td->td_proc != NULL, ("trap: curproc NULL")); 276 p = td->td_proc; 277 td->td_pticks = 0; 278 td->td_frame = tf; 281 if (td 447 trap_pfault(struct thread *td, struct trapframe *tf) argument 546 cpu_fetch_syscall_args(struct thread *td) argument 605 struct thread *td; local [all...] |
H A D | vm_machdep.c | 92 cpu_exit(struct thread *td) argument 96 p = td->td_proc; 105 cpu_thread_exit(struct thread *td) argument 111 cpu_thread_clean(struct thread *td) argument 117 cpu_thread_alloc(struct thread *td) argument 121 pcb = (struct pcb *)((td->td_kstack + td->td_kstack_pages * PAGE_SIZE - 124 td->td_frame = (struct trapframe *)pcb - 1; 125 td->td_pcb = pcb; 129 cpu_thread_free(struct thread *td) argument 135 cpu_thread_swapin(struct thread *td) argument 141 cpu_thread_swapout(struct thread *td) argument 147 cpu_set_syscall_retval(struct thread *td, int error) argument 177 cpu_copy_thread(struct thread *td, struct thread *td0) argument 200 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, stack_t *stack) argument 220 cpu_set_user_tls(struct thread *td, void *tls_base) argument 363 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) argument [all...] |
/freebsd-11-stable/sys/vm/ |
H A D | vm_swapout.c | 169 static void vm_thread_swapout(struct thread *td); 384 struct thread *td; local 433 FOREACH_THREAD_IN_PROC(p, td) { 434 thread_lock(td); 435 if (!TD_ON_RUNQ(td) && 436 !TD_IS_RUNNING(td) && 437 !TD_IS_SLEEPING(td) && 438 !TD_IS_SUSPENDED(td)) { 439 thread_unlock(td); 443 thread_unlock(td); 533 vm_thread_swapout(struct thread *td) argument 560 vm_thread_swapin(struct thread *td, int oom_alloc) argument 601 struct thread *td; local 669 struct thread *td; local 791 struct thread *td; local 876 struct thread *td; local 905 struct thread *td; local [all...] |
H A D | vm_mmap.c | 114 sys_sbrk(struct thread *td, struct sbrk_args *uap) argument 127 sys_sstk(struct thread *td, struct sstk_args *uap) argument 141 ogetpagesize(struct thread *td, struct getpagesize_args *uap) argument 144 td->td_retval[0] = PAGE_SIZE; 176 sys_mmap(struct thread *td, struct mmap_args *uap) argument 179 return (kern_mmap(td, (uintptr_t)uap->addr, uap->len, uap->prot, 184 kern_mmap(struct thread *td, uintptr_t addr0, size_t size, int prot, int flags, argument 188 return (kern_mmap_fpcheck(td, addr0, size, prot, flags, fd, pos, NULL)); 196 kern_mmap_fpcheck(struct thread *td, uintptr_t addr0, size_t size, int prot, argument 207 vms = td 392 freebsd6_mmap(struct thread *td, struct freebsd6_mmap_args *uap) argument 412 ommap(struct thread *td, struct ommap_args *uap) argument 464 sys_msync(struct thread *td, struct msync_args *uap) argument 471 kern_msync(struct thread *td, uintptr_t addr0, size_t size, int flags) argument 517 sys_munmap(struct thread *td, struct munmap_args *uap) argument 524 kern_munmap(struct thread *td, uintptr_t addr0, size_t size) argument 600 sys_mprotect(struct thread *td, struct mprotect_args *uap) argument 607 kern_mprotect(struct thread *td, uintptr_t addr0, size_t size, int prot) argument 647 sys_minherit(struct thread *td, struct minherit_args *uap) argument 683 sys_madvise(struct thread *td, struct madvise_args *uap) argument 690 kern_madvise(struct thread *td, uintptr_t addr0, size_t len, int behav) argument 743 sys_mincore(struct thread *td, struct mincore_args *uap) argument 750 kern_mincore(struct thread *td, uintptr_t addr0, size_t len, char *vec) argument 1000 sys_mlock(struct thread *td, struct mlock_args *uap) argument 1068 sys_mlockall(struct thread *td, struct mlockall_args *uap) argument 1140 sys_munlockall(struct thread *td, struct munlockall_args *uap) argument 1176 sys_munlock(struct thread *td, struct munlock_args *uap) argument 1183 kern_munlock(struct thread *td, uintptr_t addr0, size_t size) argument 1221 vm_mmap_vnode(struct thread *td, vm_size_t objsize, vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, struct vnode *vp, vm_ooffset_t *foffp, vm_object_t *objp, boolean_t *writecounted) argument 1333 vm_mmap_cdev(struct thread *td, vm_size_t objsize, vm_prot_t prot, vm_prot_t *maxprotp, int *flagsp, struct cdev *cdev, struct cdevsw *dsw, vm_ooffset_t *foff, vm_object_t *objp) argument 1401 struct thread *td = curthread; local 1466 vm_mmap_object(vm_map_t map, vm_offset_t *addr, vm_size_t size, vm_prot_t prot, vm_prot_t maxprot, int flags, vm_object_t object, vm_ooffset_t foff, boolean_t writecounted, struct thread *td) argument [all...] |
/freebsd-11-stable/sys/security/audit/ |
H A D | audit.h | 59 void audit_syscall_enter(unsigned short code, struct thread *td); 60 void audit_syscall_exit(int error, struct thread *td); 98 void audit_arg_sockaddr(struct thread *td, int dirfd, struct sockaddr *sa); 102 void audit_arg_upath1(struct thread *td, int dirfd, char *upath); 103 void audit_arg_upath2(struct thread *td, int dirfd, char *upath); 119 void audit_sysclose(struct thread *td, int fd); 125 void audit_proc_coredump(struct thread *td, char *path, int errcode); 126 void audit_thread_alloc(struct thread *td); 127 void audit_thread_free(struct thread *td); 133 #define AUDITING_TD(td) ((t [all...] |
/freebsd-11-stable/sys/amd64/linux/ |
H A D | linux_machdep.c | 94 linux_execve(struct thread *td, struct linux_execve_args *args) argument 100 LCONVPATHEXIST(td, args->path, &path); 108 error = linux_common_execve(td, &eargs); 113 linux_set_upcall_kse(struct thread *td, register_t stack) argument 117 td->td_frame->tf_rsp = stack; 123 td->td_frame->tf_rax = 0; 128 linux_mmap2(struct thread *td, struct linux_mmap2_args *args) argument 131 return (linux_mmap_common(td, PTROUT(args->addr), args->len, args->prot, 136 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) argument 139 return (linux_mprotect_common(td, PTROU 143 linux_iopl(struct thread *td, struct linux_iopl_args *args) argument 162 linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) argument 183 linux_pause(struct thread *td, struct linux_pause_args *args) argument 197 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) argument 228 linux_arch_prctl(struct thread *td, struct linux_arch_prctl_args *args) argument 270 linux_set_cloned_tls(struct thread *td, void *desc) argument [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | trap.c | 185 struct thread *td; local 191 td = curthread; 192 p = td->td_proc; 263 if (td->td_md.md_spinlock_count == 0) 271 td->td_pticks = 0; 272 td->td_frame = frame; 274 if (td->td_cowgen != p->p_cowgen) 275 thread_cow_update(td); 300 PROC_LOCK(td->td_proc); 301 if ((td 695 struct thread *td; local 943 cpu_fetch_syscall_args(struct thread *td) argument 1003 amd64_syscall(struct thread *td, int traced) argument [all...] |
H A D | sys_machdep.c | 95 sysarch_ldt(struct thread *td, struct sysarch_args *uap, int uap_space) argument 116 error = amd64_get_ldt(td, largs); 121 set_pcb_flags(td->td_pcb, PCB_FULL_IRET); 128 error = amd64_set_ldt(td, largs, lp); 131 error = amd64_set_ldt(td, largs, NULL); 139 update_gdt_gsbase(struct thread *td, uint32_t base) argument 143 if (td != curthread) 145 set_pcb_flags(td->td_pcb, PCB_FULL_IRET); 154 update_gdt_fsbase(struct thread *td, uint32_t base) argument 158 if (td ! 169 sysarch(struct thread *td, struct sysarch_args *uap) argument 439 struct thread *td; local 502 user_ldt_free(struct thread *td) argument 555 amd64_get_ldt(struct thread *td, struct i386_ldt_args *uap) argument 590 amd64_set_ldt(struct thread *td, struct i386_ldt_args *uap, struct user_segment_descriptor *descs) argument 738 amd64_set_ldt_data(struct thread *td, int start, int num, struct user_segment_descriptor *descs) argument [all...] |
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_mem.c | 63 cloudabi_sys_mem_advise(struct thread *td, argument 88 return (kern_madvise(td, (uintptr_t)uap->mapping, uap->mapping_len, 93 cloudabi_sys_mem_map(struct thread *td, struct cloudabi_sys_mem_map_args *uap) argument 113 return (kern_mmap(td, (uintptr_t)uap->addr, uap->len, prot, flags, 118 cloudabi_sys_mem_protect(struct thread *td, argument 128 return (kern_mprotect(td, (uintptr_t)uap->mapping, uap->mapping_len, 133 cloudabi_sys_mem_sync(struct thread *td, struct cloudabi_sys_mem_sync_args *uap) argument 151 return (kern_msync(td, (uintptr_t)uap->mapping, uap->mapping_len, 156 cloudabi_sys_mem_unmap(struct thread *td, argument 160 return (kern_munmap(td, (uintptr_ [all...] |
/freebsd-11-stable/sys/arm/arm/ |
H A D | trap-v6.c | 172 call_trapsignal(struct thread *td, int sig, int code, vm_offset_t addr) argument 188 trapsignal(td, &ksi); 252 struct thread *td; local 254 td = curthread; 255 call_trapsignal(td, SIGTRAP, TRAP_BRKPT, far); 256 userret(td, tf); 279 struct thread *td; local 296 td = curthread; 322 td->td_frame = tf; 369 if (__predict_false((td 551 abort_fatal(struct trapframe *tf, u_int idx, u_int fsr, u_int far, u_int prefetch, struct thread *td, struct ksig *ksig) argument 622 abort_align(struct trapframe *tf, u_int idx, u_int fsr, u_int far, u_int prefetch, struct thread *td, struct ksig *ksig) argument 659 abort_icache(struct trapframe *tf, u_int idx, u_int fsr, u_int far, u_int prefetch, struct thread *td, struct ksig *ksig) argument [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | avr32dci.c | 274 avr32dci_setup_rx(struct avr32dci_td *td) argument 282 sc = AVR32_PC2SC(td->pc); 285 temp = AVR32_READ_4(sc, AVR32_EPTSTA(td->ep_no)); 287 DPRINTFN(5, "EPTSTA(%u)=0x%08x\n", td->ep_no, temp); 293 td->did_stall = 0; 298 if (count != td->remainder) { 312 usbd_copy_in(td->pc, 0, &req, sizeof(req)); 314 td->offset = sizeof(req); 315 td->remainder = 0; 330 AVR32_WRITE_4(sc, AVR32_EPTCLRSTA(td 349 avr32dci_data_rx(struct avr32dci_td *td) argument 448 avr32dci_data_tx(struct avr32dci_td *td) argument 523 avr32dci_data_tx_sync(struct avr32dci_td *td) argument 562 struct avr32dci_td *td; local 728 struct avr32dci_td *td; local 753 struct avr32dci_td *td; local 952 struct avr32dci_td *td; local 2011 struct avr32dci_td *td; local [all...] |
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_ipc.c | 179 svr4_semctl(td, v) 180 struct thread *td; 222 error = kern_semctl(td, uap->semid, uap->semnum, cmd, &semun, 229 td->td_retval[0] = rval; 239 return (kern_semctl(td, uap->semid, uap->semnum, cmd, &semun, 240 td->td_retval)); 250 return (kern_semctl(td, uap->semid, uap->semnum, cmd, &uap->arg, 251 td->td_retval)); 262 svr4_semget(td, v) 263 struct thread *td; [all...] |
H A D | svr4_misc.c | 121 svr4_sys_setitimer(td, uap) 122 struct thread *td; 125 td->td_retval[0] = 0; 131 svr4_sys_wait(td, uap) 132 struct thread *td; 137 error = kern_wait(td, WAIT_ANY, &st, 0, NULL); 155 td->td_retval[1] = st; 164 svr4_sys_execv(td, uap) 165 struct thread *td; 173 CHECKALTEXIST(td, ua [all...] |
/freebsd-11-stable/sys/i386/i386/ |
H A D | sys_machdep.c | 76 static int i386_ldt_grow(struct thread *td, int len); 102 set_fsbase(struct thread *td, uint32_t base) argument 108 td->td_pcb->pcb_fsd = sd; 114 set_gsbase(struct thread *td, uint32_t base) argument 120 td->td_pcb->pcb_gsd = sd; 133 sysarch(struct thread *td, struct sysarch_args *uap) argument 153 if (IN_CAPABILITY_MODE(td)) { 168 if (KTRPOINT(td, KTR_CAPFAIL)) 200 error = i386_get_ldt(td, &kargs.largs); 211 error = i386_set_ldt(td, 279 i386_extend_pcb(struct thread *td) argument 483 user_ldt_free(struct thread *td) argument 525 i386_get_ldt(struct thread *td, struct i386_ldt_args *uap) argument 559 i386_set_ldt(struct thread *td, struct i386_ldt_args *uap, union descriptor *descs) argument 710 i386_set_ldt_data(struct thread *td, int start, int num, union descriptor *descs) argument 736 i386_ldt_grow(struct thread *td, int len) argument [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | kern_sig.c | 106 static int killpg1(struct thread *td, int sig, int pgid, int all, 108 static int issignal(struct thread *td); 587 * Determine signal that should be delivered to thread td, the current 592 cursig(struct thread *td) argument 594 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); 595 mtx_assert(&td->td_proc->p_sigacts->ps_mtx, MA_OWNED); 596 THREAD_LOCK_ASSERT(td, MA_NOTOWNED); 597 return (SIGPENDING(td) ? issignal(td) : 0); 606 signotify(struct thread *td) argument 629 struct thread *td; local 683 kern_sigaction(struct thread *td, int sig, const struct sigaction *act, struct sigaction *oact, int flags) argument 835 sys_sigaction(struct thread *td, struct sigaction_args *uap) argument 863 freebsd4_sigaction(struct thread *td, struct freebsd4_sigaction_args *uap) argument 893 osigaction(struct thread *td, struct osigaction_args *uap) argument 927 osigreturn(struct thread *td, struct osigreturn_args *uap) argument 981 struct thread *td; local 1035 kern_sigprocmask(struct thread *td, int how, sigset_t *set, sigset_t *oset, int flags) argument 1109 sys_sigprocmask(struct thread *td, struct sigprocmask_args *uap) argument 1137 osigprocmask(struct thread *td, struct osigprocmask_args *uap) argument 1150 sys_sigwait(struct thread *td, struct sigwait_args *uap) argument 1178 sys_sigtimedwait(struct thread *td, struct sigtimedwait_args *uap) argument 1212 sys_sigwaitinfo(struct thread *td, struct sigwaitinfo_args *uap) argument 1235 proc_td_siginfo_capture(struct thread *td, siginfo_t *si) argument 1248 kern_sigtimedwait(struct thread *td, sigset_t waitset, ksiginfo_t *ksi, struct timespec *timeout) argument 1387 sys_sigpending(struct thread *td, struct sigpending_args *uap) argument 1406 osigpending(struct thread *td, struct osigpending_args *uap) argument 1433 osigvec(struct thread *td, struct osigvec_args *uap) argument 1471 osigblock(struct thread *td, struct osigblock_args *uap) argument 1487 osigsetmask(struct thread *td, struct osigsetmask_args *uap) argument 1509 sys_sigsuspend(struct thread *td, struct sigsuspend_args *uap) argument 1521 kern_sigsuspend(struct thread *td, sigset_t mask) argument 1583 osigsuspend(struct thread *td, struct osigsuspend_args *uap) argument 1601 osigstack(struct thread *td, struct osigstack_args *uap) argument 1634 sys_sigaltstack(struct thread *td, struct sigaltstack_args *uap) argument 1654 kern_sigaltstack(struct thread *td, stack_t *ss, stack_t *oss) argument 1690 killpg1(struct thread *td, int sig, int pgid, int all, ksiginfo_t *ksi) argument 1767 sys_kill(struct thread *td, struct kill_args *uap) argument 1817 sys_pdkill(struct thread *td, struct pdkill_args *uap) argument 1849 okillpg(struct thread *td, struct okillpg_args *uap) argument 1875 sys_sigqueue(struct thread *td, struct sigqueue_args *uap) argument 1885 kern_sigqueue(struct thread *td, pid_t pid, int signum, union sigval *value) argument 1968 postsig_done(int sig, struct thread *td, struct sigacts *ps) argument 1990 trapsignal(struct thread *td, ksiginfo_t *ksi) argument 2041 struct thread *td, *signal_td; local 2102 struct thread *td; local 2117 tdsignal(struct thread *td, int sig) argument 2128 tdksignal(struct thread *td, int sig, ksiginfo_t *ksi) argument 2135 tdsendsignal(struct proc *p, struct thread *td, int sig, ksiginfo_t *ksi) argument 2422 tdsigwakeup(struct thread *td, int sig, sig_t action, int intrval) argument 2503 sig_suspend_threads(struct thread *td, struct proc *p, int sending) argument 2554 ptracestop(struct thread *td, int sig, ksiginfo_t *si) argument 2670 struct thread *td; local 2698 tdsigcleanup(struct thread *td) argument 2746 struct thread *td; local 2788 struct thread *td; local 2816 issignal(struct thread *td) argument 3039 struct thread *td; local 3157 sigexit(struct thread *td, int sig) argument 3346 vnode_close_locked(struct thread *td, struct vnode *vp) argument 3361 corefile_open_last(struct thread *td, char *name, int indexpos, struct vnode **vpp) argument 3446 corefile_open(const char *comm, uid_t uid, pid_t pid, struct thread *td, int compress, struct vnode **vpp, char **namep) argument 3580 coredump(struct thread *td) argument 3721 nosys(struct thread *td, struct nosys_args *args) argument [all...] |
H A D | kern_clock.c | 187 struct thread *td; local 216 FOREACH_THREAD_IN_PROC(p, td) { 218 thread_lock(td); 219 if (TD_ON_LOCK(td)) { 226 MPASS(td->td_blocked != NULL); 228 tticks = ticks - td->td_blktick; 229 thread_unlock(td); 241 __func__, td, tticks); 243 } else if (TD_IS_SLEEPING(td) && 244 TD_ON_SLEEPQ(td)) { 435 struct thread *td = curthread; local 501 struct thread *td = curthread; local 706 struct thread *td; local 784 struct thread *td; local [all...] |
H A D | kern_xxx.c | 61 ogethostname(struct thread *td, struct gethostname_args *uap) argument 68 return (userland_sysctl(td, name, 2, uap->hostname, &len, 80 osethostname(struct thread *td, struct sethostname_args *uap) argument 86 return (userland_sysctl(td, name, 2, 0, 0, 0, uap->hostname, 97 ogethostid(struct thread *td, struct ogethostid_args *uap) argument 104 return (kernel_sysctl(td, name, 2, (long *)td->td_retval, &len, 117 osethostid(struct thread *td, struct osethostid_args *uap) argument 123 return (kernel_sysctl(td, name, 2, NULL, NULL, &uap->hostid, 128 oquota(struct thread *td, struc argument 199 ogetkerninfo(struct thread *td, struct getkerninfo_args *uap) argument 357 freebsd4_uname(struct thread *td, struct freebsd4_uname_args *uap) argument 431 freebsd4_getdomainname(struct thread *td, struct freebsd4_getdomainname_args *uap) argument 451 freebsd4_setdomainname(struct thread *td, struct freebsd4_setdomainname_args *uap) argument [all...] |
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_mmap.c | 62 static void linux_fixup_prot(struct thread *td, int *prot); 77 linux_mmap_common(struct thread *td, uintptr_t addr, size_t len, int prot, argument 80 struct proc *p = td->td_proc; 81 struct vmspace *vms = td->td_proc->p_vmspace; 125 linux_fixup_prot(td, &prot); 199 error = kern_mmap_fpcheck(td, addr, len, prot, 206 error = kern_mmap_fpcheck(td, addr, len, prot, bsd_flags, fd, pos, 209 LINUX_CTR2(mmap2, "return: %d (%p)", error, td->td_retval[0]); 215 linux_mprotect_common(struct thread *td, uintptr_t addr, size_t len, int prot) argument 224 linux_fixup_prot(td, 231 linux_fixup_prot(struct thread *td, int *prot) argument [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | trap.c | 90 static int fix_unaligned(struct thread *td, struct trapframe *frame); 161 struct thread *td; local 172 td = curthread; 173 p = td->td_proc; 179 CTR3(KTR_TRAP, "trap: %s type=%s (%s)", td->td_name, 200 td->td_pticks = 0; 201 td->td_frame = frame; 202 if (td->td_cowgen != p->p_cowgen) 203 thread_cow_update(td); 236 KASSERT((td 472 struct thread *td; local 492 cpu_fetch_syscall_args(struct thread *td) argument 584 struct thread *td; local 687 struct thread *td; local 759 fix_unaligned(struct thread *td, struct trapframe *frame) argument [all...] |
H A D | interrupt.c | 79 struct thread *td; local 83 td = curthread; 96 atomic_add_int(&td->td_intr_nesting_level, 1); 97 oldframe = td->td_intr_frame; 98 td->td_intr_frame = framep; 100 td->td_intr_frame = oldframe; 101 atomic_subtract_int(&td->td_intr_nesting_level, 1);
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | proc.h | 69 kthread_t *td = NULL; local 80 error = kproc_kthread_add(proc, arg, &zfsproc, &td, RFSTOPPED, 83 thread_lock(td); 84 sched_prio(td, pri); 85 sched_add(td, SRQ_BORING); 86 thread_unlock(td); 88 return (td);
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_stat.c | 108 ibcs2_statfs(td, uap) 109 struct thread *td; 116 CHECKALTEXIST(td, uap->path, &path); 118 error = kern_statfs(td, path, UIO_SYSSPACE, sf); 127 ibcs2_fstatfs(td, uap) 128 struct thread *td; 135 error = kern_fstatfs(td, uap->fd, sf); 143 ibcs2_stat(td, uap) 144 struct thread *td; 152 CHECKALTEXIST(td, ua [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | filedesc.h | 150 #define falloc(td, resultfp, resultfd, flags) \ 151 falloc_caps(td, resultfp, resultfd, flags, NULL) 161 int closef(struct file *fp, struct thread *td); 162 int dupfdopen(struct thread *td, struct filedesc *fdp, int dfd, int mode, 164 int falloc_caps(struct thread *td, struct file **resultfp, int *resultfd, 166 int falloc_noinstall(struct thread *td, struct file **resultfp); 169 int finstall(struct thread *td, struct file *fp, int *resultfd, int flags, 171 int fdalloc(struct thread *td, int minfd, int *result); 172 int fdallocn(struct thread *td, int minfd, int *fds, int n); 173 int fdcheckstd(struct thread *td); [all...] |
/freebsd-11-stable/sys/amd64/ia32/ |
H A D | ia32_signal.c | 92 ia32_get_fpcontext(struct thread *td, struct ia32_mcontext *mcp, argument 103 mcp->mc_ownedfp = fpugetregs(td); 104 bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate[0], 117 bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len); 121 ia32_set_fpcontext(struct thread *td, struct ia32_mcontext *mcp, argument 132 fpstate_drop(td); 136 error = fpusetregs(td, (struct savefpu *)&mcp->mc_fpstate, 147 ia32_get_mcontext(struct thread *td, struct ia32_mcontext *mcp, int flags) argument 152 pcb = td->td_pcb; 153 tp = td 200 ia32_set_mcontext(struct thread *td, struct ia32_mcontext *mcp) argument 255 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) argument 275 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) argument 296 freebsd32_swapcontext(struct thread *td, struct freebsd32_swapcontext_args *uap) argument 341 struct thread *td; local 442 struct thread *td; local 553 struct thread *td; local 701 ofreebsd32_sigreturn(struct thread *td, struct ofreebsd32_sigreturn_args *uap) argument 940 ia32_setregs(struct thread *td, struct image_params *imgp, u_long stack) argument [all...] |