/freebsd/sys/powerpc/powerpc/ |
H A D | exec_machdep.c | 155 struct thread *td; in sendsig() local 336 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) in sys_sigreturn() 369 freebsd4_sigreturn(struct thread *td, struct freebsd4_sigreturn_args *uap) in freebsd4_sigreturn() 396 grab_mcontext(struct thread *td, mcontext_t *mcp, int flags) in grab_mcontext() 464 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext() 479 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext() 567 cleanup_power_extras(struct thread *td) in cleanup_power_extras() 596 cpu_update_pcb(struct thread *td) in cpu_update_pcb() 657 exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) in exec_setregs() 703 ppc32_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) in ppc32_setregs() [all …]
|
/freebsd/sys/security/audit/ |
H A D | audit_syscalls.c | 68 sys_audit(struct thread *td, struct audit_args *uap) in sys_audit() 161 sys_auditon(struct thread *td, struct auditon_args *uap) in sys_auditon() 591 sys_getauid(struct thread *td, struct getauid_args *uap) in sys_getauid() 606 sys_setauid(struct thread *td, struct setauid_args *uap) in sys_setauid() 646 sys_getaudit(struct thread *td, struct getaudit_args *uap) in sys_getaudit() 671 sys_setaudit(struct thread *td, struct setaudit_args *uap) in sys_setaudit() 714 sys_getaudit_addr(struct thread *td, struct getaudit_addr_args *uap) in sys_getaudit_addr() 731 sys_setaudit_addr(struct thread *td, struct setaudit_addr_args *uap) in sys_setaudit_addr() 774 sys_auditctl(struct thread *td, struct auditctl_args *uap) in sys_auditctl() 841 sys_audit(struct thread *td, struct audit_args *uap) in sys_audit() [all …]
|
/freebsd/sys/kern/ |
H A D | sched_4bsd.c | 117 #define THREAD_CAN_SCHED(td, cpu) \ argument 303 maybe_resched(struct thread *td) in maybe_resched() argument 318 maybe_preempt(struct thread * td) maybe_preempt() argument 464 struct thread *td; schedcpu() local 577 updatepri(struct thread * td) updatepri() argument 602 resetpriority(struct thread * td) resetpriority() argument 621 resetpriority_thread(struct thread * td) resetpriority_thread() argument 723 sched_clock_tick(struct thread * td) sched_clock_tick() argument 768 sched_clock(struct thread * td,int cnt) sched_clock() argument 779 sched_exit(struct proc * p,struct thread * td) sched_exit() argument 790 sched_exit_thread(struct thread * td,struct thread * child) sched_exit_thread() argument 806 sched_fork(struct thread * td,struct thread * childtd) sched_fork() argument 812 sched_fork_thread(struct thread * td,struct thread * childtd) sched_fork_thread() argument 833 struct thread *td; sched_nice() local 846 sched_class(struct thread * td,int class) sched_class() argument 856 sched_priority(struct thread * td,u_char prio) sched_priority() argument 885 sched_lend_prio(struct thread * td,u_char prio) sched_lend_prio() argument 901 sched_unlend_prio(struct thread * td,u_char prio) sched_unlend_prio() argument 918 sched_prio(struct thread * td,u_char prio) sched_prio() argument 945 sched_ithread_prio(struct thread * td,u_char prio) sched_ithread_prio() argument 954 sched_user_prio(struct thread * td,u_char prio) sched_user_prio() argument 965 sched_lend_user_prio(struct thread * td,u_char prio) sched_lend_user_prio() argument 981 sched_lend_user_prio_cond(struct thread * td,u_char prio) sched_lend_user_prio_cond() argument 993 sched_sleep(struct thread * td,int pri) sched_sleep() argument 1006 sched_switch(struct thread * td,int flags) sched_switch() argument 1134 sched_wakeup(struct thread * td,int srqflags) sched_wakeup() argument 1285 sched_pickcpu(struct thread * td) sched_pickcpu() argument 1311 sched_add(struct thread * td,int flags) sched_add() argument 1459 sched_rem(struct thread * td) sched_rem() argument 1491 struct thread *td; sched_choose() local 1534 sched_preempt(struct thread * td) sched_preempt() argument 1551 sched_userret_slowpath(struct thread * td) sched_userret_slowpath() argument 1561 sched_bind(struct thread * td,int cpu) sched_bind() argument 1582 sched_unbind(struct thread * td) sched_unbind() argument 1590 sched_is_bound(struct thread * td) sched_is_bound() argument 1597 sched_relinquish(struct thread * td) sched_relinquish() argument 1622 sched_pctcpu(struct thread * td) sched_pctcpu() argument 1637 sched_pctcpu_delta(struct thread * td) sched_pctcpu_delta() argument 1666 sched_estcpu(struct thread * td) sched_estcpu() argument 1696 sched_throw_tail(struct thread * td) sched_throw_tail() argument 1732 sched_throw(struct thread * td) sched_throw() argument 1746 sched_fork_exit(struct thread * td) sched_fork_exit() argument 1765 sched_tdname(struct thread * td) sched_tdname() argument 1782 sched_clear_tdname(struct thread * td) sched_clear_tdname() argument 1792 sched_affinity(struct thread * td) sched_affinity() argument [all...] |
H A D | uipc_syscalls.c | 88 getsock_cap(struct thread *td, int fd, cap_rights_t *rightsp, in getsock_cap() argument 108 getsock(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp) in getsock() argument 132 sys_socket(struct thread *td, struc argument 139 kern_socket(struct thread * td,int domain,int type,int protocol) kern_socket() argument 181 sys_bind(struct thread * td,struct bind_args * uap) sys_bind() argument 195 kern_bindat(struct thread * td,int dirfd,int fd,struct sockaddr * sa) kern_bindat() argument 236 sys_bindat(struct thread * td,struct bindat_args * uap) sys_bindat() argument 250 sys_listen(struct thread * td,struct listen_args * uap) sys_listen() argument 257 kern_listen(struct thread * td,int s,int backlog) kern_listen() argument 281 accept1(struct thread * td,int s,struct sockaddr * uname,socklen_t * anamelen,int flags) accept1() argument 321 kern_accept(struct thread * td,int s,struct sockaddr * sa,struct file ** fp) kern_accept() argument 327 kern_accept4(struct thread * td,int s,struct sockaddr * sa,int flags,struct file ** fp) kern_accept4() argument 427 sys_accept(struct thread * td,struct accept_args * uap) sys_accept() argument 434 sys_accept4(struct thread * td,struct accept4_args * uap) sys_accept4() argument 445 oaccept(struct thread * td,struct oaccept_args * uap) oaccept() argument 454 sys_connect(struct thread * td,struct connect_args * uap) sys_connect() argument 468 kern_connectat(struct thread * td,int dirfd,int fd,struct sockaddr * sa) kern_connectat() argument 530 sys_connectat(struct thread * td,struct connectat_args * uap) sys_connectat() argument 544 kern_socketpair(struct thread * td,int domain,int type,int protocol,int * rsv) kern_socketpair() argument 634 sys_socketpair(struct thread * td,struct socketpair_args * uap) sys_socketpair() argument 651 sendit(struct thread * td,int s,struct msghdr * mp,int flags) sendit() argument 714 kern_sendit(struct thread * td,int s,struct msghdr * mp,int flags,struct mbuf * control,enum uio_seg segflg) kern_sendit() argument 797 sys_sendto(struct thread * td,struct sendto_args * uap) sys_sendto() argument 818 osend(struct thread * td,struct osend_args * uap) osend() argument 835 osendmsg(struct thread * td,struct osendmsg_args * uap) osendmsg() argument 856 sys_sendmsg(struct thread * td,struct sendmsg_args * uap) sys_sendmsg() argument 879 kern_recvit(struct thread * td,int s,struct msghdr * mp,enum uio_seg fromseg,struct mbuf ** controlp) kern_recvit() argument 1034 recvit(struct thread * td,int s,struct msghdr * mp,void * namelenp) recvit() argument 1053 kern_recvfrom(struct thread * td,int s,void * buf,size_t len,int flags,struct sockaddr * from,socklen_t * fromlenaddr) kern_recvfrom() argument 1081 sys_recvfrom(struct thread * td,struct recvfrom_args * uap) sys_recvfrom() argument 1090 orecvfrom(struct thread * td,struct orecvfrom_args * uap) orecvfrom() argument 1099 orecv(struct thread * td,struct orecv_args * uap) orecv() argument 1121 orecvmsg(struct thread * td,struct orecvmsg_args * uap) orecvmsg() argument 1145 sys_recvmsg(struct thread * td,struct recvmsg_args * uap) sys_recvmsg() argument 1174 sys_shutdown(struct thread * td,struct shutdown_args * uap) sys_shutdown() argument 1181 kern_shutdown(struct thread * td,int s,int how) kern_shutdown() argument 1210 sys_setsockopt(struct thread * td,struct setsockopt_args * uap) sys_setsockopt() argument 1218 kern_setsockopt(struct thread * td,int s,int level,int name,const void * val,enum uio_seg valseg,socklen_t valsize) kern_setsockopt() argument 1258 sys_getsockopt(struct thread * td,struct getsockopt_args * uap) sys_getsockopt() argument 1282 kern_getsockopt(struct thread * td,int s,int level,int name,void * val,enum uio_seg valseg,socklen_t * valsize) kern_getsockopt() argument 1323 user_getsockname(struct thread * td,int fdes,struct sockaddr * asa,socklen_t * alen,bool compat) user_getsockname() argument 1352 kern_getsockname(struct thread * td,int fd,struct sockaddr * sa) kern_getsockname() argument 1373 sys_getsockname(struct thread * td,struct getsockname_args * uap) sys_getsockname() argument 1380 ogetsockname(struct thread * td,struct ogetsockname_args * uap) ogetsockname() argument 1387 user_getpeername(struct thread * td,int fdes,struct sockaddr * asa,socklen_t * alen,bool compat) user_getpeername() argument 1416 kern_getpeername(struct thread * td,int fd,struct sockaddr * sa) kern_getpeername() argument 1442 sys_getpeername(struct thread * td,struct getpeername_args * uap) sys_getpeername() argument 1449 ogetpeername(struct thread * td,struct ogetpeername_args * uap) ogetpeername() argument 1529 struct thread *td; m_dispose_extcontrolm() local [all...] |
H A D | kern_thread.c | 306 tidbatch_add(struct tidbatch *tb, struct thread *td) in tidbatch_add() 384 struct thread *td; in thread_ctor() local 414 struct thread *td; in thread_dtor() local 456 struct thread *td; in thread_init() local 476 struct thread *td; in thread_fini() local 495 proc_linkup0(struct proc *p, struct thread *td) in proc_linkup0() 502 proc_linkup(struct proc *p, struct thread *td) in proc_linkup() 517 ast_suspend(struct thread *td, int tda __unused) in ast_suspend() 597 thread_zombie(struct thread *td) in thread_zombie() 617 thread_stash(struct thread *td) in thread_stash() [all …]
|
H A D | vfs_acl.c | 224 vacl_set_acl(struct thread *td, struct vnode *vp, acl_type_t type, in vacl_set_acl() 262 vacl_get_acl(struct thread *td, struct vnode *vp, acl_type_t type, in vacl_get_acl() 294 vacl_delete(struct thread *td, struct vnode *vp, acl_type_t type) in vacl_delete() 325 vacl_aclcheck(struct thread *td, struct vnode *vp, acl_type_t type, in vacl_aclcheck() 351 sys___acl_get_file(struct thread *td, struct __acl_get_file_args *uap) in sys___acl_get_file() 362 sys___acl_get_link(struct thread *td, struct __acl_get_link_args *uap) in sys___acl_get_link() 370 kern___acl_get_path(struct thread *td, const char *path, acl_type_t type, in kern___acl_get_path() 390 sys___acl_set_file(struct thread *td, struct __acl_set_file_args *uap) in sys___acl_set_file() 401 sys___acl_set_link(struct thread *td, struct __acl_set_link_args *uap) in sys___acl_set_link() 409 kern___acl_set_path(struct thread *td, const char *path, in kern___acl_set_path() [all …]
|
H A D | kern_thr.c | 104 thr_create_initthr(struct thread * td,void * thunk) thr_create_initthr() argument 117 sys_thr_create(struct thread * td,struct thr_create_args * uap) sys_thr_create() argument 130 sys_thr_new(struct thread * td,struct thr_new_args * uap) sys_thr_new() argument 145 thr_new_initthr(struct thread * td,void * thunk) thr_new_initthr() argument 177 kern_thr_new(struct thread * td,struct thr_param * param) kern_thr_new() argument 193 thread_create(struct thread * td,struct rtprio * rtp,int (* initialize_thread)(struct thread *,void *),void * thunk) thread_create() argument 298 sys_thr_self(struct thread * td,struct thr_self_args * uap) sys_thr_self() argument 310 sys_thr_exit(struct thread * td,struct thr_exit_args * uap) sys_thr_exit() argument 326 kern_thr_exit(struct thread * td) kern_thr_exit() argument 389 sys_thr_kill(struct thread * td,struct thr_kill_args * uap) sys_thr_kill() argument 436 sys_thr_kill2(struct thread * td,struct thr_kill2_args * uap) sys_thr_kill2() argument 493 sys_thr_suspend(struct thread * td,struct thr_suspend_args * uap) sys_thr_suspend() argument 511 kern_thr_suspend(struct thread * td,struct timespec * tsp) kern_thr_suspend() argument 555 sys_thr_wake(struct thread * td,struct thr_wake_args * uap) sys_thr_wake() argument 579 sys_thr_set_name(struct thread * td,struct thr_set_name_args * uap) sys_thr_set_name() argument [all...] |
H A D | kern_procctl.c | 55 protect_setchild(struct thread *td, struct proc *p, int flags) in protect_setchild() 73 protect_setchildren(struct thread *td, struct proc *top, int flags) in protect_setchildren() 107 protect_set(struct thread *td, struct proc *p, void *data) in protect_set() 137 reap_acquire(struct thread *td, struct proc *p, void *data __unused) in reap_acquire() 154 reap_release(struct thread *td, struct proc *p, void *data __unused) in reap_release() 169 reap_status(struct thread *td, struct proc *p, void *data) in reap_status() 204 reap_getpids(struct thread *td, struct proc *p, void *data) in reap_getpids() 355 reap_kill_children(struct thread *td, struct proc *reaper, in reap_kill_children() 385 reap_kill_subtree_once(struct thread *td, struct proc *p, struct proc *reaper, in reap_kill_subtree_once() 490 reap_kill_subtree(struct thread *td, struct proc *p, struct proc *reaper, in reap_kill_subtree() [all …]
|
H A D | subr_trap.c | 86 userret(struct thread *td, struct trapframe *frame) in userret() 197 ast_prep(struct thread *td, int tda __unused) in ast_prep() 257 ast_sched_locked(struct thread *td, int tda) in ast_sched_locked() 266 ast_unsched_locked(struct thread *td, int tda) in ast_unsched_locked() 275 ast_sched(struct thread *td, int tda) in ast_sched() 283 ast_sched_mask(struct thread *td, int ast) in ast_sched_mask() 291 ast_handler_calc_tdp_run(struct thread *td, const struct ast_entry *ae) in ast_handler_calc_tdp_run() 301 ast_handler(struct thread *td, struct trapframe *framep, bool dtor) in ast_handler() 372 struct thread *td; in ast() local 380 ast_kclear(struct thread *td) in ast_kclear()
|
H A D | vfs_syscalls.c | 135 kern_sync(struct thread *td) in kern_sync() 172 sys_sync(struct thread *td, struct sync_args *uap) in sys_sync() 190 sys_quotactl(struct thread *td, struct quotactl_args *uap) in sys_quotactl() 276 kern_do_statfs(struct thread *td, struct mount *mp, struct statfs *buf) in kern_do_statfs() 313 sys_statfs(struct thread *td, struct statfs_args *uap) in sys_statfs() 327 kern_statfs(struct thread *td, const char *path, enum uio_seg pathseg, in kern_statfs() 354 sys_fstatfs(struct thread *td, struct fstatfs_args *uap) in sys_fstatfs() 368 kern_fstatfs(struct thread *td, int fd, struct statfs *buf) in kern_fstatfs() 403 sys_getfsstat(struct thread *td, struct getfsstat_args *uap) in sys_getfsstat() 423 kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize, in kern_getfsstat() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 99 linux_creat(struct thread *td, struct linux_creat_args *args) in linux_creat() 156 linux_common_open(struct thread *td, int dirfd, const char *path, int l_flags, in linux_common_open() 207 linux_openat(struct thread *td, struct linux_openat_args *args) in linux_openat() 218 linux_open(struct thread *td, struct linux_open_args *args) in linux_open() 227 linux_name_to_handle_at(struct thread *td, in linux_name_to_handle_at() 294 linux_open_by_handle_at(struct thread *td, in linux_open_by_handle_at() 313 linux_lseek(struct thread *td, struct linux_lseek_args *args) in linux_lseek() 321 linux_llseek(struct thread *td, struct linux_llseek_args *args) in linux_llseek() 354 linux_getdents_error(struct thread *td, int fd, int err) in linux_getdents_error() 401 linux_getdents(struct thread *td, struct linux_getdents_args *args) in linux_getdents() [all …]
|
H A D | linux_uid16.c | 70 linux_chown16(struct thread *td, struct linux_chown16_args *args) in linux_chown16() 78 linux_lchown16(struct thread *td, struct linux_lchown16_args *args) in linux_lchown16() 86 linux_setgroups16(struct thread *td, struct linux_setgroups16_args *args) in linux_setgroups16() 149 linux_getgroups16(struct thread *td, struct linux_getgroups16_args *args) in linux_getgroups16() 195 linux_getgid16(struct thread *td, struct linux_getgid16_args *args) in linux_getgid16() 204 linux_getuid16(struct thread *td, struct linux_getuid16_args *args) in linux_getuid16() 213 linux_getegid16(struct thread *td, struct linux_getegid16_args *args) in linux_getegid16() 224 linux_geteuid16(struct thread *td, struct linux_geteuid16_args *args) in linux_geteuid16() 235 linux_setgid16(struct thread *td, struct linux_setgid16_args *args) in linux_setgid16() 247 linux_setuid16(struct thread *td, struct linux_setuid16_args *args) in linux_setuid16() [all …]
|
H A D | linux_misc.c | 137 linux_sysinfo(struct thread *td, struct linux_sysinfo_args *args) in linux_sysinfo() 186 linux_alarm(struct thread *td, struct linux_alarm_args *args) in linux_alarm() 218 linux_brk(struct thread *td, struct linux_brk_args *args) in linux_brk() 235 linux_select(struct thread *td, struct linux_select_args *args) in linux_select() 302 linux_mremap(struct thread *td, struct linux_mremap_args *args) in linux_mremap() 345 linux_msync(struct thread *td, struct linux_msync_args *args) in linux_msync() 353 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) in linux_mprotect() 361 linux_madvise(struct thread *td, struct linux_madvise_args *uap) in linux_madvise() 369 linux_mmap2(struct thread *td, struct linux_mmap2_args *uap) in linux_mmap2() 387 linux_time(struct thread *td, struct linux_time_args *args) in linux_time() [all …]
|
H A D | linux_signal.c | 165 linux_do_sigaction(struct thread *td, int linux_sig, l_sigaction_t *linux_nsa, in linux_do_sigaction() 206 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) in linux_sigaltstack() 238 linux_signal(struct thread *td, struct linux_signal_args *args) in linux_signal() 255 linux_rt_sigaction(struct thread *td, struct linux_rt_sigaction_args *args) in linux_rt_sigaction() 280 linux_do_sigprocmask(struct thread *td, int how, sigset_t *new, in linux_do_sigprocmask() 310 linux_sigprocmask(struct thread *td, struct linux_sigprocmask_args *args) in linux_sigprocmask() 348 linux_rt_sigprocmask(struct thread *td, struct linux_rt_sigprocmask_args *args) in linux_rt_sigprocmask() 375 linux_sgetmask(struct thread *td, struct linux_sgetmask_args *args) in linux_sgetmask() 392 linux_ssetmask(struct thread *td, struct linux_ssetmask_args *args) in linux_ssetmask() 416 linux_sigpending(struct thread *td, struct linux_sigpending_args *args) in linux_sigpending() [all …]
|
H A D | linux_emul.c | 62 em_find(struct thread *td) in em_find() 94 linux_set_default_openfiles(struct thread *td, struct proc *p) in linux_set_default_openfiles() 117 linux_set_default_stacksize(struct thread *td, struct proc *p) in linux_set_default_stacksize() 137 linux_proc_init(struct thread *td, struct thread *newtd, bool init_thread) in linux_proc_init() 193 struct thread *td = curthread; in linux_on_exit() local 212 linux_common_execve(struct thread *td, struct image_args *eargs) in linux_common_execve() 259 struct thread *td; in linux_on_exec() local 317 linux_thread_dtor(struct thread *td) in linux_thread_dtor() 332 linux_schedtail(struct thread *td) in linux_schedtail()
|
/freebsd/sys/amd64/amd64/ |
H A D | vm_machdep.c | 86 set_top_of_stack_td(struct thread *td) in set_top_of_stack_td() 93 get_pcb_user_save_td(struct thread *td) in get_pcb_user_save_td() 103 get_pcb_td(struct thread *td) in get_pcb_td() 112 struct thread *td; in get_pcb_user_save_pcb() local 303 x86_set_fork_retval(struct thread *td) in x86_set_fork_retval() 319 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) in cpu_fork_kthread_handler() 330 cpu_exit(struct thread *td) in cpu_exit() 341 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 360 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 378 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | vm_machdep.c | 61 cpu_set_pcb_frame(struct thread *td) in cpu_set_pcb_frame() 134 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() 168 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() 189 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, in cpu_set_upcall() 203 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() 219 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 224 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 230 cpu_thread_free(struct thread *td) in cpu_thread_free() 235 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 246 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) in cpu_fork_kthread_handler() [all …]
|
H A D | exec_machdep.c | 79 fill_regs(struct thread *td, struct reg *regs) in fill_regs() 99 set_regs(struct thread *td, struct reg *regs) in set_regs() 118 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs() 141 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs() 159 fill_dbregs(struct thread *td, struct dbreg *regs) in fill_dbregs() 166 set_dbregs(struct thread *td, struct dbreg *regs) in set_dbregs() 173 exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) in exec_setregs() 206 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) in get_mcontext() 231 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext() 265 get_fpcontext(struct thread *td, mcontext_t *mcp) in get_fpcontext() [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | exec_machdep.c | 70 fill_regs(struct thread *td, struct reg *regs) in fill_regs() 96 set_regs(struct thread *td, struct reg *regs) in set_regs() 147 fill_fpregs(struct thread *td, struct fpreg *regs) in fill_fpregs() 175 set_fpregs(struct thread *td, struct fpreg *regs) in set_fpregs() 191 fill_dbregs(struct thread *td, struct dbreg *regs) in fill_dbregs() 234 set_dbregs(struct thread *td, struct dbreg *regs) in set_dbregs() 331 fill_regs32(struct thread *td, struct reg32 *regs) in fill_regs32() 349 set_regs32(struct thread *td, struct reg32 *regs) in set_regs32() 369 fill_fpregs32(struct thread *td, struct fpreg32 *regs) in fill_fpregs32() 377 set_fpregs32(struct thread *td, struct fpreg32 *regs) in set_fpregs32() [all …]
|
H A D | vm_machdep.c | 141 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() 175 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() 206 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, in cpu_set_upcall() 228 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() 254 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 259 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 270 cpu_thread_free(struct thread *td) in cpu_thread_free() 275 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 286 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) in cpu_fork_kthread_handler() 294 cpu_update_pcb(struct thread *td) in cpu_update_pcb() [all …]
|
H A D | ptrace_machdep.c | 52 cpu_ptrace(struct thread *td, int req, void *arg, int data) in cpu_ptrace() 82 get_arm_vfp(struct regset *rs, struct thread *td, void *buf, size_t *sizep) in get_arm_vfp() 94 set_arm_vfp(struct regset *rs, struct thread *td, void *buf, in set_arm_vfp() 113 get_arm64_tls(struct regset *rs, struct thread *td, void *buf, in get_arm64_tls() 136 get_arm_tls(struct regset *rs, struct thread *td, void *buf, in get_arm_tls() 161 ptrace_set_pc(struct thread *td, u_long addr) in ptrace_set_pc() 169 ptrace_single_step(struct thread *td) in ptrace_single_step() 181 ptrace_clear_single_step(struct thread *td) in ptrace_clear_single_step()
|
/freebsd/sys/security/mac/ |
H A D | mac_syscalls.c | 164 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) in sys___mac_get_pid() 204 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) in sys___mac_get_proc() 234 mac_set_proc_prepare(struct thread *const td, const struct mac *const mac, in mac_set_proc_prepare() 268 mac_set_proc_core(struct thread *const td, struct ucred *const newcred, in mac_set_proc_core() 294 mac_set_proc_finish(struct thread *const td, bool proc_label_set, in mac_set_proc_finish() 307 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) in sys___mac_set_proc() 349 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) in sys___mac_get_fd() 432 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) in sys___mac_get_file() 439 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap) in sys___mac_get_link() 446 kern___mac_get_path(struct thread *td, const char *path_p, struct mac *mac_p, in kern___mac_get_path() [all …]
|
/freebsd/sys/arm/arm/ |
H A D | vm_machdep.c | 150 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() 188 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_copy_thread() 216 cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg, in cpu_set_upcall() 231 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() 241 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 246 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 259 cpu_thread_free(struct thread *td) in cpu_thread_free() 264 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 275 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) in cpu_fork_kthread_handler() 282 cpu_update_pcb(struct thread *td) in cpu_update_pcb() [all …]
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 225 freebsd32_wait4(struct thread *td, struct freebsd32_wait4_args *uap) in freebsd32_wait4() argument 248 freebsd32_wait6(struct thread *td, struct freebsd32_wait6_args *uap) in freebsd32_wait6() argument 315 freebsd32_getfsstat(struct thread *td, struct freebsd32_getfsstat_args *uap) in freebsd32_getfsstat() argument 331 freebsd4_freebsd32_getfsstat(struct thread *td, in freebsd4_freebsd32_getfsstat() argument 362 freebsd11_freebsd32_getfsstat(struct thread * td,struct freebsd11_freebsd32_getfsstat_args * uap) freebsd11_freebsd32_getfsstat() argument 371 freebsd32_sigaltstack(struct thread * td,struct freebsd32_sigaltstack_args * uap) freebsd32_sigaltstack() argument 471 freebsd32_execve(struct thread * td,struct freebsd32_execve_args * uap) freebsd32_execve() argument 490 freebsd32_fexecve(struct thread * td,struct freebsd32_fexecve_args * uap) freebsd32_fexecve() argument 511 freebsd32_mknodat(struct thread * td,struct freebsd32_mknodat_args * uap) freebsd32_mknodat() argument 519 freebsd32_mprotect(struct thread * td,struct freebsd32_mprotect_args * uap) freebsd32_mprotect() argument 533 freebsd32_mmap(struct thread * td,struct freebsd32_mmap_args * uap) freebsd32_mmap() argument 555 freebsd6_freebsd32_mmap(struct thread * td,struct freebsd6_freebsd32_mmap_args * uap) freebsd6_freebsd32_mmap() argument 579 ofreebsd32_mmap(struct thread * td,struct ofreebsd32_mmap_args * uap) ofreebsd32_mmap() argument 587 freebsd32_setitimer(struct thread * td,struct freebsd32_setitimer_args * uap) freebsd32_setitimer() argument 611 freebsd32_getitimer(struct thread * td,struct freebsd32_getitimer_args * uap) freebsd32_getitimer() argument 626 freebsd32_select(struct thread * td,struct freebsd32_select_args * uap) freebsd32_select() argument 649 freebsd32_pselect(struct thread * td,struct freebsd32_pselect_args * uap) freebsd32_pselect() argument 770 freebsd32_kevent(struct thread * td,struct freebsd32_kevent_args * uap) freebsd32_kevent() argument 866 freebsd11_freebsd32_kevent(struct thread * td,struct freebsd11_freebsd32_kevent_args * uap) freebsd11_freebsd32_kevent() argument 909 freebsd32_gettimeofday(struct thread * td,struct freebsd32_gettimeofday_args * uap) freebsd32_gettimeofday() argument 932 freebsd32_getrusage(struct thread * td,struct freebsd32_getrusage_args * uap) freebsd32_getrusage() argument 976 freebsd32_ptrace(struct thread * td,struct freebsd32_ptrace_args * uap) freebsd32_ptrace() argument 1234 freebsd32_readv(struct thread * td,struct freebsd32_readv_args * uap) freebsd32_readv() argument 1248 freebsd32_writev(struct thread * td,struct freebsd32_writev_args * uap) freebsd32_writev() argument 1262 freebsd32_preadv(struct thread * td,struct freebsd32_preadv_args * uap) freebsd32_preadv() argument 1276 freebsd32_pwritev(struct thread * td,struct freebsd32_pwritev_args * uap) freebsd32_pwritev() argument 1505 freebsd32_recvmsg(struct thread * td,struct freebsd32_recvmsg_args * uap) freebsd32_recvmsg() argument 1550 ofreebsd32_recvmsg(struct thread * td,struct ofreebsd32_recvmsg_args * uap) ofreebsd32_recvmsg() argument 1659 freebsd32_sendmsg(struct thread * td,struct freebsd32_sendmsg_args * uap) freebsd32_sendmsg() argument 1711 ofreebsd32_sendmsg(struct thread * td,struct ofreebsd32_sendmsg_args * uap) ofreebsd32_sendmsg() argument 1719 freebsd32_settimeofday(struct thread * td,struct freebsd32_settimeofday_args * uap) freebsd32_settimeofday() argument 1747 freebsd32_utimes(struct thread * td,struct freebsd32_utimes_args * uap) freebsd32_utimes() argument 1769 freebsd32_lutimes(struct thread * td,struct freebsd32_lutimes_args * uap) freebsd32_lutimes() argument 1790 freebsd32_futimes(struct thread * td,struct freebsd32_futimes_args * uap) freebsd32_futimes() argument 1811 freebsd32_futimesat(struct thread * td,struct freebsd32_futimesat_args * uap) freebsd32_futimesat() argument 1833 freebsd32_futimens(struct thread * td,struct freebsd32_futimens_args * uap) freebsd32_futimens() argument 1854 freebsd32_utimensat(struct thread * td,struct freebsd32_utimensat_args * uap) freebsd32_utimensat() argument 1876 freebsd32_adjtime(struct thread * td,struct freebsd32_adjtime_args * uap) freebsd32_adjtime() argument 1902 freebsd4_freebsd32_statfs(struct thread * td,struct freebsd4_freebsd32_statfs_args * uap) freebsd4_freebsd32_statfs() argument 1921 freebsd4_freebsd32_fstatfs(struct thread * td,struct freebsd4_freebsd32_fstatfs_args * uap) freebsd4_freebsd32_fstatfs() argument 1940 freebsd4_freebsd32_fhstatfs(struct thread * td,struct freebsd4_freebsd32_fhstatfs_args * uap) freebsd4_freebsd32_fhstatfs() argument 1961 freebsd32_pread(struct thread * td,struct freebsd32_pread_args * uap) freebsd32_pread() argument 1969 freebsd32_pwrite(struct thread * td,struct freebsd32_pwrite_args * uap) freebsd32_pwrite() argument 1978 ofreebsd32_lseek(struct thread * td,struct ofreebsd32_lseek_args * uap) ofreebsd32_lseek() argument 1986 freebsd32_lseek(struct thread * td,struct freebsd32_lseek_args * uap) freebsd32_lseek() argument 2001 freebsd32_truncate(struct thread * td,struct freebsd32_truncate_args * uap) freebsd32_truncate() argument 2010 ofreebsd32_truncate(struct thread * td,struct ofreebsd32_truncate_args * uap) ofreebsd32_truncate() argument 2017 freebsd32_ftruncate(struct thread * td,struct freebsd32_ftruncate_args * uap) freebsd32_ftruncate() argument 2025 ofreebsd32_ftruncate(struct thread * td,struct ofreebsd32_ftruncate_args * uap) ofreebsd32_ftruncate() argument 2031 ofreebsd32_getdirentries(struct thread * td,struct ofreebsd32_getdirentries_args * uap) ofreebsd32_getdirentries() argument 2054 freebsd11_freebsd32_getdirentries(struct thread * td,struct freebsd11_freebsd32_getdirentries_args * uap) freebsd11_freebsd32_getdirentries() argument 2076 freebsd6_freebsd32_pread(struct thread * td,struct freebsd6_freebsd32_pread_args * uap) freebsd6_freebsd32_pread() argument 2084 freebsd6_freebsd32_pwrite(struct thread * td,struct freebsd6_freebsd32_pwrite_args * uap) freebsd6_freebsd32_pwrite() argument 2092 freebsd6_freebsd32_lseek(struct thread * td,struct freebsd6_freebsd32_lseek_args * uap) freebsd6_freebsd32_lseek() argument 2107 freebsd6_freebsd32_truncate(struct thread * td,struct freebsd6_freebsd32_truncate_args * uap) freebsd6_freebsd32_truncate() argument 2115 freebsd6_freebsd32_ftruncate(struct thread * td,struct freebsd6_freebsd32_ftruncate_args * uap) freebsd6_freebsd32_ftruncate() argument 2130 freebsd32_do_sendfile(struct thread * td,struct freebsd32_sendfile_args * uap,int compat) freebsd32_do_sendfile() argument 2209 freebsd4_freebsd32_sendfile(struct thread * td,struct freebsd4_freebsd32_sendfile_args * uap) freebsd4_freebsd32_sendfile() argument 2218 freebsd32_sendfile(struct thread * td,struct freebsd32_sendfile_args * uap) freebsd32_sendfile() argument 2292 ofreebsd32_stat(struct thread * td,struct ofreebsd32_stat_args * uap) ofreebsd32_stat() argument 2308 freebsd32_fstat(struct thread * td,struct freebsd32_fstat_args * uap) freebsd32_fstat() argument 2324 ofreebsd32_fstat(struct thread * td,struct ofreebsd32_fstat_args * uap) ofreebsd32_fstat() argument 2340 freebsd32_fstatat(struct thread * td,struct freebsd32_fstatat_args * uap) freebsd32_fstatat() argument 2357 ofreebsd32_lstat(struct thread * td,struct ofreebsd32_lstat_args * uap) ofreebsd32_lstat() argument 2374 freebsd32_fhstat(struct thread * td,struct freebsd32_fhstat_args * uap) freebsd32_fhstat() argument 2475 freebsd11_freebsd32_stat(struct thread * td,struct freebsd11_freebsd32_stat_args * uap) freebsd11_freebsd32_stat() argument 2492 freebsd11_freebsd32_fstat(struct thread * td,struct freebsd11_freebsd32_fstat_args * uap) freebsd11_freebsd32_fstat() argument 2509 freebsd11_freebsd32_fstatat(struct thread * td,struct freebsd11_freebsd32_fstatat_args * uap) freebsd11_freebsd32_fstatat() argument 2527 freebsd11_freebsd32_lstat(struct thread * td,struct freebsd11_freebsd32_lstat_args * uap) freebsd11_freebsd32_lstat() argument 2545 freebsd11_freebsd32_fhstat(struct thread * td,struct freebsd11_freebsd32_fhstat_args * uap) freebsd11_freebsd32_fhstat() argument 2600 freebsd11_freebsd32_nstat(struct thread * td,struct freebsd11_freebsd32_nstat_args * uap) freebsd11_freebsd32_nstat() argument 2617 freebsd11_freebsd32_nlstat(struct thread * td,struct freebsd11_freebsd32_nlstat_args * uap) freebsd11_freebsd32_nlstat() argument 2635 freebsd11_freebsd32_nfstat(struct thread * td,struct freebsd11_freebsd32_nfstat_args * uap) freebsd11_freebsd32_nfstat() argument 2653 freebsd32___sysctl(struct thread * td,struct freebsd32___sysctl_args * uap) freebsd32___sysctl() argument 2683 freebsd32___sysctlbyname(struct thread * td,struct freebsd32___sysctlbyname_args * uap) freebsd32___sysctlbyname() argument 2708 freebsd32_jail(struct thread * td,struct freebsd32_jail_args * uap) freebsd32_jail() argument 2769 freebsd32_jail_set(struct thread * td,struct freebsd32_jail_set_args * uap) freebsd32_jail_set() argument 2787 freebsd32_jail_get(struct thread * td,struct freebsd32_jail_get_args * uap) freebsd32_jail_get() argument 2814 freebsd32_sigaction(struct thread * td,struct freebsd32_sigaction_args * uap) freebsd32_sigaction() argument 2842 freebsd4_freebsd32_sigaction(struct thread * td,struct freebsd4_freebsd32_sigaction_args * uap) freebsd4_freebsd32_sigaction() argument 2880 ofreebsd32_sigaction(struct thread * td,struct ofreebsd32_sigaction_args * uap) ofreebsd32_sigaction() argument 2917 ofreebsd32_sigvec(struct thread * td,struct ofreebsd32_sigvec_args * uap) ofreebsd32_sigvec() argument 2956 ofreebsd32_sigstack(struct thread * td,struct ofreebsd32_sigstack_args * uap) ofreebsd32_sigstack() argument 2991 freebsd32_nanosleep(struct thread * td,struct freebsd32_nanosleep_args * uap) freebsd32_nanosleep() argument 2999 freebsd32_clock_nanosleep(struct thread * td,struct freebsd32_clock_nanosleep_args * uap) freebsd32_clock_nanosleep() argument 3010 freebsd32_user_clock_nanosleep(struct thread * td,clockid_t clock_id,int flags,const struct timespec32 * ua_rqtp,struct timespec32 * ua_rmtp) freebsd32_user_clock_nanosleep() argument 3037 freebsd32_clock_gettime(struct thread * td,struct freebsd32_clock_gettime_args * uap) freebsd32_clock_gettime() argument 3054 freebsd32_clock_settime(struct thread * td,struct freebsd32_clock_settime_args * uap) freebsd32_clock_settime() argument 3071 freebsd32_clock_getres(struct thread * td,struct freebsd32_clock_getres_args * uap) freebsd32_clock_getres() argument 3089 freebsd32_ktimer_create(struct thread * td,struct freebsd32_ktimer_create_args * uap) freebsd32_ktimer_create() argument 3117 freebsd32_ktimer_settime(struct thread * td,struct freebsd32_ktimer_settime_args * uap) freebsd32_ktimer_settime() argument 3138 freebsd32_ktimer_gettime(struct thread * td,struct freebsd32_ktimer_gettime_args * uap) freebsd32_ktimer_gettime() argument 3154 freebsd32_timerfd_gettime(struct thread * td,struct freebsd32_timerfd_gettime_args * uap) freebsd32_timerfd_gettime() argument 3175 freebsd32_timerfd_settime(struct thread * td,struct freebsd32_timerfd_settime_args * uap) freebsd32_timerfd_settime() argument 3208 freebsd32_clock_getcpuclockid2(struct thread * td,struct freebsd32_clock_getcpuclockid2_args * uap) freebsd32_clock_getcpuclockid2() argument 3222 freebsd32_thr_new(struct thread * td,struct freebsd32_thr_new_args * uap) freebsd32_thr_new() argument 3255 freebsd32_thr_suspend(struct thread * td,struct freebsd32_thr_suspend_args * uap) freebsd32_thr_suspend() argument 3299 freebsd32_sigqueue(struct thread * td,struct freebsd32_sigqueue_args * uap) freebsd32_sigqueue() argument 3318 freebsd32_sigtimedwait(struct thread * td,struct freebsd32_sigtimedwait_args * uap) freebsd32_sigtimedwait() argument 3360 freebsd32_sigwaitinfo(struct thread * td,struct freebsd32_sigwaitinfo_args * uap) freebsd32_sigwaitinfo() argument 3385 freebsd32_cpuset_setid(struct thread * td,struct freebsd32_cpuset_setid_args * uap) freebsd32_cpuset_setid() argument 3394 freebsd32_cpuset_getid(struct thread * td,struct freebsd32_cpuset_getid_args * uap) freebsd32_cpuset_getid() argument 3461 freebsd32_cpuset_getaffinity(struct thread * td,struct freebsd32_cpuset_getaffinity_args * uap) freebsd32_cpuset_getaffinity() argument 3471 freebsd32_cpuset_setaffinity(struct thread * td,struct freebsd32_cpuset_setaffinity_args * uap) freebsd32_cpuset_setaffinity() argument 3481 freebsd32_cpuset_getdomain(struct thread * td,struct freebsd32_cpuset_getdomain_args * uap) freebsd32_cpuset_getdomain() argument 3491 freebsd32_cpuset_setdomain(struct thread * td,struct freebsd32_cpuset_setdomain_args * uap) freebsd32_cpuset_setdomain() argument 3501 freebsd32_nmount(struct thread * td,struct freebsd32_nmount_args * uap) freebsd32_nmount() argument 3758 freebsd32_kldstat(struct thread * td,struct freebsd32_kldstat_args * uap) freebsd32_kldstat() argument 3791 freebsd32_posix_fallocate(struct thread * td,struct freebsd32_posix_fallocate_args * uap) freebsd32_posix_fallocate() argument 3802 freebsd32_posix_fadvise(struct thread * td,struct freebsd32_posix_fadvise_args * uap) freebsd32_posix_fadvise() argument 3839 freebsd32_procctl(struct thread * td,struct freebsd32_procctl_args * uap) freebsd32_procctl() argument 3948 freebsd32_fcntl(struct thread * td,struct freebsd32_fcntl_args * uap) freebsd32_fcntl() argument 3977 freebsd32_ppoll(struct thread * td,struct freebsd32_ppoll_args * uap) freebsd32_ppoll() argument 4005 freebsd32_sched_rr_get_interval(struct thread * td,struct freebsd32_sched_rr_get_interval_args * uap) freebsd32_sched_rr_get_interval() argument 4066 freebsd32_ntp_adjtime(struct thread * td,struct freebsd32_ntp_adjtime_args * uap) freebsd32_ntp_adjtime() argument 4092 freebsd32_ffclock_setestimate(struct thread * td,struct freebsd32_ffclock_setestimate_args * uap) freebsd32_ffclock_setestimate() argument 4126 freebsd32_ffclock_getestimate(struct thread * td,struct freebsd32_ffclock_getestimate_args * uap) freebsd32_ffclock_getestimate() argument 4153 freebsd32_ffclock_setestimate(struct thread * td,struct freebsd32_ffclock_setestimate_args * uap) freebsd32_ffclock_setestimate() argument 4160 freebsd32_ffclock_getestimate(struct thread * td,struct freebsd32_ffclock_getestimate_args * uap) freebsd32_ffclock_getestimate() argument 4169 ofreebsd32_sethostid(struct thread * td,struct ofreebsd32_sethostid_args * uap) ofreebsd32_sethostid() argument 4181 freebsd32_setcred(struct thread * td,struct freebsd32_setcred_args * uap) freebsd32_setcred() argument [all...] |
/freebsd/sys/i386/i386/ |
H A D | vm_machdep.c | 88 get_pcb_user_save_td(struct thread *td) in get_pcb_user_save_td() 108 get_pcb_td(struct thread *td) in get_pcb_td() 301 x86_set_fork_retval(struct thread *td) in x86_set_fork_retval() 317 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) in cpu_fork_kthread_handler() 328 cpu_exit(struct thread *td) in cpu_exit() 345 cpu_thread_exit(struct thread *td) in cpu_thread_exit() 361 cpu_thread_clean(struct thread *td) in cpu_thread_clean() 378 cpu_thread_alloc(struct thread *td) in cpu_thread_alloc() 396 cpu_thread_free(struct thread *td) in cpu_thread_free() 418 cpu_set_syscall_retval(struct thread *td, int error) in cpu_set_syscall_retval() [all …]
|