| /f-stack/freebsd/kern/ |
| H A D | sched_4bsd.c | 305 maybe_resched(struct thread *td) in maybe_resched() 320 maybe_preempt(struct thread *td) in maybe_preempt() 466 struct thread *td; in schedcpu() local 579 updatepri(struct thread *td) in updatepri() 604 resetpriority(struct thread *td) in resetpriority() 809 struct thread *td; in sched_nice() local 1426 sched_rem(struct thread *td) in sched_rem() 1458 struct thread *td; in sched_choose() local 1545 sched_unbind(struct thread* td) in sched_unbind() 1585 sched_pctcpu(struct thread *td) in sched_pctcpu() [all …]
|
| H A D | uipc_syscalls.c | 126 sys_socket(struct thread *td, struct socket_args *uap) in sys_socket() 175 sys_bind(struct thread *td, struct bind_args *uap) in sys_bind() 248 kern_listen(struct thread *td, int s, int backlog) in kern_listen() 273 accept1(td, s, uname, anamelen, flags) in accept1() argument 441 sys_accept(td, uap) in sys_accept() argument 450 sys_accept4(td, uap) in sys_accept4() argument 463 oaccept(struct thread *td, struct oaccept_args *uap) in oaccept() 852 osend(struct thread *td, struct osend_args *uap) in osend() 1125 orecv(struct thread *td, struct orecv_args *uap) in orecv() 1207 kern_shutdown(struct thread *td, int s, int how) in kern_shutdown() [all …]
|
| H A D | kern_thread.c | 346 struct thread *td; in thread_ctor() local 376 struct thread *td; in thread_dtor() local 419 struct thread *td; in thread_init() local 440 struct thread *td; in thread_fini() local 716 struct thread *td; in thread_alloc() local 852 struct thread *td; in thread_exit() local 964 struct thread *td; in thread_wait() local 1146 struct thread *td; in thread_single() local 1278 struct thread *td; in thread_suspend_check_needed() local 1323 struct thread *td; in thread_suspend_check() local [all …]
|
| H A D | kern_procctl.c | 105 protect_set(struct thread *td, struct proc *p, int flags) in protect_set() 134 reap_acquire(struct thread *td, struct proc *p) in reap_acquire() 151 reap_release(struct thread *td, struct proc *p) in reap_release() 166 reap_status(struct thread *td, struct proc *p, in reap_status() 339 trace_ctl(struct thread *td, struct proc *p, int state) in trace_ctl() 379 trace_status(struct thread *td, struct proc *p, int *data) in trace_status() 395 trapcap_ctl(struct thread *td, struct proc *p, int state) in trapcap_ctl() 423 protmax_ctl(struct thread *td, struct proc *p, int state) in protmax_ctl() 468 aslr_ctl(struct thread *td, struct proc *p, int state) in aslr_ctl() 492 aslr_status(struct thread *td, struct proc *p, int *data) in aslr_status() [all …]
|
| H A D | vfs_acl.c | 228 vacl_set_acl(struct thread *td, struct vnode *vp, acl_type_t type, in vacl_set_acl() 266 vacl_get_acl(struct thread *td, struct vnode *vp, acl_type_t type, in vacl_get_acl() 298 vacl_delete(struct thread *td, struct vnode *vp, acl_type_t type) in vacl_delete() 329 vacl_aclcheck(struct thread *td, struct vnode *vp, acl_type_t type, in vacl_aclcheck() 355 sys___acl_get_file(struct thread *td, struct __acl_get_file_args *uap) in sys___acl_get_file() 366 sys___acl_get_link(struct thread *td, struct __acl_get_link_args *uap) in sys___acl_get_link() 393 sys___acl_set_file(struct thread *td, struct __acl_set_file_args *uap) in sys___acl_set_file() 412 kern___acl_set_path(struct thread *td, const char *path, in kern___acl_set_path() 431 sys___acl_get_fd(struct thread *td, struct __acl_get_fd_args *uap) in sys___acl_get_fd() 451 sys___acl_set_fd(struct thread *td, struct __acl_set_fd_args *uap) in sys___acl_set_fd() [all …]
|
| H A D | kern_thr.c | 106 thr_create_initthr(struct thread *td, void *thunk) in thr_create_initthr() 132 sys_thr_new(struct thread *td, struct thr_new_args *uap) in sys_thr_new() 147 thr_new_initthr(struct thread *td, void *thunk) in thr_new_initthr() 176 kern_thr_new(struct thread *td, struct thr_param *param) in kern_thr_new() 192 thread_create(struct thread *td, struct rtprio *rtp, in thread_create() 297 sys_thr_self(struct thread *td, struct thr_self_args *uap) in sys_thr_self() 309 sys_thr_exit(struct thread *td, struct thr_exit_args *uap) in sys_thr_exit() 325 kern_thr_exit(struct thread *td) in kern_thr_exit() 388 sys_thr_kill(struct thread *td, struct thr_kill_args *uap) in sys_thr_kill() 510 kern_thr_suspend(struct thread *td, struct timespec *tsp) in kern_thr_suspend() [all …]
|
| H A D | sys_capability.c | 102 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) in sys_cap_enter() 125 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) in sys_cap_getmode() 136 sys_cap_enter(struct thread *td, struct cap_enter_args *uap) in sys_cap_enter() 143 sys_cap_getmode(struct thread *td, struct cap_getmode_args *uap) in sys_cap_getmode() 233 kern_cap_rights_limit(struct thread *td, int fd, cap_rights_t *rights) in kern_cap_rights_limit() 270 sys_cap_rights_limit(struct thread *td, struct cap_rights_limit_args *uap) in sys_cap_rights_limit() 313 sys___cap_rights_get(struct thread *td, struct __cap_rights_get_args *uap) in sys___cap_rights_get() 488 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) in sys_cap_ioctls_get() 616 sys_cap_fcntls_get(struct thread *td, struct cap_fcntls_get_args *uap) in sys_cap_fcntls_get() 669 sys_cap_ioctls_get(struct thread *td, struct cap_ioctls_get_args *uap) in sys_cap_ioctls_get() [all …]
|
| H A D | sys_process.c | 110 proc_read_regs(struct thread *td, struct reg *regs) in proc_read_regs() 117 proc_write_regs(struct thread *td, struct reg *regs) in proc_write_regs() 124 proc_read_dbregs(struct thread *td, struct dbreg *dbregs) in proc_read_dbregs() 131 proc_write_dbregs(struct thread *td, struct dbreg *dbregs) in proc_write_dbregs() 142 proc_read_fpregs(struct thread *td, struct fpreg *fpregs) in proc_read_fpregs() 149 proc_write_fpregs(struct thread *td, struct fpreg *fpregs) in proc_write_fpregs() 158 proc_read_regs32(struct thread *td, struct reg32 *regs32) in proc_read_regs32() 165 proc_write_regs32(struct thread *td, struct reg32 *regs32) in proc_write_regs32() 172 proc_read_dbregs32(struct thread *td, struct dbreg32 *dbregs32) in proc_read_dbregs32() 201 proc_sstep(struct thread *td) in proc_sstep() [all …]
|
| H A D | sched_ule.c | 372 struct thread *td; in runq_print() local 602 struct thread *td; in tdq_setlowpri() local 924 struct thread *td; in sched_balance_pair() local 952 struct thread *td; in tdq_move() local 1159 struct thread *td; in runq_steal() local 1186 struct thread *td; in tdq_steal() local 1379 struct thread *td; in tdq_choose() local 2171 struct thread *td; in sched_nice() local 2323 struct thread *td; in sched_exit() local 2502 struct thread *td; in sched_choose() local [all …]
|
| H A D | vfs_syscalls.c | 136 kern_sync(struct thread *td) in kern_sync() 173 sys_sync(struct thread *td, struct sync_args *uap) in sys_sync() 1006 change_dir(struct vnode *vp, struct thread *td) in change_dir() 1070 sys_open(struct thread *td, struct open_args *uap) in sys_open() 1238 ocreat(struct thread *td, struct ocreat_args *uap) in ocreat() 1267 freebsd11_mknod(struct thread *td, in freebsd11_mknod() 1276 freebsd11_mknodat(struct thread *td, in freebsd11_mknodat() 2012 struct thread *td) in vn_access() 2146 ostat(struct thread *td, struct ostat_args *uap) in ostat() 2616 struct thread *td) in kern_readlink_vp() [all …]
|
| H A D | kern_switch.c | 159 choosethread_panic(struct thread *td) in choosethread_panic() 182 struct thread *td; in choosethread() local 207 struct thread *td = curthread; in critical_enter_KBI() local 217 struct thread *td; in critical_exit_preempt() local 252 struct thread *td = curthread; in critical_exit_KBI() local 369 runq_add(struct runq *rq, struct thread *td, int flags) in runq_add() 434 struct thread *td; in runq_choose_fuzz() local 476 struct thread *td; in runq_choose() local 496 struct thread *td; in runq_choose_from() local 518 runq_remove(struct runq *rq, struct thread *td) in runq_remove() [all …]
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_syscalls.c | 71 sys_audit(struct thread *td, struct audit_args *uap) in sys_audit() 164 sys_auditon(struct thread *td, struct auditon_args *uap) in sys_auditon() 594 sys_getauid(struct thread *td, struct getauid_args *uap) in sys_getauid() 609 sys_setauid(struct thread *td, struct setauid_args *uap) in sys_setauid() 649 sys_getaudit(struct thread *td, struct getaudit_args *uap) in sys_getaudit() 674 sys_setaudit(struct thread *td, struct setaudit_args *uap) in sys_setaudit() 777 sys_auditctl(struct thread *td, struct auditctl_args *uap) in sys_auditctl() 844 sys_audit(struct thread *td, struct audit_args *uap) in sys_audit() 851 sys_auditon(struct thread *td, struct auditon_args *uap) in sys_auditon() 858 sys_getauid(struct thread *td, struct getauid_args *uap) in sys_getauid() [all …]
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_syscalls.c | 85 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) in sys___mac_get_pid() 134 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) in sys___mac_get_proc() 167 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) in sys___mac_set_proc() 228 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) in sys___mac_get_fd() 322 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) in sys___mac_get_file() 387 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) in sys___mac_set_fd() 555 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap) in sys_mac_syscall() 594 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) in sys___mac_get_pid() 615 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) in sys___mac_get_fd() 636 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) in sys___mac_set_fd() [all …]
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | vm_machdep.c | 90 set_top_of_stack_td(struct thread *td) in set_top_of_stack_td() 98 get_pcb_user_save_td(struct thread *td) in get_pcb_user_save_td() 109 get_pcb_td(struct thread *td) in get_pcb_td() 118 struct thread *td; in get_pcb_user_save_pcb() local 290 cpu_exit(struct thread *td) in cpu_exit() 301 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 320 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 338 cpu_thread_swapin(struct thread *td) in cpu_thread_swapin() 343 cpu_thread_swapout(struct thread *td) in cpu_thread_swapout() 348 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() [all …]
|
| /f-stack/freebsd/mips/mips/ |
| H A D | pm_machdep.c | 90 struct thread *td; in sendsig() local 210 ptrace_set_pc(struct thread *td, unsigned long addr) in ptrace_set_pc() 217 ptrace_read_int(struct thread *td, uintptr_t addr, int *v) in ptrace_read_int() 226 ptrace_write_int(struct thread *td, uintptr_t addr, int v) in ptrace_write_int() 235 ptrace_single_step(struct thread *td) in ptrace_single_step() 308 fill_regs(struct thread *td, struct reg *regs) in fill_regs() 315 set_regs(struct thread *td, struct reg *regs) in set_regs() 361 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext() 384 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() 394 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() [all …]
|
| H A D | vm_machdep.c | 199 cpu_exit(struct thread *td) in cpu_exit() 204 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 220 cpu_thread_free(struct thread *td) in cpu_thread_free() 233 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 238 cpu_thread_swapin(struct thread *td) in cpu_thread_swapin() 256 cpu_thread_swapout(struct thread *td) in cpu_thread_swapout() 261 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 278 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() 353 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() 474 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() [all …]
|
| H A D | freebsd32_machdep.c | 127 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32() 139 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32() 156 set_fpregs32(struct thread *td, struct fpreg32 *fpregs) in set_fpregs32() 168 fill_fpregs32(struct thread *td, struct fpreg32 *fpregs) in fill_fpregs32() 185 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) in get_mcontext32() 212 set_mcontext32(struct thread *td, mcontext32_t *mcp) in set_mcontext32() 234 freebsd32_sigreturn(struct thread *td, struct freebsd32_sigreturn_args *uap) in freebsd32_sigreturn() 268 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) in freebsd32_getcontext() 287 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) in freebsd32_setcontext() 352 struct thread *td; in freebsd32_sendsig() local [all …]
|
| /f-stack/freebsd/arm/arm/ |
| H A D | vm_machdep.c | 155 cpu_thread_swapin(struct thread *td) in cpu_thread_swapin() 160 cpu_thread_swapout(struct thread *td) in cpu_thread_swapout() 165 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() 205 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() 229 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, in cpu_set_upcall() 241 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() 251 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 256 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 269 cpu_thread_free(struct thread *td) in cpu_thread_free() 274 cpu_thread_clean(struct thread *td) in cpu_thread_clean() [all …]
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_machdep.c | 97 linux_execve(struct thread *td, struct linux_execve_args *args) in linux_execve() 121 linux_set_upcall_kse(struct thread *td, register_t stack) in linux_set_upcall_kse() 136 linux_mmap2(struct thread *td, struct linux_mmap2_args *args) in linux_mmap2() 144 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) in linux_mprotect() 151 linux_madvise(struct thread *td, struct linux_madvise_args *uap) in linux_madvise() 158 linux_iopl(struct thread *td, struct linux_iopl_args *args) in linux_iopl() 177 linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) in linux_rt_sigsuspend() 198 linux_pause(struct thread *td, struct linux_pause_args *args) in linux_pause() 212 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) in linux_sigaltstack() 243 linux_arch_prctl(struct thread *td, struct linux_arch_prctl_args *args) in linux_arch_prctl() [all …]
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | vm_machdep.c | 130 cpu_thread_swapin(struct thread *td) in cpu_thread_swapin() 135 cpu_thread_swapout(struct thread *td) in cpu_thread_swapout() 140 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() 172 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() 195 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, in cpu_set_upcall() 210 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() 236 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 241 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 251 cpu_thread_free(struct thread *td) in cpu_thread_free() 256 cpu_thread_clean(struct thread *td) in cpu_thread_clean() [all …]
|
| H A D | freebsd32_machdep.c | 63 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) in freebsd32_sysarch() 121 get_fpcontext32(struct thread *td, mcontext32_vfp_t *mcp) in get_fpcontext32() 149 set_fpcontext32(struct thread *td, mcontext32_vfp_t *mcp) in set_fpcontext32() 166 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) in get_mcontext32() 193 set_mcontext32(struct thread *td, mcontext32_t *mcp) in set_mcontext32() 220 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) in freebsd32_getcontext() 239 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) in freebsd32_setcontext() 259 freebsd32_sigreturn(struct thread *td, struct freebsd32_sigreturn_args *uap) in freebsd32_sigreturn() 309 struct thread *td; in freebsd32_sendsig() local 420 ofreebsd32_getpagesize(struct thread *td, in ofreebsd32_getpagesize() [all …]
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux_machdep.c | 66 linux_execve(struct thread *td, struct linux_execve_args *uap) in linux_execve() 89 linux_set_upcall_kse(struct thread *td, register_t stack) in linux_set_upcall_kse() 98 linux_mmap2(struct thread *td, struct linux_mmap2_args *uap) in linux_mmap2() 107 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) in linux_mprotect() 115 linux_madvise(struct thread *td, struct linux_madvise_args *uap) in linux_madvise() 123 linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) in linux_rt_sigsuspend() 132 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) in linux_sigaltstack() 141 linux_set_cloned_tls(struct thread *td, void *desc) in linux_set_cloned_tls()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_machdep.c | 102 linux_execve(struct thread *td, struct linux_execve_args *args) in linux_execve() 129 linux_ipc(struct thread *td, struct linux_ipc_args *args) in linux_ipc() 273 linux_set_cloned_tls(struct thread *td, void *desc) in linux_set_cloned_tls() 317 linux_set_upcall_kse(struct thread *td, register_t stack) in linux_set_upcall_kse() 332 linux_mmap2(struct thread *td, struct linux_mmap2_args *args) in linux_mmap2() 341 linux_mmap(struct thread *td, struct linux_mmap_args *args) in linux_mmap() 356 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) in linux_mprotect() 363 linux_madvise(struct thread *td, struct linux_madvise_args *uap) in linux_madvise() 370 linux_ioperm(struct thread *td, struct linux_ioperm_args *args) in linux_ioperm() 383 linux_iopl(struct thread *td, struct linux_iopl_args *args) in linux_iopl() [all …]
|
| /f-stack/freebsd/i386/i386/ |
| H A D | vm_machdep.c | 92 get_pcb_user_save_td(struct thread *td) in get_pcb_user_save_td() 112 get_pcb_td(struct thread *td) in get_pcb_td() 288 cpu_exit(struct thread *td) in cpu_exit() 305 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 321 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 338 cpu_thread_swapin(struct thread *td) in cpu_thread_swapin() 343 cpu_thread_swapout(struct thread *td) in cpu_thread_swapout() 348 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 366 cpu_thread_free(struct thread *td) in cpu_thread_free() 388 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() [all …]
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_machdep.c | 129 linux_execve(struct thread *td, struct linux_execve_args *args) in linux_execve() 218 linux_readv(struct thread *td, struct linux_readv_args *uap) in linux_readv() 232 linux_writev(struct thread *td, struct linux_writev_args *uap) in linux_writev() 251 linux_ipc(struct thread *td, struct linux_ipc_args *args) in linux_ipc() 395 linux_set_cloned_tls(struct thread *td, void *desc) in linux_set_cloned_tls() 427 linux_set_upcall_kse(struct thread *td, register_t stack) in linux_set_upcall_kse() 442 linux_mmap2(struct thread *td, struct linux_mmap2_args *args) in linux_mmap2() 451 linux_mmap(struct thread *td, struct linux_mmap_args *args) in linux_mmap() 480 linux_iopl(struct thread *td, struct linux_iopl_args *args) in linux_iopl() 564 linux_pause(struct thread *td, struct linux_pause_args *args) in linux_pause() [all …]
|