/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/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_save_thread_regs(struct thread *td) in cpu_save_thread_regs() 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/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 | 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()
|
/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_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_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_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()
|
H A D | linux_event.c | 104 epoll_create_common(struct thread *td, int flags) in epoll_create_common() 112 linux_epoll_create(struct thread *td, struct linux_epoll_create_args *args) in linux_epoll_create() 127 linux_epoll_create1(struct thread *td, struct linux_epoll_create1_args *args) in linux_epoll_create1() 143 epoll_to_kevent(struct thread *td, int fd, struct epoll_event *l_event, in epoll_to_kevent() 283 linux_epoll_ctl(struct thread *td, struct linux_epoll_ctl_args *args) in linux_epoll_ctl() 370 linux_epoll_wait_ts(struct thread *td, int epfd, struct epoll_event *events, in linux_epoll_wait_ts() 432 linux_epoll_wait_common(struct thread *td, int epfd, struct epoll_event *events, in linux_epoll_wait_common() 456 linux_epoll_wait(struct thread *td, struct linux_epoll_wait_args *args) in linux_epoll_wait() 465 linux_epoll_pwait(struct thread *td, struct linux_epoll_pwait_args *args) in linux_epoll_pwait() 481 linux_epoll_pwait2_64(struct thread *td, struct linux_epoll_pwait2_64_args *args) in linux_epoll_pwait2_64() [all …]
|
/freebsd/sys/security/mac/ |
H A D | mac_syscalls.c | 82 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) in sys___mac_get_pid() 131 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) in sys___mac_get_proc() 164 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) in sys___mac_set_proc() 225 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) in sys___mac_get_fd() 319 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) in sys___mac_get_file() 326 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap) in sys___mac_get_link() 333 kern___mac_get_path(struct thread *td, const char *path_p, struct mac *mac_p, in kern___mac_get_path() 385 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) in sys___mac_set_fd() 487 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap) in sys___mac_set_file() 494 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap) in sys___mac_set_link() [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | vm_machdep.c | 117 cpu_set_syscall_retval(struct thread *td, int error) in cpu_thread_swapin() argument 122 cpu_thread_swapout(struct thread * td) cpu_thread_swapout() argument 127 cpu_set_syscall_retval(struct thread * td,int error) cpu_set_syscall_retval() argument 161 cpu_copy_thread(struct thread * td,struct thread * td0) cpu_copy_thread() argument 182 cpu_set_upcall(struct thread * td,void (* entry)(void *),void * arg,stack_t * stack) cpu_set_upcall() argument 196 cpu_set_user_tls(struct thread * td,void * tls_base) cpu_set_user_tls() argument 212 cpu_thread_exit(struct thread * td) cpu_thread_exit() argument 217 cpu_thread_alloc(struct thread * td) cpu_thread_alloc() argument 227 cpu_thread_free(struct thread * td) cpu_thread_free() argument 232 cpu_thread_clean(struct thread * td) cpu_thread_clean() argument 243 cpu_fork_kthread_handler(struct thread * td,void (* func)(void *),void * arg) cpu_fork_kthread_handler() argument 253 cpu_exit(struct thread * td) cpu_exit() argument [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 | 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/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 …]
|
H A D | exec_machdep.c | 113 struct thread *td; in sendsig() local 226 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) in sys_sigreturn() 330 freebsd4_sigreturn(struct thread *td, struct freebsd4_sigreturn_args *uap) in freebsd4_sigreturn() 369 exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) in exec_setregs() 411 fill_regs(struct thread *td, struct reg *regs) in fill_regs() 460 set_regs(struct thread *td, struct reg *regs) in set_regs() 561 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() 574 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() 588 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) in get_mcontext() 647 set_mcontext(struct thread *td, mcontext_t *mcp) in set_mcontext() [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_exit(struct thread *td) in cpu_exit()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 223 freebsd32_wait4(struct thread *td, struct freebsd32_wait4_args *uap) in freebsd32_wait4() 246 freebsd32_wait6(struct thread *td, struct freebsd32_wait6_args *uap) in freebsd32_wait6() 313 freebsd32_getfsstat(struct thread *td, struct freebsd32_getfsstat_args *uap) in freebsd32_getfsstat() 329 freebsd4_freebsd32_getfsstat(struct thread *td, in freebsd4_freebsd32_getfsstat() 360 freebsd11_freebsd32_getfsstat(struct thread *td, in freebsd11_freebsd32_getfsstat() 369 freebsd32_sigaltstack(struct thread *td, in freebsd32_sigaltstack() 469 freebsd32_execve(struct thread *td, struct freebsd32_execve_args *uap) in freebsd32_execve() 488 freebsd32_fexecve(struct thread *td, struct freebsd32_fexecve_args *uap) in freebsd32_fexecve() 509 freebsd32_mknodat(struct thread *td, struct freebsd32_mknodat_args *uap) in freebsd32_mknodat() 517 freebsd32_mprotect(struct thread *td, struct freebsd32_mprotect_args *uap) in freebsd32_mprotect() [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() argument 108 get_pcb_td(struct thread *td) in get_pcb_td() argument 301 x86_set_fork_retval(struct thread *td) in x86_set_fork_retval() argument 317 cpu_fork_kthread_handler(struct thread *td, void (*func)(void *), void *arg) in cpu_fork_kthread_handler() argument 328 cpu_exit(struct thread * td) cpu_exit() argument 345 cpu_thread_exit(struct thread * td) cpu_thread_exit() argument 361 cpu_thread_clean(struct thread * td) cpu_thread_clean() argument 378 cpu_thread_swapin(struct thread * td) cpu_thread_swapin() argument 383 cpu_thread_swapout(struct thread * td) cpu_thread_swapout() argument 388 cpu_thread_alloc(struct thread * td) cpu_thread_alloc() argument 406 cpu_thread_free(struct thread * td) cpu_thread_free() argument 428 cpu_set_syscall_retval(struct thread * td,int error) cpu_set_syscall_retval() argument 464 cpu_copy_thread(struct thread * td,struct thread * td0) cpu_copy_thread() argument 490 cpu_set_upcall(struct thread * td,void (* entry)(void *),void * arg,stack_t * stack) cpu_set_upcall() argument 524 cpu_set_user_tls(struct thread * td,void * tls_base) cpu_set_user_tls() argument [all...] |
H A D | ptrace_machdep.c | 53 get_segbases(struct regset *rs, struct thread *td, void *buf, in get_segbases() 69 set_segbases(struct regset *rs, struct thread *td, void *buf, in set_segbases() 94 cpu_ptrace_xstate(struct thread *td, int req, void *addr, int data) in cpu_ptrace_xstate() 165 cpu_ptrace_xmm(struct thread *td, int req, void *addr, int data) in cpu_ptrace_xmm() 202 cpu_ptrace(struct thread *td, int req, void *addr, int data) in cpu_ptrace() 250 ptrace_set_pc(struct thread *td, u_long addr) in ptrace_set_pc() 258 ptrace_single_step(struct thread *td) in ptrace_single_step() 270 ptrace_clear_single_step(struct thread *td) in ptrace_clear_single_step()
|