/freebsd-11-stable/sys/kern/ |
H A D | kern_prot.c | 102 sys_getpid(struct thread *td, struct getpid_args *uap) argument 104 struct proc *p = td->td_proc; 106 td->td_retval[0] = p->p_pid; 108 td->td_retval[1] = kern_getppid(td); 120 sys_getppid(struct thread *td, struct getppid_args *uap) argument 123 td->td_retval[0] = kern_getppid(td); 128 kern_getppid(struct thread *td) argument 130 struct proc *p = td 158 sys_getpgrp(struct thread *td, struct getpgrp_args *uap) argument 175 sys_getpgid(struct thread *td, struct getpgid_args *uap) argument 207 sys_getsid(struct thread *td, struct getsid_args *uap) argument 237 sys_getuid(struct thread *td, struct getuid_args *uap) argument 254 sys_geteuid(struct thread *td, struct geteuid_args *uap) argument 268 sys_getgid(struct thread *td, struct getgid_args *uap) argument 290 sys_getegid(struct thread *td, struct getegid_args *uap) argument 304 sys_getgroups(struct thread *td, struct getgroups_args *uap) argument 333 sys_setsid(struct thread *td, struct setsid_args *uap) argument 391 sys_setpgid(struct thread *td, struct setpgid_args *uap) argument 491 sys_setuid(struct thread *td, struct setuid_args *uap) argument 610 sys_seteuid(struct thread *td, struct seteuid_args *uap) argument 666 sys_setgid(struct thread *td, struct setgid_args *uap) argument 764 sys_setegid(struct thread *td, struct setegid_args *uap) argument 811 sys_setgroups(struct thread *td, struct setgroups_args *uap) argument 837 kern_setgroups(struct thread *td, u_int ngrp, gid_t *groups) argument 891 sys_setreuid(struct thread *td, struct setreuid_args *uap) argument 966 sys_setregid(struct thread *td, struct setregid_args *uap) argument 1031 sys_setresuid(struct thread *td, struct setresuid_args *uap) argument 1118 sys_setresgid(struct thread *td, struct setresgid_args *uap) argument 1185 sys_getresuid(struct thread *td, struct getresuid_args *uap) argument 1212 sys_getresgid(struct thread *td, struct getresgid_args *uap) argument 1237 sys_issetugid(struct thread *td, struct issetugid_args *uap) argument 1254 sys___setugid(struct thread *td, struct __setugid_args *uap) argument 1443 p_cansee(struct thread *td, struct proc *p) argument 1551 p_cansignal(struct thread *td, struct proc *p, int signum) argument 1592 p_cansched(struct thread *td, struct proc *p) argument 1644 p_candebug(struct thread *td, struct proc *p) argument 1803 p_canwait(struct thread *td, struct proc *p) argument 2110 sys_getlogin(struct thread *td, struct getlogin_args *uap) argument 2138 sys_setlogin(struct thread *td, struct setlogin_args *uap) argument [all...] |
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_timer.c | 92 linux_timer_create(struct thread *td, struct linux_timer_create_args *uap) argument 113 error = kern_ktimer_create(td, nwhich, evp, &id, -1); 117 kern_ktimer_delete(td, id); 123 linux_timer_settime(struct thread *td, struct linux_timer_settime_args *uap) argument 134 error = kern_ktimer_settime(td, uap->timerid, uap->flags, &val, ovalp); 143 linux_timer_gettime(struct thread *td, struct linux_timer_gettime_args *uap) argument 149 error = kern_ktimer_gettime(td, uap->timerid, &val); 158 linux_timer_getoverrun(struct thread *td, struct linux_timer_getoverrun_args *uap) argument 161 return (kern_ktimer_getoverrun(td, uap->timerid)); 165 linux_timer_delete(struct thread *td, struc argument [all...] |
H A D | linux_util.h | 55 #define LCONVPATH_AT(td, upath, pathp, i, dfd) \ 59 _error = linux_emul_convpath(td, upath, UIO_USERSPACE, \ 65 #define LCONVPATH(td, upath, pathp, i) \ 66 LCONVPATH_AT(td, upath, pathp, i, AT_FDCWD) 68 #define LCONVPATHEXIST(td, upath, pathp) LCONVPATH(td, upath, pathp, 0) 69 #define LCONVPATHEXIST_AT(td, upath, pathp, dfd) LCONVPATH_AT(td, upath, pathp, 0, dfd) 70 #define LCONVPATHCREAT(td, upath, pathp) LCONVPATH(td, upat [all...] |
H A D | linux_event.c | 100 static void epoll_fd_install(struct thread *td, int fd, epoll_udata_t udata); 101 static int epoll_to_kevent(struct thread *td, struct file *epfp, 107 static int epoll_delete_event(struct thread *td, struct file *epfp, 109 static int epoll_delete_all_events(struct thread *td, struct file *epfp, 218 static int eventfd_create(struct thread *td, uint32_t initval, int flags); 224 epoll_fd_install(struct thread *td, int fd, epoll_udata_t udata) argument 230 p = td->td_proc; 253 epoll_create_common(struct thread *td, int flags) argument 257 error = kern_kqueue(td, flags, NULL); 261 epoll_fd_install(td, EPOLL_DEF_S 268 linux_epoll_create(struct thread *td, struct linux_epoll_create_args *args) argument 283 linux_epoll_create1(struct thread *td, struct linux_epoll_create1_args *args) argument 299 epoll_to_kevent(struct thread *td, struct file *epfp, int fd, struct epoll_event *l_event, int *kev_flags, struct kevent *kevent, int *nkevents) argument 444 linux_epoll_ctl(struct thread *td, struct linux_epoll_ctl_args *args) argument 542 linux_epoll_wait_common(struct thread *td, int epfd, struct epoll_event *events, int maxevents, int timeout, sigset_t *uset) argument 623 linux_epoll_wait(struct thread *td, struct linux_epoll_wait_args *args) argument 632 linux_epoll_pwait(struct thread *td, struct linux_epoll_pwait_args *args) argument 653 epoll_delete_event(struct thread *td, struct file *epfp, int fd, int filter) argument 668 epoll_delete_all_events(struct thread *td, struct file *epfp, int fd) argument 680 eventfd_create(struct thread *td, uint32_t initval, int flags) argument 716 linux_eventfd(struct thread *td, struct linux_eventfd_args *args) argument 724 linux_eventfd2(struct thread *td, struct linux_eventfd2_args *args) argument 734 eventfd_close(struct file *fp, struct thread *td) argument 753 eventfd_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument 799 eventfd_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument 845 eventfd_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument 935 eventfd_ioctl(struct file *fp, u_long cmd, void *data, struct ucred *active_cred, struct thread *td) argument 959 eventfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred, struct thread *td) argument 976 linux_timerfd_create(struct thread *td, struct linux_timerfd_create_args *args) argument 1021 timerfd_close(struct file *fp, struct thread *td) argument 1047 timerfd_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument 1090 timerfd_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument 1152 timerfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred, struct thread *td) argument 1197 linux_timerfd_gettime(struct thread *td, struct linux_timerfd_gettime_args *args) argument 1229 linux_timerfd_settime(struct thread *td, struct linux_timerfd_settime_args *args) argument [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | fixup_tdescs.c | 53 fix_ptrptr_to_struct(tdata_t *td) argument 91 p2->t_id = td->td_nextid++; 96 p1->t_id = td->td_nextid++; 107 fix_ptr_to_struct(tdata_t *td) argument 140 ptr->t_id = td->td_nextid++; 154 cvt_fixstabs(tdata_t *td) argument 156 fix_ptrptr_to_struct(td); 157 fix_ptr_to_struct(td); 181 lookup_tdesc(tdata_t *td, char const *name) argument 184 iter_iidescs_by_name(td, nam 200 fix_small_cpu_struct(tdata_t *td, size_t ptrsize) argument 276 cvt_fixups(tdata_t *td, size_t ptrsize) argument [all...] |
/freebsd-11-stable/sys/amd64/linux/ |
H A D | linux_ptrace.c | 203 linux_ptrace_peek(struct thread *td, pid_t pid, void *addr, void *data) argument 207 error = kern_ptrace(td, PT_READ_I, pid, addr, 0); 209 error = copyout(td->td_retval, data, sizeof(l_int)); 210 td->td_retval[0] = error; 216 linux_ptrace_setoptions(struct thread *td, pid_t pid, l_ulong data) argument 260 return (kern_ptrace(td, PT_SET_EVENT_MASK, pid, &mask, sizeof(mask))); 264 linux_ptrace_getregs(struct thread *td, pid_t pid, void *data) argument 271 error = kern_ptrace(td, PT_GETREGS, pid, &b_reg, 0); 281 error = kern_ptrace(td, PT_LWPINFO, pid, &lwpinfo, sizeof(lwpinfo)); 294 linux_ptrace_setregs(struct thread *td, pid_ argument 309 linux_ptrace_getregset(struct thread *td, pid_t pid, l_ulong addr, l_ulong data) argument 325 linux_ptrace_seize(struct thread *td, pid_t pid, l_ulong addr, l_ulong data) argument 333 linux_ptrace(struct thread *td, struct linux_ptrace_args *uap) argument [all...] |
/freebsd-11-stable/sys/security/audit/ |
H A D | audit_syscalls.c | 63 sys_audit(struct thread *td, struct audit_args *uap) argument 69 if (jailed(td->td_ucred)) 71 error = priv_check(td, PRIV_AUDIT_SUBMIT); 94 td->td_ar = audit_new(AUE_NULL, td); 95 if (td->td_ar == NULL) 97 td->td_pflags |= TDP_AUDITREC; 98 ar = td->td_ar; 117 error = mac_system_check_audit(td->td_ucred, rec, uap->length); 157 sys_auditon(struct thread *td, struc argument 563 sys_getauid(struct thread *td, struct getauid_args *uap) argument 578 sys_setauid(struct thread *td, struct setauid_args *uap) argument 618 sys_getaudit(struct thread *td, struct getaudit_args *uap) argument 643 sys_setaudit(struct thread *td, struct setaudit_args *uap) argument 686 sys_getaudit_addr(struct thread *td, struct getaudit_addr_args *uap) argument 703 sys_setaudit_addr(struct thread *td, struct setaudit_addr_args *uap) argument 746 sys_auditctl(struct thread *td, struct auditctl_args *uap) argument 812 sys_audit(struct thread *td, struct audit_args *uap) argument 819 sys_auditon(struct thread *td, struct auditon_args *uap) argument 826 sys_getauid(struct thread *td, struct getauid_args *uap) argument 833 sys_setauid(struct thread *td, struct setauid_args *uap) argument 840 sys_getaudit(struct thread *td, struct getaudit_args *uap) argument 847 sys_setaudit(struct thread *td, struct setaudit_args *uap) argument 854 sys_getaudit_addr(struct thread *td, struct getaudit_addr_args *uap) argument 861 sys_setaudit_addr(struct thread *td, struct setaudit_addr_args *uap) argument 868 sys_auditctl(struct thread *td, struct auditctl_args *uap) argument [all...] |
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | uss820dci.c | 249 uss820dci_setup_rx(struct uss820dci_softc *sc, struct uss820dci_td *td) argument 257 USS820_WRITE_1(sc, USS820_EPINDEX, td->ep_index); 262 DPRINTFN(5, "rx_stat=0x%02x rem=%u\n", rx_stat, td->remainder); 268 td->did_stall = 0; 287 if (count != td->remainder) { 321 usbd_copy_in(td->pc, 0, &req, sizeof(req)); 323 td->offset = sizeof(req); 324 td->remainder = 0; 354 if (!td->did_stall) { 360 td 374 uss820dci_data_rx(struct uss820dci_softc *sc, struct uss820dci_td *td) argument 500 uss820dci_data_tx(struct uss820dci_softc *sc, struct uss820dci_td *td) argument 606 uss820dci_data_tx_sync(struct uss820dci_softc *sc, struct uss820dci_td *td) argument 653 struct uss820dci_td *td; local 697 struct uss820dci_td *td; local 860 struct uss820dci_td *td; local 886 struct uss820dci_td *td; local 1127 struct uss820dci_td *td; local 2348 struct uss820dci_td *td; local [all...] |
H A D | uhci.c | 98 static void uhci_dump_tds(uhci_td_t *td); 140 uhci_td_t *td; member in struct:uhci_std_temp 215 uhci_mem_layout_fixup(struct uhci_mem_layout *ml, struct uhci_td *td) argument 219 if (ml->buf_res.length < td->len) { 225 td->td_buffer = htole32(ml->fix_res.physaddr); 242 if ((td->td_token & htole32(UHCI_TD_PID)) == 244 td->fix_pc = ml->fix_pc; 248 td->fix_pc = NULL; 253 ml->fix_res.buffer, td->len); 264 td 436 struct uhci_td *td; local 815 uhci_dump_tds(uhci_td_t *td) argument 1013 uhci_td_t *td = xfer->td_transfer_first; local 1075 uhci_td_t *td; local 1251 uhci_td_t *td; local 1312 uhci_td_t *td; local 1525 uhci_td_t *td; local 1667 uhci_td_t *td; local 1918 uhci_td_t *td; local 1976 uhci_td_t *td; local 2069 uhci_td_t *td; local 2105 uhci_td_t *td; local 2150 uhci_td_t *td; local 2966 uhci_td_t *td; local [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | machdep.c | 216 struct thread *td; local 219 td = curthread; 220 if (td->td_md.md_spinlock_count == 0) { 223 td->td_md.md_spinlock_count = 1; 224 td->td_md.md_saved_pil = pil; 226 td->td_md.md_spinlock_count++; 233 struct thread *td; local 236 td = curthread; 238 pil = td->td_md.md_saved_pil; 239 td 607 struct thread *td; local 710 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) argument 757 get_mcontext(struct thread *td, mcontext_t *mc, int flags) argument 812 set_mcontext(struct thread *td, mcontext_t *mc) argument 954 ptrace_set_pc(struct thread *td, u_long addr) argument 963 ptrace_single_step(struct thread *td) argument 971 ptrace_clear_single_step(struct thread *td) argument 979 exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) argument 1015 fill_regs(struct thread *td, struct reg *regs) argument 1023 set_regs(struct thread *td, struct reg *regs) argument 1036 fill_dbregs(struct thread *td, struct dbreg *dbregs) argument 1043 set_dbregs(struct thread *td, struct dbreg *dbregs) argument 1050 fill_fpregs(struct thread *td, struct fpreg *fpregs) argument 1065 set_fpregs(struct thread *td, struct fpreg *fpregs) argument [all...] |
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | sys_machdep.c | 42 sysarch(struct thread *td, struct sysarch_args *uap) argument
|
H A D | machdep.c | 173 fill_regs(struct thread *td, struct reg *regs) argument 177 frame = td->td_frame; 189 set_regs(struct thread *td, struct reg *regs) argument 193 frame = td->td_frame; 206 fill_fpregs(struct thread *td, struct fpreg *regs) argument 211 pcb = td->td_pcb; 217 if (td == curthread) 218 vfp_save_state(td, pcb); 230 set_fpregs(struct thread *td, struct fpreg *regs) argument 235 pcb = td 244 fill_dbregs(struct thread *td, struct dbreg *regs) argument 252 set_dbregs(struct thread *td, struct dbreg *regs) argument 260 ptrace_set_pc(struct thread *td, u_long addr) argument 268 ptrace_single_step(struct thread *td) argument 277 ptrace_clear_single_step(struct thread *td) argument 286 exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) argument 310 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) argument 333 set_mcontext(struct thread *td, mcontext_t *mcp) argument 354 get_fpcontext(struct thread *td, mcontext_t *mcp) argument 383 set_fpcontext(struct thread *td, mcontext_t *mcp) argument 475 struct thread *td; local 491 struct thread *td; local 509 sys_sigreturn(struct thread *td, struct sigreturn_args *uap) argument 553 struct thread *td; local [all...] |
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | sys_machdep.c | 45 sysarch(struct thread *td, struct sysarch_args *uap) argument
|
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_arm.c | 80 struct thread *td; local 86 td = curthread; 93 stackstart = (uintptr_t) td->td_kstack; 94 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; 129 struct thread *td; local 135 td = curthread;
|
H A D | hwpmc_arm64_md.c | 66 struct thread *td; local 72 td = curthread; 79 stackstart = (uintptr_t) td->td_kstack; 80 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; 115 struct thread *td; local 121 td = curthread;
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_stream.c | 278 clean_pipe(td, path) 279 struct thread *td; 285 error = kern_statat(td, AT_SYMLINK_NOFOLLOW, AT_FDCWD, path, 297 error = kern_unlinkat(td, AT_FDCWD, path, UIO_SYSSPACE, 0); 424 si_ogetudata(fp, fd, ioc, td) 428 struct thread *td; 481 si_sockparams(fp, fd, ioc, td) 485 struct thread *td; 495 si_listen(fp, fd, ioc, td) 499 struct thread *td; [all...] |
/freebsd-11-stable/sys/dev/io/ |
H A D | iodev.c | 45 struct thread *td); 47 struct thread *td); 49 int fflag, struct thread *td); 67 struct thread *td) 71 error = priv_check(td, PRIV_IO); 74 error = securelevel_gt(td->td_ucred, 0); 77 error = iodev_open(td); 85 struct thread *td) 88 return (iodev_close(td)); 94 int fflag __unused, struct thread *td __unuse 66 ioopen(struct cdev *dev __unused, int flags __unused, int fmt __unused, struct thread *td) argument 84 ioclose(struct cdev *dev __unused, int flags __unused, int fmt __unused, struct thread *td) argument [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | ktrace.h | 70 #define KTRCHECK(td, type) ((td)->td_proc->p_traceflag & (1 << type)) 71 #define KTRPOINT(td, type) \ 72 (KTRCHECK((td), (type)) && !((td)->td_pflags & TDP_INKTRACE)) 73 #define KTRCHECKDRAIN(td) (!(STAILQ_EMPTY(&(td)->td_proc->p_ktr))) 74 #define KTRUSERRET(td) do { \ 75 if (KTRCHECKDRAIN(td)) \ 76 ktruserret(td); \ [all...] |
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_sock.c | 52 cloudabi_sys_sock_shutdown(struct thread *td, argument 71 return (kern_shutdown(td, uap->sock, how)); 75 cloudabi_sock_recv(struct thread *td, cloudabi_fd_t fd, struct iovec *data, argument 94 error = kern_recvit(td, fd, &hdr, UIO_SYSSPACE, 100 *rdatalen = td->td_retval[0]; 101 td->td_retval[0] = 0; 147 cloudabi_sock_send(struct thread *td, cloudabi_fd_t fd, struct iovec *data, argument 180 error = kern_sendit(td, fd, &hdr, MSG_NOSIGNAL, control, UIO_USERSPACE); 183 *rdatalen = td->td_retval[0]; 184 td [all...] |
/freebsd-11-stable/lib/libc/tests/gen/ |
H A D | dir2_test.c | 59 long beginning, middle, end, td; local 103 td = telldir(dirp); 104 ATF_CHECK_EQ(beginning, td); 108 td = telldir(dirp); 109 ATF_CHECK_EQ(middle, td); 113 td = telldir(dirp); 114 ATF_CHECK_EQ(end, td); 135 long td; local 165 td = telldir(dirp); 173 seekdir(dirp, td); [all...] |
/freebsd-11-stable/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 124 linux_execve(struct thread *td, struct linux_execve_args *args) argument 130 LCONVPATHEXIST(td, args->path, &path); 141 error = linux_common_execve(td, &eargs); 217 linux_readv(struct thread *td, struct linux_readv_args *uap) argument 225 error = kern_readv(td, uap->fd, auio); 231 linux_writev(struct thread *td, struct linux_writev_args *uap) argument 239 error = kern_writev(td, uap->fd, auio); 250 linux_ipc(struct thread *td, struct linux_ipc_args *args) argument 260 return (linux_semop(td, &a)); 268 return (linux_semget(td, 375 linux_old_select(struct thread *td, struct linux_old_select_args *args) argument 399 linux_set_cloned_tls(struct thread *td, void *desc) argument 442 linux_set_upcall_kse(struct thread *td, register_t stack) argument 457 linux_mmap2(struct thread *td, struct linux_mmap2_args *args) argument 473 linux_mmap(struct thread *td, struct linux_mmap_args *args) argument 495 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) argument 502 linux_iopl(struct thread *td, struct linux_iopl_args *args) argument 519 linux_sigaction(struct thread *td, struct linux_sigaction_args *args) argument 562 linux_sigsuspend(struct thread *td, struct linux_sigsuspend_args *args) argument 579 linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) argument 603 linux_pause(struct thread *td, struct linux_pause_args *args) argument 620 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) argument 653 linux_ftruncate64(struct thread *td, struct linux_ftruncate64_args *args) argument 666 linux_gettimeofday(struct thread *td, struct linux_gettimeofday_args *uap) argument 688 linux_settimeofday(struct thread *td, struct linux_settimeofday_args *uap) argument 715 linux_getrusage(struct thread *td, struct linux_getrusage_args *uap) argument 729 linux_set_thread_area(struct thread *td, struct linux_set_thread_area_args *args) argument [all...] |
/freebsd-11-stable/contrib/flex/ |
H A D | tables.c | 104 int yytbl_data_init (struct yytbl_data *td, enum yytbl_id id) 107 memset (td, 0, sizeof (struct yytbl_data)); 108 td->td_id = id; 109 td->td_flags = YYTD_DATA32; 114 * @param td will be destroyed 117 int yytbl_data_destroy (struct yytbl_data *td) 119 if (td->td_data) 120 free (td->td_data); 121 td->td_data = 0; 122 free (td); 103 yytbl_data_init(struct yytbl_data *td, enum yytbl_id id) argument 116 yytbl_data_destroy(struct yytbl_data *td) argument 190 yytbl_data_fwrite(struct yytbl_writer *wr, struct yytbl_data *td) argument [all...] |
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_syscalls.c | 80 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) argument 101 error = p_cansee(td, tproc); 129 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) argument 151 error = mac_cred_externalize_label(td->td_ucred->cr_label, 162 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) argument 197 p = td->td_proc; 215 mac_proc_vm_revoke(td); 223 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) argument 252 error = fget(td, uap->fd, cap_rights_init(&rights, CAP_MAC_GET), &fp); 310 fdrop(fp, td); 318 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) argument 369 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap) argument 420 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) argument 521 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap) argument 573 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap) argument 625 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap) argument 664 sys___mac_get_pid(struct thread *td, struct __mac_get_pid_args *uap) argument 671 sys___mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) argument 678 sys___mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) argument 685 sys___mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) argument 692 sys___mac_get_file(struct thread *td, struct __mac_get_file_args *uap) argument 699 sys___mac_get_link(struct thread *td, struct __mac_get_link_args *uap) argument 706 sys___mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) argument 713 sys___mac_set_file(struct thread *td, struct __mac_set_file_args *uap) argument 720 sys___mac_set_link(struct thread *td, struct __mac_set_link_args *uap) argument 727 sys_mac_syscall(struct thread *td, struct mac_syscall_args *uap) argument [all...] |
/freebsd-11-stable/sys/i386/linux/ |
H A D | linux_ptrace.c | 216 linux_proc_read_fpxregs(struct thread *td, struct linux_pt_fpxreg *fpxregs) argument 219 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); 220 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) 222 bcopy(&get_pcb_user_save_td(td)->sv_xmm, fpxregs, sizeof(*fpxregs)); 227 linux_proc_write_fpxregs(struct thread *td, struct linux_pt_fpxreg *fpxregs) argument 230 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED); 231 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) 233 bcopy(fpxregs, &get_pcb_user_save_td(td)->sv_xmm, sizeof(*fpxregs)); 238 linux_ptrace(struct thread *td, struct linux_ptrace_args *uap) argument 266 error = kern_ptrace(td, re [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_extattr.c | 84 struct thread *td); 87 struct thread *td); 89 const char *attrname, struct thread *td); 92 struct ucred *cred, struct thread *td); 95 struct thread *td); 97 const char *name, struct ucred *cred, struct thread *td); 100 struct thread *td); 103 struct thread *td); 211 ufs_extattr_start(struct mount *mp, struct thread *td) argument 219 error = ufs_extattr_start_locked(ump, td); 225 ufs_extattr_start_locked(struct ufsmount *ump, struct thread *td) argument 249 ufs_extattr_lookup(struct vnode *start_dvp, int lockparent, char *dirname, struct vnode **vp, struct thread *td) argument 326 ufs_extattr_enable_with_open(struct ufsmount *ump, struct vnode *vp, int attrnamespace, const char *attrname, struct thread *td) argument 362 ufs_extattr_iterate_directory(struct ufsmount *ump, struct vnode *dvp, int attrnamespace, struct thread *td) argument 445 ufs_extattr_autostart(struct mount *mp, struct thread *td) argument 458 ufs_extattr_autostart_locked(struct mount *mp, struct thread *td) argument 553 ufs_extattr_stop(struct mount *mp, struct thread *td) argument 587 ufs_extattr_enable(struct ufsmount *ump, int attrnamespace, const char *attrname, struct vnode *backing_vnode, struct thread *td) argument 676 ufs_extattr_disable(struct ufsmount *ump, int attrnamespace, const char *attrname, struct thread *td) argument 712 struct thread *td = curthread; local 838 ufs_extattr_get(struct vnode *vp, int attrnamespace, const char *name, struct uio *uio, size_t *size, struct ucred *cred, struct thread *td) argument 1045 ufs_extattr_set(struct vnode *vp, int attrnamespace, const char *name, struct uio *uio, struct ucred *cred, struct thread *td) argument 1153 ufs_extattr_rm(struct vnode *vp, int attrnamespace, const char *name, struct ucred *cred, struct thread *td) argument 1272 ufs_extattr_vnode_inactive(struct vnode *vp, struct thread *td) argument [all...] |