/freebsd-11-stable/sys/kern/ |
H A D | ksched.c | 106 getscheduler(struct ksched *ksched, struct thread *td, int *policy) argument 112 pri_to_rtp(td, &rtp); 129 struct thread *td, const struct sched_param *param) 133 e = getscheduler(ksched, td, &policy); 135 e = ksched_setscheduler(ksched, td, policy, param); 140 ksched_getparam(struct ksched *ksched, struct thread *td, argument 145 pri_to_rtp(td, &rtp); 170 ksched_setscheduler(struct ksched *ksched, struct thread *td, int policy, argument 185 rtp_to_pri(&rtp, td); 195 rtp_to_pri(&rtp, td); 128 ksched_setparam(struct ksched *ksched, struct thread *td, const struct sched_param *param) argument 208 ksched_getscheduler(struct ksched *ksched, struct thread *td, int *policy) argument 266 ksched_rr_get_interval(struct ksched *ksched, struct thread *td, struct timespec *timespec) argument [all...] |
H A D | kern_fork.c | 104 sys_fork(struct thread *td, struct fork_args *uap) argument 112 error = fork1(td, &fr); 114 td->td_retval[0] = pid; 115 td->td_retval[1] = 0; 122 sys_pdfork(struct thread *td, struct pdfork_args *uap) argument 137 error = fork1(td, &fr); 139 td->td_retval[0] = pid; 140 td->td_retval[1] = 0; 148 sys_vfork(struct thread *td, struct vfork_args *uap) argument 156 error = fork1(td, 165 sys_rfork(struct thread *td, struct rfork_args *uap) argument 345 fork_norfproc(struct thread *td, int flags) argument 395 do_fork(struct thread *td, struct fork_req *fr, struct proc *p2, struct thread *td2, struct vmspace *vm2, struct file *fp_procdesc) argument 834 fork1(struct thread *td, struct fork_req *fr) argument 1058 struct thread *td; local 1111 fork_return(struct thread *td, struct trapframe *frame) argument [all...] |
H A D | kern_ktrace.c | 148 static struct ktr_request *ktr_getrequest_entered(struct thread *td, int type); 150 static void ktr_submitrequest(struct thread *td, struct ktr_request *req); 155 static void ktr_writerequest(struct thread *td, struct ktr_request *req); 168 ktrace_enter(struct thread *td) argument 171 KASSERT(!(td->td_pflags & TDP_INKTRACE), ("ktrace_enter: flag set")); 172 td->td_pflags |= TDP_INKTRACE; 176 ktrace_exit(struct thread *td) argument 179 KASSERT(td->td_pflags & TDP_INKTRACE, ("ktrace_exit: flag not set")); 180 td->td_pflags &= ~TDP_INKTRACE; 184 ktrace_assert(struct thread *td) argument 209 struct thread *td; local 281 ktr_getrequest_entered(struct thread *td, int type) argument 322 struct thread *td = curthread; local 340 ktr_enqueuerequest(struct thread *td, struct ktr_request *req) argument 356 ktr_drain(struct thread *td) argument 385 ktr_submitrequest(struct thread *td, struct ktr_request *req) argument 506 ktrprocexit(struct thread *td) argument 537 ktrprocctor_entered(struct thread *td, struct proc *p) argument 556 struct thread *td = curthread; local 601 ktruserret(struct thread *td) argument 707 struct thread *td = curthread; local 726 struct thread *td = curthread; local 817 struct thread *td = curthread; local 841 struct thread *td = curthread; local 858 struct thread *td = curthread; local 884 sys_ktrace(struct thread *td, struct ktrace_args *uap) argument 1027 sys_utrace(struct thread *td, struct utrace_args *uap) argument 1061 ktrops(struct thread *td, struct proc *p, int ops, int facs, struct vnode *vp) argument 1112 ktrsetchildren(struct thread *td, struct proc *top, int ops, int facs, struct vnode *vp) argument 1145 ktr_writerequest(struct thread *td, struct ktr_request *req) argument 1276 ktrcanset(struct thread *td, struct proc *targetp) argument [all...] |
H A D | kern_procctl.c | 47 protect_setchild(struct thread *td, struct proc *p, int flags) argument 51 if (p->p_flag & P_SYSTEM || p_cansched(td, p) != 0) 65 protect_setchildren(struct thread *td, struct proc *top, int flags) argument 74 ret |= protect_setchild(td, p, flags); 99 protect_set(struct thread *td, struct proc *p, int flags) argument 114 error = priv_check(td, PRIV_VM_MADV_PROTECT); 119 ret = protect_setchildren(td, p, flags); 121 ret = protect_setchild(td, p, flags); 128 reap_acquire(struct thread *td, struct proc *p) argument 145 reap_release(struct thread *td, struc argument 160 reap_status(struct thread *td, struct proc *p, struct procctl_reaper_status *rs) argument 195 reap_getpids(struct thread *td, struct proc *p, struct procctl_reaper_pids *rp) argument 237 reap_kill_proc(struct thread *td, struct proc *p2, ksiginfo_t *ksi, struct procctl_reaper_kill *rk, int *error) argument 273 reap_kill(struct thread *td, struct proc *p, struct procctl_reaper_kill *rk) argument 333 trace_ctl(struct thread *td, struct proc *p, int state) argument 373 trace_status(struct thread *td, struct proc *p, int *data) argument 389 trapcap_ctl(struct thread *td, struct proc *p, int state) argument 408 trapcap_status(struct thread *td, struct proc *p, int *data) argument 417 stackgap_ctl(struct thread *td, struct proc *p, int state) argument 454 stackgap_status(struct thread *td, struct proc *p, int *data) argument 475 sys_procctl(struct thread *td, struct procctl_args *uap) argument 559 kern_procctl_single(struct thread *td, struct proc *p, int com, void *data) argument 594 kern_procctl(struct thread *td, idtype_t idtype, id_t id, int com, void *data) argument [all...] |
/freebsd-11-stable/sys/fs/unionfs/ |
H A D | union.h | 109 int unionfs_nodeget(struct mount *mp, struct vnode *uppervp, struct vnode *lowervp, struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct thread *td); 110 void unionfs_noderem(struct vnode *vp, struct thread *td); 111 void unionfs_get_node_status(struct unionfs_node *unp, struct thread *td, struct unionfs_node_status **unspp); 114 int unionfs_check_rmdir(struct vnode *vp, struct ucred *cred, struct thread *td); 115 int unionfs_copyfile(struct unionfs_node *unp, int docopy, struct ucred *cred, struct thread *td); 116 void unionfs_create_uppervattr_core(struct unionfs_mount *ump, struct vattr *lva, struct vattr *uva, struct thread *td); 117 int unionfs_create_uppervattr(struct unionfs_mount *ump, struct vnode *lvp, struct vattr *uva, struct ucred *cred, struct thread *td); 118 int unionfs_mkshadowdir(struct unionfs_mount *ump, struct vnode *duvp, struct unionfs_node *unp, struct componentname *cnp, struct thread *td); 119 int unionfs_mkwhiteout(struct vnode *dvp, struct componentname *cnp, struct thread *td, char *path); 120 int unionfs_relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct componentname *cn, struct thread *td, cha [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_vfsops.c | 101 struct thread *td; 104 td = curthread; 111 id = td->td_ucred->cr_ruid; 115 id = td->td_ucred->cr_rgid; 132 error = quotaon(td, mp, type, arg); 139 error = quotaoff(td, mp, type); 144 error = setquota32(td, mp, id, type, arg); 148 error = setuse32(td, mp, id, type, arg); 152 error = getquota32(td, mp, id, type, arg); 156 error = setquota(td, m [all...] |
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | machdep.c | 162 fill_regs(struct thread *td, struct reg *regs) argument 166 frame = td->td_frame; 182 set_regs(struct thread *td, struct reg *regs) argument 186 frame = td->td_frame; 202 fill_fpregs(struct thread *td, struct fpreg *regs) argument 211 set_fpregs(struct thread *td, struct fpreg *regs) argument 219 fill_dbregs(struct thread *td, struct dbreg *regs) argument 226 set_dbregs(struct thread *td, struct dbreg *regs) argument 233 ptrace_set_pc(struct thread *td, u_long addr) argument 241 ptrace_single_step(struct thread *td) argument 249 ptrace_clear_single_step(struct thread *td) argument 257 exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) argument 291 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) argument 315 set_mcontext(struct thread *td, mcontext_t *mcp) argument 336 get_fpcontext(struct thread *td, mcontext_t *mcp) argument 342 set_fpcontext(struct thread *td, mcontext_t *mcp) argument 397 struct thread *td; local 411 struct thread *td; local 429 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) argument 490 struct thread *td; local [all...] |
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_proc.c | 46 cloudabi_sys_proc_exec(struct thread *td, argument 53 error = pre_execve(td, &oldvmspace); 56 error = exec_copyin_data_fds(td, &args, uap->data, uap->data_len, 60 error = kern_execve(td, &args, NULL, oldvmspace); 62 post_execve(td, error, oldvmspace); 67 cloudabi_sys_proc_exit(struct thread *td, argument 71 exit1(td, uap->rval, 0); 76 cloudabi_sys_proc_fork(struct thread *td, argument 88 error = fork1(td, &fr); 92 td 97 cloudabi_sys_proc_raise(struct thread *td, struct cloudabi_sys_proc_raise_args *uap) argument [all...] |
H A D | cloudabi_fd.c | 81 cloudabi_sys_fd_close(struct thread *td, struct cloudabi_sys_fd_close_args *uap) argument 84 return (kern_close(td, uap->fd)); 88 cloudabi_sys_fd_create1(struct thread *td, argument 97 return (kern_shm_open(td, SHM_ANON, O_RDWR | O_CLOEXEC, 0, 105 cloudabi_sys_fd_create2(struct thread *td, argument 122 error = kern_socketpair(td, AF_UNIX, type, 0, fds); 124 td->td_retval[0] = fds[0]; 125 td->td_retval[1] = fds[1]; 131 cloudabi_sys_fd_datasync(struct thread *td, argument 135 return (kern_fsync(td, ua 139 cloudabi_sys_fd_dup(struct thread *td, struct cloudabi_sys_fd_dup_args *uap) argument 146 cloudabi_sys_fd_replace(struct thread *td, struct cloudabi_sys_fd_replace_args *uap) argument 169 cloudabi_sys_fd_seek(struct thread *td, struct cloudabi_sys_fd_seek_args *uap) argument 383 cloudabi_sys_fd_stat_get(struct thread *td, struct cloudabi_sys_fd_stat_get_args *uap) argument 448 cloudabi_sys_fd_stat_put(struct thread *td, struct cloudabi_sys_fd_stat_put_args *uap) argument 482 cloudabi_sys_fd_sync(struct thread *td, struct cloudabi_sys_fd_sync_args *uap) argument [all...] |
H A D | cloudabi_file.c | 103 cloudabi_sys_file_advise(struct thread *td, argument 131 return (kern_posix_fadvise(td, uap->fd, uap->offset, uap->len, advice)); 135 cloudabi_sys_file_allocate(struct thread *td, argument 139 return (kern_posix_fallocate(td, uap->fd, uap->offset, uap->len)); 143 cloudabi_sys_file_create(struct thread *td, argument 160 error = kern_mkdirat(td, uap->fd, path, UIO_SYSSPACE, 0777); 171 cloudabi_sys_file_link(struct thread *td, argument 186 error = kern_linkat(td, uap->fd1.fd, uap->fd2, path1, path2, 195 cloudabi_sys_file_open(struct thread *td, argument 255 error = falloc_noinstall(td, 375 cloudabi_sys_file_readdir(struct thread *td, struct cloudabi_sys_file_readdir_args *uap) argument 499 cloudabi_sys_file_readlink(struct thread *td, struct cloudabi_sys_file_readlink_args *uap) argument 516 cloudabi_sys_file_rename(struct thread *td, struct cloudabi_sys_file_rename_args *uap) argument 556 cloudabi_sys_file_stat_fget(struct thread *td, struct cloudabi_sys_file_stat_fget_args *uap) argument 610 cloudabi_sys_file_stat_fput(struct thread *td, struct cloudabi_sys_file_stat_fput_args *uap) argument 645 cloudabi_sys_file_stat_get(struct thread *td, struct cloudabi_sys_file_stat_get_args *uap) argument 687 cloudabi_sys_file_stat_put(struct thread *td, struct cloudabi_sys_file_stat_put_args *uap) argument 720 cloudabi_sys_file_symlink(struct thread *td, struct cloudabi_sys_file_symlink_args *uap) argument 742 cloudabi_sys_file_unlink(struct thread *td, struct cloudabi_sys_file_unlink_args *uap) argument [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_kthread.c | 130 linux_kthread_setup_and_run(struct thread *td, linux_task_fn_t *task_fn, void *arg) argument 134 linux_set_current(td); 136 task = td->td_lkpi_task; 140 thread_lock(td); 142 sched_prio(td, PI_SWI(SWI_NET)); 144 sched_add(td, SRQ_BORING); 145 thread_unlock(td); 159 struct thread *td = curthread; local 162 td->td_lkpi_task = NULL;
|
/freebsd-11-stable/sys/dev/aac/ |
H A D | aac_linux.c | 76 aac_linux_ioctl(struct thread *td, struct linux_ioctl_args *args) argument 83 error = fget(td, args->fd, cap_rights_init(&rights, CAP_IOCTL), &fp); 91 error = (fo_ioctl(fp, cmd, (caddr_t)args->arg, td->td_ucred, td)); 92 fdrop(fp, td);
|
/freebsd-11-stable/sys/dev/aacraid/ |
H A D | aacraid_linux.c | 80 aacraid_linux_ioctl(struct thread *td, struct linux_ioctl_args *args) argument 89 if ((error = fget(td, args->fd, 101 error = (fo_ioctl(fp, cmd, (caddr_t)args->arg, td->td_ucred, td)); 102 fdrop(fp, td);
|
/freebsd-11-stable/sys/amd64/ia32/ |
H A D | ia32_misc.c | 49 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) argument 65 return (sysarch_ldt(td, &uap1, UIO_SYSSPACE)); 69 return (sysarch(td, &uap1)); 75 ofreebsd32_getpagesize(struct thread *td, argument 79 td->td_retval[0] = IA32_PAGE_SIZE;
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | stack_machdep.c | 88 stack_save_td(struct stack *st, struct thread *td) argument 92 if (TD_IS_SWAPPED(td)) 94 if (TD_IS_RUNNING(td)) 97 frame = td->td_pcb->pcb_sp; 102 stack_save_td_running(struct stack *st, struct thread *td) argument
|
/freebsd-11-stable/sys/sys/ |
H A D | protosw.h | 189 int (*pru_attach)(struct socket *so, int proto, struct thread *td); 191 struct thread *td); 193 struct thread *td); 196 struct ifnet *ifp, struct thread *td); 200 struct thread *td); 206 struct thread *td); 218 int flags, struct thread *td); 223 struct ucred *cred, struct thread *td); 227 struct thread *td); 229 struct sockaddr *nam, struct thread *td); [all...] |
/freebsd-11-stable/sys/dev/tdfx/ |
H A D | tdfx_linux.c | 46 linux_ioctl_tdfx(struct thread *td, struct linux_ioctl_args* args) argument 58 error = fget(td, args->fd, cap_rights_init(&rights, CAP_IOCTL), &fp); 63 error = fo_ioctl(fp, cmd, (caddr_t)&d_pio, td->td_ucred, td); 64 fdrop(fp, td);
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_xenix.c | 64 ibcs2_xenix(struct thread *td, struct ibcs2_xenix_args *uap) argument 66 struct trapframe *tf = td->td_frame; 75 error = ((*callp->sy_call)(td, (void *)uap)); 82 xenix_rdchk(td, uap) 83 struct thread *td; 90 error = kern_ioctl(td, uap->fd, FIONREAD, (caddr_t)&data); 93 td->td_retval[0] = data ? 1 : 0; 98 xenix_chsize(td, uap) 99 struct thread *td; 107 return sys_ftruncate(td, 136 xenix_nap(struct thread *td, struct xenix_nap_args *uap) argument 148 xenix_utsname(struct thread *td, struct xenix_utsname_args *uap) argument 191 xenix_scoinfo(struct thread *td, struct xenix_scoinfo_args *uap) argument 199 xenix_eaccess(struct thread *td, struct xenix_eaccess_args *uap) argument [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | stack_machdep.c | 74 stack_save_td(struct stack *st, struct thread *td) argument 77 if (TD_IS_SWAPPED(td)) 79 if (TD_IS_RUNNING(td)) 82 stack_capture(st, (struct frame *)(td->td_pcb->pcb_sp + SPOFF)); 86 stack_save_td_running(struct stack *st, struct thread *td) argument
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_ioctl.c | 200 linux_ioctl_hdio(struct thread *td, struct linux_ioctl_args *args) argument 208 error = fget(td, args->fd, cap_rights_init(&rights, CAP_IOCTL), &fp); 215 (caddr_t)&mediasize, td->td_ucred, td); 218 (caddr_t)§orsize, td->td_ucred, td); 221 (caddr_t)&fwheads, td->td_ucred, td); 224 (caddr_t)&fwsectors, td->td_ucred, td); 284 linux_ioctl_disk(struct thread *td, struct linux_ioctl_args *args) argument 721 linux_ioctl_termio(struct thread *td, struct linux_ioctl_args *args) argument 1468 linux_ioctl_cdrom(struct thread *td, struct linux_ioctl_args *args) argument 1722 linux_ioctl_vfat(struct thread *td, struct linux_ioctl_args *args) argument 1742 linux_ioctl_sound(struct thread *td, struct linux_ioctl_args *args) argument 2015 linux_ioctl_console(struct thread *td, struct linux_ioctl_args *args) argument 2155 ifname_linux_to_bsd(struct thread *td, const char *lxname, char *bsdname) argument 2197 linux_ioctl_ifname(struct thread *td, struct l_ifreq *uifr) argument 2240 linux_ifconf(struct thread *td, struct ifconf *uifc) argument 2349 linux_gifflags(struct thread *td, struct ifnet *ifp, struct l_ifreq *ifr) argument 2427 linux_ioctl_socket(struct thread *td, struct linux_ioctl_args *args) argument 2666 linux_ioctl_private(struct thread *td, struct linux_ioctl_args *args) argument 2686 linux_ioctl_drm(struct thread *td, struct linux_ioctl_args *args) argument 2694 linux_ioctl_sg_io(struct thread *td, struct linux_ioctl_args *args) argument 2769 linux_ioctl_sg(struct thread *td, struct linux_ioctl_args *args) argument 3010 linux_ioctl_v4l(struct thread *td, struct linux_ioctl_args *args) argument 3179 linux_ioctl_special(struct thread *td, struct linux_ioctl_args *args) argument 3315 linux_ioctl_v4l2(struct thread *td, struct linux_ioctl_args *args) argument 3524 linux_ioctl_fbsd_usb(struct thread *td, struct linux_ioctl_args *args) argument 3656 linux_ioctl_evdev(struct thread *td, struct linux_ioctl_args *args) argument 3710 linux_ioctl(struct thread *td, struct linux_ioctl_args *args) argument [all...] |
H A D | linux_uid16.c | 108 linux_chown16(struct thread *td, struct linux_chown16_args *args) argument 113 LCONVPATHEXIST(td, args->path, &path); 124 error = kern_fchownat(td, AT_FDCWD, path, UIO_SYSSPACE, 133 linux_lchown16(struct thread *td, struct linux_lchown16_args *args) argument 138 LCONVPATHEXIST(td, args->path, &path); 149 error = kern_fchownat(td, AT_FDCWD, path, UIO_SYSSPACE, 158 linux_setgroups16(struct thread *td, struct linux_setgroups16_args *args) argument 183 p = td->td_proc; 215 setsugid(td->td_proc); 228 linux_getgroups16(struct thread *td, struc argument 293 linux_getgid16(struct thread *td, struct linux_getgid16_args *args) argument 305 linux_getuid16(struct thread *td, struct linux_getuid16_args *args) argument 317 linux_getegid16(struct thread *td, struct linux_getegid16_args *args) argument 331 linux_geteuid16(struct thread *td, struct linux_geteuid16_args *args) argument 345 linux_setgid16(struct thread *td, struct linux_setgid16_args *args) argument 360 linux_setuid16(struct thread *td, struct linux_setuid16_args *args) argument 375 linux_setregid16(struct thread *td, struct linux_setregid16_args *args) argument 391 linux_setreuid16(struct thread *td, struct linux_setreuid16_args *args) argument 407 linux_setresgid16(struct thread *td, struct linux_setresgid16_args *args) argument 425 linux_setresuid16(struct thread *td, struct linux_setresuid16_args *args) argument [all...] |
H A D | linux_misc.c | 148 linux_sysinfo(struct thread *td, struct linux_sysinfo_args *args) argument 195 linux_alarm(struct thread *td, struct linux_alarm_args *args) argument 219 error = kern_setitimer(td, ITIMER_REAL, &it, &old_it); 225 td->td_retval[0] = old_it.it_value.tv_sec; 231 linux_brk(struct thread *td, struct linux_brk_args *args) argument 233 struct vmspace *vm = td->td_proc->p_vmspace; 246 if (((caddr_t)new > vm->vm_daddr) && !sys_obreak(td, &tmp)) 247 td->td_retval[0] = (long)new; 249 td->td_retval[0] = (long)old; 258 linux_uselib(struct thread *td, struc argument 500 linux_select(struct thread *td, struct linux_select_args *args) argument 593 linux_mremap(struct thread *td, struct linux_mremap_args *args) argument 645 linux_msync(struct thread *td, struct linux_msync_args *args) argument 654 linux_time(struct thread *td, struct linux_time_args *args) argument 696 linux_times(struct thread *td, struct linux_times_args *args) argument 733 linux_newuname(struct thread *td, struct linux_newuname_args *args) argument 771 linux_utime(struct thread *td, struct linux_utime_args *args) argument 807 linux_utimes(struct thread *td, struct linux_utimes_args *args) argument 852 linux_utimensat(struct thread *td, struct linux_utimensat_args *args) argument 935 linux_futimesat(struct thread *td, struct linux_futimesat_args *args) argument 969 linux_common_wait(struct thread *td, int pid, int *status, int options, struct rusage *ru) argument 996 linux_waitpid(struct thread *td, struct linux_waitpid_args *args) argument 1016 linux_wait4(struct thread *td, struct linux_wait4_args *args) argument 1047 linux_waitid(struct thread *td, struct linux_waitid_args *args) argument 1109 linux_mknod(struct thread *td, struct linux_mknod_args *args) argument 1159 linux_mknodat(struct thread *td, struct linux_mknodat_args *args) argument 1210 linux_personality(struct thread *td, struct linux_personality_args *args) argument 1244 linux_setitimer(struct thread *td, struct linux_setitimer_args *uap) argument 1282 linux_getitimer(struct thread *td, struct linux_getitimer_args *uap) argument 1301 linux_nice(struct thread *td, struct linux_nice_args *args) argument 1313 linux_setgroups(struct thread *td, struct linux_setgroups_args *args) argument 1370 linux_getgroups(struct thread *td, struct linux_getgroups_args *args) argument 1413 linux_setrlimit(struct thread *td, struct linux_setrlimit_args *args) argument 1444 linux_old_getrlimit(struct thread *td, struct linux_old_getrlimit_args *args) argument 1485 linux_getrlimit(struct thread *td, struct linux_getrlimit_args *args) argument 1512 linux_sched_setscheduler(struct thread *td, struct linux_sched_setscheduler_args *args) argument 1553 linux_sched_getscheduler(struct thread *td, struct linux_sched_getscheduler_args *args) argument 1586 linux_sched_get_priority_max(struct thread *td, struct linux_sched_get_priority_max_args *args) argument 1613 linux_sched_get_priority_min(struct thread *td, struct linux_sched_get_priority_min_args *args) argument 1651 linux_reboot(struct thread *td, struct linux_reboot_args *args) argument 1705 linux_getpid(struct thread *td, struct linux_getpid_args *args) argument 1718 linux_gettid(struct thread *td, struct linux_gettid_args *args) argument 1737 linux_getppid(struct thread *td, struct linux_getppid_args *args) argument 1750 linux_getgid(struct thread *td, struct linux_getgid_args *args) argument 1763 linux_getuid(struct thread *td, struct linux_getuid_args *args) argument 1777 linux_getsid(struct thread *td, struct linux_getsid_args *args) argument 1791 linux_nosys(struct thread *td, struct nosys_args *ignore) argument 1798 linux_getpriority(struct thread *td, struct linux_getpriority_args *args) argument 1816 linux_sethostname(struct thread *td, struct linux_sethostname_args *args) argument 1832 linux_setdomainname(struct thread *td, struct linux_setdomainname_args *args) argument 1848 linux_exit_group(struct thread *td, struct linux_exit_group_args *args) argument 1884 linux_capget(struct thread *td, struct linux_capget_args *uap) argument 1936 linux_capset(struct thread *td, struct linux_capset_args *uap) argument 1994 linux_prctl(struct thread *td, struct linux_prctl_args *args) argument 2086 linux_sched_setparam(struct thread *td, struct linux_sched_setparam_args *uap) argument 2112 linux_sched_getparam(struct thread *td, struct linux_sched_getparam_args *uap) argument 2140 linux_sched_getaffinity(struct thread *td, struct linux_sched_getaffinity_args *args) argument 2172 linux_sched_setaffinity(struct thread *td, struct linux_sched_setaffinity_args *args) argument 2201 linux_prlimit64(struct thread *td, struct linux_prlimit64_args *args) argument 2269 linux_pselect6(struct thread *td, struct linux_pselect6_args *args) argument 2349 linux_ppoll(struct thread *td, struct linux_ppoll_args *args) argument 2467 linux_sched_rr_get_interval(struct thread *td, struct linux_sched_rr_get_interval_args *uap) argument 2502 linux_tdfind(struct thread *td, lwpid_t tid, pid_t pid) argument 2560 linux_getrandom(struct thread *td, struct linux_getrandom_args *args) argument 2588 linux_mincore(struct thread *td, struct linux_mincore_args *args) argument [all...] |
/freebsd-11-stable/sys/i386/i386/ |
H A D | trap.c | 181 struct thread *td; local 191 td = curthread; 192 p = td->td_proc; 285 td->td_md.md_spinlock_count == 0) 301 if (td->td_md.md_spinlock_count == 0) 308 td->td_pticks = 0; 309 td->td_frame = frame; 311 if (td->td_cowgen != p->p_cowgen) 312 thread_cow_update(td); 338 PROC_LOCK(td 770 struct thread *td; local 1033 cpu_fetch_syscall_args(struct thread *td) argument 1104 struct thread *td; local [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | atmegadci.c | 245 atmegadci_setup_rx(struct atmegadci_td *td) argument 253 sc = ATMEGA_PC2SC(td->pc); 256 ATMEGA_WRITE_1(sc, ATMEGA_UENUM, td->ep_no); 267 td->did_stall = 0; 277 if (count != td->remainder) { 292 usbd_copy_in(td->pc, 0, &req, sizeof(req)); 294 td->offset = sizeof(req); 295 td->remainder = 0; 313 if (!td->did_stall) { 318 td 330 atmegadci_data_rx(struct atmegadci_td *td) argument 444 atmegadci_data_tx(struct atmegadci_td *td) argument 530 atmegadci_data_tx_sync(struct atmegadci_td *td) argument 576 struct atmegadci_td *td; local 761 struct atmegadci_td *td; local 786 struct atmegadci_td *td; local 983 struct atmegadci_td *td; local 2073 struct atmegadci_td *td; local [all...] |
/freebsd-11-stable/sys/riscv/include/ |
H A D | pcpu.h | 71 struct thread *td; local 73 __asm __volatile("ld %0, 0(gp)" : "=&r"(td)); 75 return (td);
|