/freebsd/sys/dev/cpuctl/ |
H A D | cpuctl.c | 111 cpu_sched_is_bound(struct thread *td) in cpu_sched_is_bound() 125 set_cpu(int cpu, struct thread *td) in set_cpu() 139 restore_cpu(int oldcpu, int is_bound, struct thread *td) in restore_cpu() 154 int flags, struct thread *td) in cpuctl_ioctl() 210 struct thread *td) in cpuctl_do_cpuid_count() 235 cpuctl_do_cpuid(int cpu, cpuctl_cpuid_args_t *data, struct thread *td) in cpuctl_do_cpuid() 303 cpuctl_do_update(int cpu, cpuctl_update_args_t *data, struct thread *td) in cpuctl_do_update() 351 update_intel(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_intel() 414 update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_amd() 448 update_via(int cpu, cpuctl_update_args_t *args, struct thread *td) in update_via() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_stats.c | 63 linux_kern_fstat(struct thread *td, int fd, struct stat *sbp) in linux_kern_fstat() 169 linux_newstat(struct thread *td, struct linux_newstat_args *args) in linux_newstat() 181 linux_newlstat(struct thread *td, struct linux_newlstat_args *args) in linux_newlstat() 244 linux_stat(struct thread *td, struct linux_stat_args *args) in linux_stat() 257 linux_lstat(struct thread *td, struct linux_lstat_args *args) in linux_lstat() 377 linux_statfs(struct thread *td, struct linux_statfs_args *args) in linux_statfs() 455 linux_fstatfs(struct thread *td, struct linux_fstatfs_args *args) in linux_fstatfs() 481 linux_ustat(struct thread *td, struct linux_ustat_args *args) in linux_ustat() 525 linux_stat64(struct thread *td, struct linux_stat64_args *args) in linux_stat64() 617 linux_syncfs(struct thread *td, struct linux_syncfs_args *args) in linux_syncfs() [all …]
|
H A D | linux_timer.c | 85 linux_timer_create(struct thread *td, struct linux_timer_create_args *uap) in linux_timer_create() 116 linux_timer_settime(struct thread *td, struct linux_timer_settime_args *uap) in linux_timer_settime() 143 linux_timer_settime64(struct thread *td, struct linux_timer_settime64_args *uap) in linux_timer_settime64() 170 linux_timer_gettime(struct thread *td, struct linux_timer_gettime_args *uap) in linux_timer_gettime() 186 linux_timer_gettime64(struct thread *td, struct linux_timer_gettime64_args *uap) in linux_timer_gettime64() 202 linux_timer_getoverrun(struct thread *td, struct linux_timer_getoverrun_args *uap) in linux_timer_getoverrun() 209 linux_timer_delete(struct thread *td, struct linux_timer_delete_args *uap) in linux_timer_delete()
|
H A D | linux_socket.c | 799 linux_check_hdrincl(struct thread *td, int s) in linux_check_hdrincl() 876 linux_socket(struct thread *td, struct linux_socket_args *args) in linux_socket() 955 linux_bind(struct thread *td, struct linux_bind_args *args) in linux_bind() 1016 linux_listen(struct thread *td, struct linux_listen_args *args) in linux_listen() 1023 linux_accept_common(struct thread *td, int s, l_uintptr_t addr, in linux_accept_common() 1206 linux_send(struct thread *td, struct linux_send_args *args) in linux_send() 1249 linux_recv(struct thread *td, struct linux_recv_args *args) in linux_recv() 2178 linux_getsockopt_so_peergroups(struct thread *td, in linux_getsockopt_so_peergroups() 2215 linux_getsockopt_so_peersec(struct thread *td, in linux_getsockopt_so_peersec() 2234 linux_getsockopt_so_linger(struct thread *td, in linux_getsockopt_so_linger() [all …]
|
H A D | linux_futex.c | 103 futex_wake(struct thread *td, uint32_t *uaddr, int val, bool shared) in futex_wake() 118 futex_wake_pi(struct thread *td, uint32_t *uaddr, bool shared) in futex_wake_pi() 131 futex_atomic_op(struct thread *td, int encoded_op, uint32_t *uaddr, in futex_atomic_op() 194 linux_futex(struct thread *td, struct linux_futex_args *args) in linux_futex() 628 linux_futex_wakeop(struct thread *td, struct linux_futex_args *args) in linux_futex_wakeop() 673 linux_futex_requeue(struct thread *td, struct linux_futex_args *args) in linux_futex_requeue() 726 linux_futex_wake(struct thread *td, struct linux_futex_args *args) in linux_futex_wake() 745 linux_futex_wait(struct thread *td, struct linux_futex_args *args) in linux_futex_wait() 812 linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args) in linux_sys_futex() 845 linux_sys_futex_time64(struct thread *td, in linux_sys_futex_time64() [all …]
|
H A D | linux_ptrace.c | 122 linux_ptrace_status(struct thread *td, pid_t pid, int status) in linux_ptrace_status() 160 linux_ptrace_peek(struct thread *td, pid_t pid, void *addr, void *data) in linux_ptrace_peek() 175 linux_ptrace_setoptions(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_setoptions() 229 linux_ptrace_geteventmsg(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_geteventmsg() 237 linux_ptrace_getsiginfo(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_getsiginfo() 263 linux_ptrace_getregs(struct thread *td, pid_t pid, void *data) in linux_ptrace_getregs() 283 linux_ptrace_setregs(struct thread *td, pid_t pid, void *data) in linux_ptrace_setregs() 298 linux_ptrace_getregset_prstatus(struct thread *td, pid_t pid, l_ulong data) in linux_ptrace_getregset_prstatus() 361 linux_ptrace_seize(struct thread *td, pid_t pid, l_ulong addr, l_ulong data) in linux_ptrace_seize() 369 linux_ptrace_get_syscall_info(struct thread *td, pid_t pid, in linux_ptrace_get_syscall_info() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | altivec.c | 46 save_vec_int(struct thread *td) in save_vec_int() 85 enable_vec(struct thread *td) in enable_vec() 146 save_vec(struct thread *td) in save_vec() 167 save_vec_nodrop(struct thread *td) in save_vec_nodrop() 181 disable_vec(struct thread *td) in disable_vec()
|
/freebsd/sys/kern/ |
H A D | kern_prot.c | 132 kern_getppid(struct thread *td) in kern_getppid() 204 kern_getsid(struct thread *td, pid_t pid) in kern_getsid() 1511 p_cansee(struct thread *td, struct proc *p) in p_cansee() 1660 p_cansched(struct thread *td, struct proc *p) in p_cansched() 1727 p_candebug(struct thread *td, struct proc *p) in p_candebug() 1849 p_canwait(struct thread *td, struct proc *p) in p_canwait() 1907 crunuse(struct thread *td) in crunuse() 1958 crcowfree(struct thread *td) in crcowfree() 1970 struct thread *td; in crcowsync() local 2056 struct thread *td; in crhold() local [all …]
|
H A D | vfs_extattr.c | 78 sys_extattrctl(struct thread *td, struct extattrctl_args *uap) in sys_extattrctl() 174 void *data, size_t nbytes, struct thread *td) in extattr_set_vp() 231 sys_extattr_set_fd(struct thread *td, struct extattr_set_fd_args *uap) in sys_extattr_set_fd() 244 kern_extattr_set_fd(struct thread *td, int fd, int attrnamespace, in kern_extattr_set_fd() 351 void *data, size_t nbytes, struct thread *td) in extattr_get_vp() 419 sys_extattr_get_fd(struct thread *td, struct extattr_get_fd_args *uap) in sys_extattr_get_fd() 432 kern_extattr_get_fd(struct thread *td, int fd, int attrnamespace, in kern_extattr_get_fd() 537 struct thread *td) in extattr_delete_vp() 588 kern_extattr_delete_fd(struct thread *td, int fd, int attrnamespace, in kern_extattr_delete_fd() 687 struct thread *td) in extattr_list_vp() [all …]
|
H A D | kern_ktrace.c | 186 ktrace_enter(struct thread *td) in ktrace_enter() 194 ktrace_exit(struct thread *td) in ktrace_exit() 202 ktrace_assert(struct thread *td) in ktrace_assert() 235 struct thread *td; in sysctl_kern_ktrace_request_pool() local 352 struct thread *td = curthread; in ktr_getrequest() local 387 ktr_drain(struct thread *td) in ktr_drain() 608 ktrprocexit(struct thread *td) in ktrprocexit() 654 struct thread *td = curthread; in ktrprocctor() local 695 ktruserret(struct thread *td) in ktruserret() 800 struct thread *td = curthread; in ktrpsig() local [all …]
|
H A D | kern_umtx.c | 856 struct thread *td = curthread; in umtx_key_get() local 1846 umtx_propagate_priority(struct thread *td) in umtx_propagate_priority() 2019 struct thread *td, *td1; in umtxq_sleep_pi() local 3820 freebsd10__umtx_unlock(struct thread *td, in freebsd10__umtx_unlock() 4504 umtx_shm_alive(struct thread *td, void *addr) in umtx_shm_alive() 4998 umtx_thread_init(struct thread *td) in umtx_thread_init() 5006 umtx_thread_fini(struct thread *td) in umtx_thread_fini() 5016 umtx_thread_alloc(struct thread *td) in umtx_thread_alloc() 5039 struct thread *td; in umtx_exec() local 5064 umtx_thread_exit(struct thread *td) in umtx_thread_exit() [all …]
|
H A D | kern_resource.c | 263 donice(struct thread *td, struct proc *p, int n) in donice() 471 rtp_to_pri(struct rtprio *rtp, struct thread *td) in rtp_to_pri() 514 pri_to_rtp(struct thread *td, struct rtprio *rtp) in pri_to_rtp() 612 struct thread *td; in lim_cb() local 827 struct thread *td; in calcru() local 857 rufetchtd(struct thread *td, struct rusage *ru) in rufetchtd() 1139 ruxagg_locked(struct proc *p, struct thread *td) in ruxagg_locked() 1153 ruxagg(struct proc *p, struct thread *td) in ruxagg() 1168 struct thread *td; in rufetch() local 1222 struct thread *td; in lim_cowsync() local [all …]
|
H A D | kern_descrip.c | 3107 struct thread *td; in fgetvp_lookup() local 5171 struct thread *td) in badfo_truncate() 5179 struct thread *td) in badfo_ioctl() 5187 struct thread *td) in badfo_poll() 5216 struct thread *td) in badfo_chmod() 5224 struct thread *td) in badfo_chown() 5233 struct thread *td) in badfo_sendfile() 5263 struct thread *td) in path_poll() 5304 struct thread *td) in invfo_truncate() 5320 struct thread *td) in invfo_poll() [all …]
|
H A D | kern_fork.c | 100 sys_fork(struct thread *td, struct fork_args *uap) in sys_fork() 118 sys_pdfork(struct thread *td, struct pdfork_args *uap) in sys_pdfork() 145 sys_vfork(struct thread *td, struct vfork_args *uap) in sys_vfork() 162 sys_rfork(struct thread *td, struct rfork_args *uap) in sys_rfork() 304 fork_norfproc(struct thread *td, int flags) in fork_norfproc() 366 do_fork(struct thread *td, struct fork_req *fr, struct proc *p2, struct thread *td2, in do_fork() 802 ast_vfork(struct thread *td, int tda __unused) in ast_vfork() 847 fork1(struct thread *td, struct fork_req *fr) in fork1() 1120 struct thread *td; in fork_exit() local 1181 fork_return(struct thread *td, struct trapframe *frame) in fork_return()
|
H A D | subr_turnstile.c | 199 propagate_priority(struct thread *td) in propagate_priority() 703 struct thread *td, *owner; in turnstile_claim() local 741 struct thread *td, *td1; in turnstile_wait() local 830 struct thread *td; in turnstile_signal() local 882 struct thread *td; in turnstile_broadcast() local 949 struct thread *td; in turnstile_unpend() local 1026 struct thread *td; in turnstile_disown() local 1104 struct thread *td; in print_queue() local 1233 struct thread *td; in DB_SHOW_COMMAND() local 1247 struct thread *td; in DB_SHOW_ALL_COMMAND() local [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | ptrauth.c | 134 ptrauth_exec(struct thread *td) in ptrauth_exec() 159 ptrauth_thread_alloc(struct thread *td) in ptrauth_thread_alloc() 182 ptrauth_thread0(struct thread *td) in ptrauth_thread0() 257 ptrauth_switch(struct thread *td) in ptrauth_switch() 269 ptrauth_exit_el0(struct thread *td) in ptrauth_exit_el0() 280 ptrauth_enter_el0(struct thread *td) in ptrauth_enter_el0()
|
H A D | trap.c | 120 call_trapsignal(struct thread *td, int sig, int code, void *addr, int trapno) in call_trapsignal() 133 cpu_fetch_syscall_args(struct thread *td) in cpu_fetch_syscall_args() 194 svc_handler(struct thread *td, struct trapframe *frame) in svc_handler() 208 align_abort(struct thread *td, struct trapframe *frame, uint64_t esr, in align_abort() 225 external_abort(struct thread *td, struct trapframe *frame, uint64_t esr, in external_abort() 256 data_abort(struct thread *td, struct trapframe *frame, uint64_t esr, in data_abort() 450 fpe_trap(struct thread *td, void *addr, uint32_t exception) in fpe_trap() 475 do_el1h_sync(struct thread *td, struct trapframe *frame) in do_el1h_sync() 592 do_el0_sync(struct thread *td, struct trapframe *frame) in do_el0_sync()
|
/freebsd/sys/dev/filemon/ |
H A D | filemon_wrapper.c | 93 filemon_wrapper_chdir(struct thread *td, struct chdir_args *uap) in filemon_wrapper_chdir() 149 _filemon_wrapper_openat(struct thread *td, const char *upath, int flags, in _filemon_wrapper_openat() 214 filemon_wrapper_open(struct thread *td, struct open_args *uap) in filemon_wrapper_open() 225 filemon_wrapper_openat(struct thread *td, struct openat_args *uap) in filemon_wrapper_openat() 236 filemon_wrapper_rename(struct thread *td, struct rename_args *uap) in filemon_wrapper_rename() 262 _filemon_wrapper_link(struct thread *td, const char *upath1, in _filemon_wrapper_link() 285 filemon_wrapper_link(struct thread *td, struct link_args *uap) in filemon_wrapper_link() 296 filemon_wrapper_symlink(struct thread *td, struct symlink_args *uap) in filemon_wrapper_symlink() 307 filemon_wrapper_linkat(struct thread *td, struct linkat_args *uap) in filemon_wrapper_linkat() 342 filemon_wrapper_unlink(struct thread *td, struct unlink_args *uap) in filemon_wrapper_unlink()
|
/freebsd/sys/arm/arm/ |
H A D | sys_machdep.c | 97 arm32_sync_icache(struct thread *td, void *args) in arm32_sync_icache() 141 arm32_drain_writebuf(struct thread *td, void *args) in arm32_drain_writebuf() 152 arm32_set_tp(struct thread *td, void *args) in arm32_set_tp() 160 arm32_get_tp(struct thread *td, void *args) in arm32_get_tp() 168 sysarch(struct thread *td, struct sysarch_args *uap) in sysarch()
|
/freebsd/sys/vm/ |
H A D | vm_mmap.c | 145 sys_mmap(struct thread *td, struct mmap_args *uap) in sys_mmap() 172 kern_mmap(struct thread *td, const struct mmap_req *mrp) in kern_mmap() 417 ommap(struct thread *td, struct ommap_args *uap) in ommap() 483 sys_msync(struct thread *td, struct msync_args *uap) in sys_msync() 536 sys_munmap(struct thread *td, struct munmap_args *uap) in sys_munmap() 719 sys_madvise(struct thread *td, struct madvise_args *uap) in sys_madvise() 773 sys_mincore(struct thread *td, struct mincore_args *uap) in sys_mincore() 1022 sys_mlock(struct thread *td, struct mlock_args *uap) in sys_mlock() 1249 vm_mmap_vnode(struct thread *td, vm_size_t objsize, in vm_mmap_vnode() 1422 struct thread *td = curthread; in vm_mmap() local [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.term.c | 692 tty_getty(int fd, ttydata_t *td) in tty_getty() 723 tty_setty(int fd, ttydata_t *td) in tty_setty() 754 tty_getchar(ttydata_t *td, unsigned char *s) in tty_getchar() 890 tty_setchar(ttydata_t *td, unsigned char *s) in tty_setchar() 1027 tty_getspeed(ttydata_t *td) in tty_getspeed() 1050 tty_gettabs(ttydata_t *td) in tty_gettabs() 1060 tty_geteightbit(ttydata_t *td) in tty_geteightbit() 1070 tty_cooked_mode(ttydata_t *td) in tty_cooked_mode() 1134 tty_cooked_mode(void *td) in tty_cooked_mode()
|
/freebsd/sys/amd64/linux/ |
H A D | linux_machdep.c | 64 linux_set_upcall(struct thread *td, register_t stack) in linux_set_upcall() 79 linux_iopl(struct thread *td, struct linux_iopl_args *args) in linux_iopl() 98 linux_pause(struct thread *td, struct linux_pause_args *args) in linux_pause() 112 linux_arch_prctl(struct thread *td, struct linux_arch_prctl_args *args) in linux_arch_prctl() 160 linux_set_cloned_tls(struct thread *td, void *desc) in linux_set_cloned_tls() 295 linux_ptrace_getregs_machdep(struct thread *td, pid_t pid, in linux_ptrace_getregs_machdep() 329 linux_ptrace_peekuser(struct thread *td, pid_t pid, void *addr, void *data) in linux_ptrace_peekuser() 395 linux_ptrace_pokeuser(struct thread *td, pid_t pid, void *addr, void *data) in linux_ptrace_pokeuser()
|
/freebsd/sys/riscv/riscv/ |
H A D | ptrace_machdep.c | 65 ptrace_set_pc(struct thread *td, u_long addr) in ptrace_set_pc() 73 ptrace_single_step(struct thread *td) in ptrace_single_step() 81 ptrace_clear_single_step(struct thread *td) in ptrace_clear_single_step()
|
/freebsd/sys/i386/i386/ |
H A D | sys_machdep.c | 102 set_fsbase(struct thread *td, uint32_t base) in set_fsbase() 115 set_gsbase(struct thread *td, uint32_t base) in set_gsbase() 135 sysarch(struct thread *td, struct sysarch_args *uap) in sysarch() 279 i386_extend_pcb(struct thread *td) in i386_extend_pcb() 333 i386_set_ioperm(struct thread *td, struct i386_ioperm_args *uap) in i386_set_ioperm() 369 i386_get_ioperm(struct thread *td, struct i386_ioperm_args *uap) in i386_get_ioperm() 478 user_ldt_free(struct thread *td) in user_ldt_free() 520 i386_get_ldt(struct thread *td, struct i386_ldt_args *uap) in i386_get_ldt() 554 i386_set_ldt(struct thread *td, struct i386_ldt_args *uap, in i386_set_ldt() 705 i386_set_ldt_data(struct thread *td, int start, int num, in i386_set_ldt_data() [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_current.c | 59 struct thread *td; in find_other_mm() local 79 linux_alloc_current(struct thread *td, int flags) in linux_alloc_current() 183 linuxkpi_thread_dtor(void *arg __unused, struct thread *td) in linuxkpi_thread_dtor() 198 struct thread *td; in linux_get_pid_task_int() local 246 struct thread *td; in linux_task_exiting() local 316 struct thread *td; in linux_current_uninit() local
|