Searched refs:uap (Results 1 - 25 of 147) sorted by relevance

123456

/freebsd-12-stable/sys/arm64/arm64/
H A Dfreebsd32_machdep.c38 freebsd32_getcontext(struct thread *td, struct freebsd32_getcontext_args *uap) argument
45 freebsd32_setcontext(struct thread *td, struct freebsd32_setcontext_args *uap) argument
52 freebsd32_sigreturn(struct thread *td, struct freebsd32_sigreturn_args *uap) argument
59 freebsd32_swapcontext(struct thread *td, struct freebsd32_swapcontext_args *uap) argument
66 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) argument
/freebsd-12-stable/sys/compat/cloudabi/
H A Dcloudabi_mem.c64 struct cloudabi_sys_mem_advise_args *uap)
68 switch (uap->advice) {
88 return (kern_madvise(td, (uintptr_t)uap->mapping, uap->mapping_len,
93 cloudabi_sys_mem_map(struct thread *td, struct cloudabi_sys_mem_map_args *uap) argument
99 if (uap->flags & CLOUDABI_MAP_ANON)
101 if (uap->flags & CLOUDABI_MAP_FIXED)
103 if (uap->flags & CLOUDABI_MAP_PRIVATE)
105 if (uap->flags & CLOUDABI_MAP_SHARED)
109 error = convert_mprot(uap
63 cloudabi_sys_mem_advise(struct thread *td, struct cloudabi_sys_mem_advise_args *uap) argument
118 cloudabi_sys_mem_protect(struct thread *td, struct cloudabi_sys_mem_protect_args *uap) argument
133 cloudabi_sys_mem_sync(struct thread *td, struct cloudabi_sys_mem_sync_args *uap) argument
156 cloudabi_sys_mem_unmap(struct thread *td, struct cloudabi_sys_mem_unmap_args *uap) argument
[all...]
H A Dcloudabi_thread.c41 struct cloudabi_sys_thread_exit_args *uap)
44 .lock = uap->lock,
45 .scope = uap->scope,
64 struct cloudabi_sys_thread_yield_args *uap)
40 cloudabi_sys_thread_exit(struct thread *td, struct cloudabi_sys_thread_exit_args *uap) argument
63 cloudabi_sys_thread_yield(struct thread *td, struct cloudabi_sys_thread_yield_args *uap) argument
H A Dcloudabi_file.c104 struct cloudabi_sys_file_advise_args *uap)
108 switch (uap->advice) {
131 return (kern_posix_fadvise(td, uap->fd, uap->offset, uap->len, advice));
136 struct cloudabi_sys_file_allocate_args *uap)
139 return (kern_posix_fallocate(td, uap->fd, uap->offset, uap->len));
144 struct cloudabi_sys_file_create_args *uap)
103 cloudabi_sys_file_advise(struct thread *td, struct cloudabi_sys_file_advise_args *uap) argument
135 cloudabi_sys_file_allocate(struct thread *td, struct cloudabi_sys_file_allocate_args *uap) argument
143 cloudabi_sys_file_create(struct thread *td, struct cloudabi_sys_file_create_args *uap) argument
171 cloudabi_sys_file_link(struct thread *td, struct cloudabi_sys_file_link_args *uap) argument
195 cloudabi_sys_file_open(struct thread *td, struct cloudabi_sys_file_open_args *uap) argument
375 cloudabi_sys_file_readdir(struct thread *td, struct cloudabi_sys_file_readdir_args *uap) argument
498 cloudabi_sys_file_readlink(struct thread *td, struct cloudabi_sys_file_readlink_args *uap) argument
515 cloudabi_sys_file_rename(struct thread *td, struct cloudabi_sys_file_rename_args *uap) argument
555 cloudabi_sys_file_stat_fget(struct thread *td, struct cloudabi_sys_file_stat_fget_args *uap) argument
610 cloudabi_sys_file_stat_fput(struct thread *td, struct cloudabi_sys_file_stat_fput_args *uap) argument
645 cloudabi_sys_file_stat_get(struct thread *td, struct cloudabi_sys_file_stat_get_args *uap) argument
689 cloudabi_sys_file_stat_put(struct thread *td, struct cloudabi_sys_file_stat_put_args *uap) argument
722 cloudabi_sys_file_symlink(struct thread *td, struct cloudabi_sys_file_symlink_args *uap) argument
744 cloudabi_sys_file_unlink(struct thread *td, struct cloudabi_sys_file_unlink_args *uap) argument
[all...]
H A Dcloudabi_random.c37 struct cloudabi_sys_random_get_args *uap)
40 .iov_base = uap->buf,
41 .iov_len = uap->buf_len
36 cloudabi_sys_random_get(struct thread *td, struct cloudabi_sys_random_get_args *uap) argument
/freebsd-12-stable/sys/kern/
H A Dkern_xxx.c61 ogethostname(struct thread *td, struct gethostname_args *uap) argument
64 size_t len = uap->len;
68 return (userland_sysctl(td, name, 2, uap->hostname, &len,
80 osethostname(struct thread *td, struct sethostname_args *uap) argument
86 return (userland_sysctl(td, name, 2, 0, 0, 0, uap->hostname,
87 uap->len, 0, 0));
97 ogethostid(struct thread *td, struct ogethostid_args *uap) argument
117 osethostid(struct thread *td, struct osethostid_args *uap) argument
123 return (kernel_sysctl(td, name, 2, NULL, NULL, &uap->hostid,
124 sizeof(uap
128 oquota(struct thread *td, struct oquota_args *uap) argument
199 ogetkerninfo(struct thread *td, struct getkerninfo_args *uap) argument
357 freebsd4_uname(struct thread *td, struct freebsd4_uname_args *uap) argument
431 freebsd4_getdomainname(struct thread *td, struct freebsd4_getdomainname_args *uap) argument
451 freebsd4_setdomainname(struct thread *td, struct freebsd4_setdomainname_args *uap) argument
[all...]
H A Dvfs_extattr.c80 sys_extattrctl(struct thread *td, struct extattrctl_args *uap) argument
88 AUDIT_ARG_CMD(uap->cmd);
89 AUDIT_ARG_VALUE(uap->attrnamespace);
91 * uap->attrname is not always defined. We check again later when we
94 if (uap->attrname != NULL) {
95 error = copyinstr(uap->attrname, attrname, EXTATTR_MAXNAMELEN,
104 if (uap->filename != NULL) {
106 UIO_USERSPACE, uap->filename, td);
114 /* uap->path is always defined. */
116 UIO_USERSPACE, uap
231 sys_extattr_set_fd(struct thread *td, struct extattr_set_fd_args *uap) argument
267 sys_extattr_set_file(struct thread *td, struct extattr_set_file_args *uap) argument
284 sys_extattr_set_link(struct thread *td, struct extattr_set_link_args *uap) argument
398 sys_extattr_get_fd(struct thread *td, struct extattr_get_fd_args *uap) argument
434 sys_extattr_get_file(struct thread *td, struct extattr_get_file_args *uap) argument
450 sys_extattr_get_link(struct thread *td, struct extattr_get_link_args *uap) argument
533 sys_extattr_delete_fd(struct thread *td, struct extattr_delete_fd_args *uap) argument
566 sys_extattr_delete_file(struct thread *td, struct extattr_delete_file_args *uap) argument
581 sys_extattr_delete_link(struct thread *td, struct extattr_delete_link_args *uap) argument
687 sys_extattr_list_fd(struct thread *td, struct extattr_list_fd_args *uap) argument
716 sys_extattr_list_file(struct thread *td, struct extattr_list_file_args *uap) argument
732 sys_extattr_list_link(struct thread *td, struct extattr_list_link_args *uap) argument
[all...]
H A Dkern_context.c65 sys_getcontext(struct thread *td, struct getcontext_args *uap) argument
70 if (uap->ucp == NULL)
79 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE);
85 sys_setcontext(struct thread *td, struct setcontext_args *uap) argument
90 if (uap->ucp == NULL)
93 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE);
106 sys_swapcontext(struct thread *td, struct swapcontext_args *uap) argument
111 if (uap->oucp == NULL || uap->ucp == NULL)
120 ret = copyout(&uc, uap
[all...]
/freebsd-12-stable/sys/arm64/linux/
H A Dlinux_machdep.c66 linux_execve(struct thread *td, struct linux_execve_args *uap) argument
72 LCONVPATHEXIST(td, uap->path, &path);
74 error = exec_copyin_args(&eargs, path, UIO_SYSSPACE, uap->argp,
75 uap->envp);
94 linux_mmap2(struct thread *td, struct linux_mmap2_args *uap) argument
98 return (linux_mmap_common(td, PTROUT(uap->addr), uap->len, uap->prot,
99 uap->flags, uap
103 linux_mprotect(struct thread *td, struct linux_mprotect_args *uap) argument
111 linux_madvise(struct thread *td, struct linux_madvise_args *uap) argument
119 linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) argument
128 linux_sigaltstack(struct thread *td, struct linux_sigaltstack_args *uap) argument
[all...]
/freebsd-12-stable/sys/i386/ibcs2/
H A Dibcs2_msg.c47 ibcs2_getmsg(td, uap)
49 struct ibcs2_getmsg_args *uap;
55 ibcs2_putmsg(td, uap)
57 struct ibcs2_putmsg_args *uap;
H A Dibcs2_misc.c98 ibcs2_ulimit(struct thread *td, struct ibcs2_ulimit_args *uap) argument
107 switch (uap->cmd) {
115 rl.rlim_cur = uap->newlimit;
127 uap->cmd = IBCS2_SC_OPEN_MAX;
128 return ibcs2_sysconf(td, (struct ibcs2_sysconf_args *)uap);
137 ibcs2_wait(struct thread *td, struct ibcs2_wait_args *uap) argument
147 pid = uap->a1;
148 statusp = (int *)uap->a2;
149 options = uap->a3;
153 statusp = (int *)uap
186 ibcs2_execv(struct thread *td, struct ibcs2_execv_args *uap) argument
209 ibcs2_execve(struct thread *td, struct ibcs2_execve_args *uap) argument
233 ibcs2_umount(struct thread *td, struct ibcs2_umount_args *uap) argument
243 ibcs2_mount(struct thread *td, struct ibcs2_mount_args *uap) argument
314 ibcs2_getdents(struct thread *td, struct ibcs2_getdents_args *uap) argument
467 ibcs2_read(struct thread *td, struct ibcs2_read_args *uap) argument
630 ibcs2_mknod(struct thread *td, struct ibcs2_mknod_args *uap) argument
648 ibcs2_getgroups(struct thread *td, struct ibcs2_getgroups_args *uap) argument
676 ibcs2_setgroups(struct thread *td, struct ibcs2_setgroups_args *uap) argument
706 ibcs2_setuid(struct thread *td, struct ibcs2_setuid_args *uap) argument
715 ibcs2_setgid(struct thread *td, struct ibcs2_setgid_args *uap) argument
724 ibcs2_time(struct thread *td, struct ibcs2_time_args *uap) argument
738 ibcs2_pathconf(struct thread *td, struct ibcs2_pathconf_args *uap) argument
755 ibcs2_fpathconf(struct thread *td, struct ibcs2_fpathconf_args *uap) argument
762 ibcs2_sysconf(struct thread *td, struct ibcs2_sysconf_args *uap) argument
821 ibcs2_alarm(struct thread *td, struct ibcs2_alarm_args *uap) argument
839 ibcs2_times(struct thread *td, struct ibcs2_times_args *uap) argument
867 ibcs2_stime(struct thread *td, struct ibcs2_stime_args *uap) argument
885 ibcs2_utime(struct thread *td, struct ibcs2_utime_args *uap) argument
912 ibcs2_nice(struct thread *td, struct ibcs2_nice_args *uap) argument
931 ibcs2_pgrpsys(struct thread *td, struct ibcs2_pgrpsys_args *uap) argument
976 ibcs2_plock(struct thread *td, struct ibcs2_plock_args *uap) argument
1006 ibcs2_uadmin(struct thread *td, struct ibcs2_uadmin_args *uap) argument
1053 ibcs2_sysfs(struct thread *td, struct ibcs2_sysfs_args *uap) argument
1069 ibcs2_unlink(struct thread *td, struct ibcs2_unlink_args *uap) argument
1081 ibcs2_chdir(struct thread *td, struct ibcs2_chdir_args *uap) argument
1093 ibcs2_chmod(struct thread *td, struct ibcs2_chmod_args *uap) argument
1105 ibcs2_chown(struct thread *td, struct ibcs2_chown_args *uap) argument
1118 ibcs2_rmdir(struct thread *td, struct ibcs2_rmdir_args *uap) argument
1130 ibcs2_mkdir(struct thread *td, struct ibcs2_mkdir_args *uap) argument
1142 ibcs2_symlink(struct thread *td, struct ibcs2_symlink_args *uap) argument
1165 ibcs2_rename(struct thread *td, struct ibcs2_rename_args *uap) argument
1188 ibcs2_readlink(struct thread *td, struct ibcs2_readlink_args *uap) argument
[all...]
H A Dibcs2_ipc.c115 struct ibcs2_msgget_args *uap = v; local
118 ap.key = uap->key;
119 ap.msgflg = uap->msgflg;
133 struct ibcs2_msgctl_args *uap = v; local
140 switch (uap->cmd) {
142 error = kern_msgctl(td, uap->msqid, IPC_STAT, &bs);
145 error = copyout(&is, uap->buf, sizeof(is));
149 error = copyin(uap->buf, &is, sizeof(is));
153 return (kern_msgctl(td, uap->msqid, IPC_SET, &bs));
155 return (kern_msgctl(td, uap
172 struct ibcs2_msgrcv_args *uap = v; local
194 struct ibcs2_msgsnd_args *uap = v; local
316 struct ibcs2_semctl_args *uap = v; local
362 struct ibcs2_semget_args *uap = v; local
381 struct ibcs2_semop_args *uap = v; local
458 struct ibcs2_shmat_args *uap = v; local
477 struct ibcs2_shmctl_args *uap = v; local
515 struct ibcs2_shmdt_args *uap = v; local
532 struct ibcs2_shmget_args *uap = v; local
[all...]
H A Dibcs2_stat.c110 ibcs2_statfs(td, uap)
112 struct ibcs2_statfs_args *uap;
118 CHECKALTEXIST(td, uap->path, &path);
123 error = cvt_statfs(sf, (caddr_t)uap->buf, uap->len);
129 ibcs2_fstatfs(td, uap)
131 struct ibcs2_fstatfs_args *uap;
137 error = kern_fstatfs(td, uap->fd, sf);
139 error = cvt_statfs(sf, (caddr_t)uap->buf, uap
[all...]
H A Dibcs2_fcntl.c179 ibcs2_open(td, uap)
181 struct ibcs2_open_args *uap;
188 noctty = uap->flags & IBCS2_O_NOCTTY;
189 flags = cvt_o_flags(uap->flags);
190 if (uap->flags & O_CREAT)
191 CHECKALTCREAT(td, uap->path, &path);
193 CHECKALTEXIST(td, uap->path, &path);
194 ret = kern_openat(td, AT_FDCWD, path, UIO_SYSSPACE, flags, uap->mode);
227 ibcs2_creat(td, uap)
229 struct ibcs2_creat_args *uap;
[all...]
H A Dibcs2_signal.c195 ibcs2_sigaction(struct thread *td, struct ibcs2_sigaction_args *uap) argument
202 if (uap->act != NULL) {
203 if ((error = copyin(uap->act, &isa, sizeof(isa))) != 0)
209 if (uap->sig <= 0 || uap->sig > IBCS2_NSIG)
211 error = kern_sigaction(td, ibcs2_to_bsd_sig[_SIG_IDX(uap->sig)], &nbsa,
213 if (error == 0 && uap->oact != NULL) {
215 error = copyout(&isa, uap->oact, sizeof(isa));
221 ibcs2_sigsys(struct thread *td, struct ibcs2_sigsys_args *uap) argument
225 int signum = IBCS2_SIGNO(uap
342 ibcs2_sigprocmask(struct thread *td, struct ibcs2_sigprocmask_args *uap) argument
378 ibcs2_sigpending(struct thread *td, struct ibcs2_sigpending_args *uap) argument
395 ibcs2_sigsuspend(struct thread *td, struct ibcs2_sigsuspend_args *uap) argument
409 ibcs2_pause(struct thread *td, struct ibcs2_pause_args *uap) argument
420 ibcs2_kill(struct thread *td, struct ibcs2_kill_args *uap) argument
[all...]
/freebsd-12-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c175 freebsd32_wait4(struct thread *td, struct freebsd32_wait4_args *uap) argument
181 if (uap->rusage != NULL)
185 error = kern_wait(td, uap->pid, &status, uap->options, rup);
188 if (uap->status != NULL)
189 error = copyout(&status, uap->status, sizeof(status));
190 if (uap->rusage != NULL && error == 0) {
192 error = copyout(&ru32, uap->rusage, sizeof(ru32));
198 freebsd32_wait6(struct thread *td, struct freebsd32_wait6_args *uap) argument
206 if (uap
266 freebsd4_freebsd32_getfsstat(struct thread *td, struct freebsd4_freebsd32_getfsstat_args *uap) argument
297 freebsd10_freebsd32_pipe(struct thread *td, struct freebsd10_freebsd32_pipe_args *uap) argument
305 freebsd32_sigaltstack(struct thread *td, struct freebsd32_sigaltstack_args *uap) argument
431 freebsd32_execve(struct thread *td, struct freebsd32_execve_args *uap) argument
450 freebsd32_fexecve(struct thread *td, struct freebsd32_fexecve_args *uap) argument
472 freebsd32_mknodat(struct thread *td, struct freebsd32_mknodat_args *uap) argument
480 freebsd32_mprotect(struct thread *td, struct freebsd32_mprotect_args *uap) argument
494 freebsd32_mmap(struct thread *td, struct freebsd32_mmap_args *uap) argument
510 freebsd6_freebsd32_mmap(struct thread *td, struct freebsd6_freebsd32_mmap_args *uap) argument
527 freebsd32_setitimer(struct thread *td, struct freebsd32_setitimer_args *uap) argument
551 freebsd32_getitimer(struct thread *td, struct freebsd32_getitimer_args *uap) argument
566 freebsd32_select(struct thread *td, struct freebsd32_select_args *uap) argument
589 freebsd32_pselect(struct thread *td, struct freebsd32_pselect_args *uap) argument
628 struct freebsd32_kevent_args *uap; local
672 struct freebsd32_kevent_args *uap; local
710 freebsd32_kevent(struct thread *td, struct freebsd32_kevent_args *uap) argument
752 struct freebsd11_freebsd32_kevent_args *uap; local
779 struct freebsd11_freebsd32_kevent_args *uap; local
806 freebsd11_freebsd32_kevent(struct thread *td, struct freebsd11_freebsd32_kevent_args *uap) argument
849 freebsd32_gettimeofday(struct thread *td, struct freebsd32_gettimeofday_args *uap) argument
872 freebsd32_getrusage(struct thread *td, struct freebsd32_getrusage_args *uap) argument
928 freebsd32_readv(struct thread *td, struct freebsd32_readv_args *uap) argument
942 freebsd32_writev(struct thread *td, struct freebsd32_writev_args *uap) argument
956 freebsd32_preadv(struct thread *td, struct freebsd32_preadv_args *uap) argument
970 freebsd32_pwritev(struct thread *td, struct freebsd32_pwritev_args *uap) argument
1355 freebsd32_sendmsg(struct thread *td, struct freebsd32_sendmsg_args *uap) argument
1411 freebsd32_recvfrom(struct thread *td, struct freebsd32_recvfrom_args *uap) argument
1442 freebsd32_settimeofday(struct thread *td, struct freebsd32_settimeofday_args *uap) argument
1470 freebsd32_utimes(struct thread *td, struct freebsd32_utimes_args *uap) argument
1492 freebsd32_lutimes(struct thread *td, struct freebsd32_lutimes_args *uap) argument
1513 freebsd32_futimes(struct thread *td, struct freebsd32_futimes_args *uap) argument
1534 freebsd32_futimesat(struct thread *td, struct freebsd32_futimesat_args *uap) argument
1556 freebsd32_futimens(struct thread *td, struct freebsd32_futimens_args *uap) argument
1577 freebsd32_utimensat(struct thread *td, struct freebsd32_utimensat_args *uap) argument
1599 freebsd32_adjtime(struct thread *td, struct freebsd32_adjtime_args *uap) argument
1625 freebsd4_freebsd32_statfs(struct thread *td, struct freebsd4_freebsd32_statfs_args *uap) argument
1644 freebsd4_freebsd32_fstatfs(struct thread *td, struct freebsd4_freebsd32_fstatfs_args *uap) argument
1663 freebsd4_freebsd32_fhstatfs(struct thread *td, struct freebsd4_freebsd32_fhstatfs_args *uap) argument
1684 freebsd32_pread(struct thread *td, struct freebsd32_pread_args *uap) argument
1692 freebsd32_pwrite(struct thread *td, struct freebsd32_pwrite_args *uap) argument
1701 ofreebsd32_lseek(struct thread *td, struct ofreebsd32_lseek_args *uap) argument
1709 freebsd32_lseek(struct thread *td, struct freebsd32_lseek_args *uap) argument
1724 freebsd32_truncate(struct thread *td, struct freebsd32_truncate_args *uap) argument
1732 freebsd32_ftruncate(struct thread *td, struct freebsd32_ftruncate_args *uap) argument
1740 ofreebsd32_getdirentries(struct thread *td, struct ofreebsd32_getdirentries_args *uap) argument
1763 freebsd11_freebsd32_getdirentries(struct thread *td, struct freebsd11_freebsd32_getdirentries_args *uap) argument
1782 freebsd11_freebsd32_getdents(struct thread *td, struct freebsd11_freebsd32_getdents_args *uap) argument
1798 freebsd6_freebsd32_pread(struct thread *td, struct freebsd6_freebsd32_pread_args *uap) argument
1806 freebsd6_freebsd32_pwrite(struct thread *td, struct freebsd6_freebsd32_pwrite_args *uap) argument
1814 freebsd6_freebsd32_lseek(struct thread *td, struct freebsd6_freebsd32_lseek_args *uap) argument
1829 freebsd6_freebsd32_truncate(struct thread *td, struct freebsd6_freebsd32_truncate_args *uap) argument
1837 freebsd6_freebsd32_ftruncate(struct thread *td, struct freebsd6_freebsd32_ftruncate_args *uap) argument
1852 freebsd32_do_sendfile(struct thread *td, struct freebsd32_sendfile_args *uap, int compat) argument
1931 freebsd4_freebsd32_sendfile(struct thread *td, struct freebsd4_freebsd32_sendfile_args *uap) argument
1940 freebsd32_sendfile(struct thread *td, struct freebsd32_sendfile_args *uap) argument
2003 ofreebsd32_stat(struct thread *td, struct ofreebsd32_stat_args *uap) argument
2020 freebsd32_fstat(struct thread *td, struct freebsd32_fstat_args *uap) argument
2036 ofreebsd32_fstat(struct thread *td, struct ofreebsd32_fstat_args *uap) argument
2052 freebsd32_fstatat(struct thread *td, struct freebsd32_fstatat_args *uap) argument
2069 ofreebsd32_lstat(struct thread *td, struct ofreebsd32_lstat_args *uap) argument
2086 freebsd32_fhstat(struct thread *td, struct freebsd32_fhstat_args *uap) argument
2175 freebsd11_freebsd32_stat(struct thread *td, struct freebsd11_freebsd32_stat_args *uap) argument
2193 freebsd11_freebsd32_fstat(struct thread *td, struct freebsd11_freebsd32_fstat_args *uap) argument
2210 freebsd11_freebsd32_fstatat(struct thread *td, struct freebsd11_freebsd32_fstatat_args *uap) argument
2228 freebsd11_freebsd32_lstat(struct thread *td, struct freebsd11_freebsd32_lstat_args *uap) argument
2246 freebsd11_freebsd32_fhstat(struct thread *td, struct freebsd11_freebsd32_fhstat_args *uap) argument
2268 freebsd32___sysctl(struct thread *td, struct freebsd32___sysctl_args *uap) argument
2298 freebsd32___sysctlbyname(struct thread *td, struct freebsd32___sysctlbyname_args *uap) argument
2324 freebsd32_jail(struct thread *td, struct freebsd32_jail_args *uap) argument
2385 freebsd32_jail_set(struct thread *td, struct freebsd32_jail_set_args *uap) argument
2403 freebsd32_jail_get(struct thread *td, struct freebsd32_jail_get_args *uap) argument
2430 freebsd32_sigaction(struct thread *td, struct freebsd32_sigaction_args *uap) argument
2458 freebsd4_freebsd32_sigaction(struct thread *td, struct freebsd4_freebsd32_sigaction_args *uap) argument
2496 ofreebsd32_sigaction(struct thread *td, struct ofreebsd32_sigaction_args *uap) argument
2527 ofreebsd32_sigprocmask(struct thread *td, struct ofreebsd32_sigprocmask_args *uap) argument
2540 ofreebsd32_sigpending(struct thread *td, struct ofreebsd32_sigpending_args *uap) argument
2561 ofreebsd32_sigvec(struct thread *td, struct ofreebsd32_sigvec_args *uap) argument
2595 ofreebsd32_sigblock(struct thread *td, struct ofreebsd32_sigblock_args *uap) argument
2607 ofreebsd32_sigsetmask(struct thread *td, struct ofreebsd32_sigsetmask_args *uap) argument
2619 ofreebsd32_sigsuspend(struct thread *td, struct ofreebsd32_sigsuspend_args *uap) argument
2634 ofreebsd32_sigstack(struct thread *td, struct ofreebsd32_sigstack_args *uap) argument
2669 freebsd32_nanosleep(struct thread *td, struct freebsd32_nanosleep_args *uap) argument
2677 freebsd32_clock_nanosleep(struct thread *td, struct freebsd32_clock_nanosleep_args *uap) argument
2715 freebsd32_clock_gettime(struct thread *td, struct freebsd32_clock_gettime_args *uap) argument
2732 freebsd32_clock_settime(struct thread *td, struct freebsd32_clock_settime_args *uap) argument
2749 freebsd32_clock_getres(struct thread *td, struct freebsd32_clock_getres_args *uap) argument
2767 freebsd32_ktimer_create(struct thread *td, struct freebsd32_ktimer_create_args *uap) argument
2795 freebsd32_ktimer_settime(struct thread *td, struct freebsd32_ktimer_settime_args *uap) argument
2816 freebsd32_ktimer_gettime(struct thread *td, struct freebsd32_ktimer_gettime_args *uap) argument
2832 freebsd32_clock_getcpuclockid2(struct thread *td, struct freebsd32_clock_getcpuclockid2_args *uap) argument
2846 freebsd32_thr_new(struct thread *td, struct freebsd32_thr_new_args *uap) argument
2879 freebsd32_thr_suspend(struct thread *td, struct freebsd32_thr_suspend_args *uap) argument
2923 freebsd32_sigqueue(struct thread *td, struct freebsd32_sigqueue_args *uap) argument
2942 freebsd32_sigtimedwait(struct thread *td, struct freebsd32_sigtimedwait_args *uap) argument
2984 freebsd32_sigwaitinfo(struct thread *td, struct freebsd32_sigwaitinfo_args *uap) argument
3009 freebsd32_cpuset_setid(struct thread *td, struct freebsd32_cpuset_setid_args *uap) argument
3018 freebsd32_cpuset_getid(struct thread *td, struct freebsd32_cpuset_getid_args *uap) argument
3027 freebsd32_cpuset_getaffinity(struct thread *td, struct freebsd32_cpuset_getaffinity_args *uap) argument
3036 freebsd32_cpuset_setaffinity(struct thread *td, struct freebsd32_cpuset_setaffinity_args *uap) argument
3045 freebsd32_cpuset_getdomain(struct thread *td, struct freebsd32_cpuset_getdomain_args *uap) argument
3054 freebsd32_cpuset_setdomain(struct thread *td, struct freebsd32_cpuset_setdomain_args *uap) argument
3063 freebsd32_nmount(struct thread *td, struct freebsd32_nmount_args *uap) argument
3298 freebsd32_kldstat(struct thread *td, struct freebsd32_kldstat_args *uap) argument
3331 freebsd32_posix_fallocate(struct thread *td, struct freebsd32_posix_fallocate_args *uap) argument
3342 freebsd32_posix_fadvise(struct thread *td, struct freebsd32_posix_fadvise_args *uap) argument
3379 freebsd32_procctl(struct thread *td, struct freebsd32_procctl_args *uap) argument
3476 freebsd32_fcntl(struct thread *td, struct freebsd32_fcntl_args *uap) argument
3504 freebsd32_ppoll(struct thread *td, struct freebsd32_ppoll_args *uap) argument
3532 freebsd32_sched_rr_get_interval(struct thread *td, struct freebsd32_sched_rr_get_interval_args *uap) argument
3593 freebsd32_ntp_adjtime(struct thread *td, struct freebsd32_ntp_adjtime_args *uap) argument
[all...]
/freebsd-12-stable/sys/amd64/ia32/
H A Dia32_misc.c49 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) argument
56 if (uap->op == I386_SET_LDT || uap->op == I386_GET_LDT) {
57 if ((error = copyin(uap->parms, &uapl32, sizeof(uapl32))) != 0)
59 uap1.op = uap->op;
67 uap1.op = uap->op;
68 uap1.parms = uap->parms;
76 struct ofreebsd32_getpagesize_args *uap)
75 ofreebsd32_getpagesize(struct thread *td, struct ofreebsd32_getpagesize_args *uap) argument
/freebsd-12-stable/sys/mips/mips/
H A Dsys_machdep.c58 sysarch(struct thread *td, struct sysarch_args *uap) argument
63 switch (uap->op) {
65 td->td_md.md_tls = uap->parms;
74 mips_wr_userlocal((unsigned long)(uap->parms +
80 error = copyout(&tlsbase, uap->parms, sizeof(tlsbase));
/freebsd-12-stable/sys/compat/linux/
H A Dlinux_timer.c92 linux_timer_create(struct thread *td, struct linux_timer_create_args *uap) argument
99 if (uap->evp == NULL) {
102 error = copyin(uap->evp, &l_ev, sizeof(l_ev));
110 error = linux_to_native_clockid(&nwhich, uap->clock_id);
115 error = copyout(&id, uap->timerid, sizeof(int));
123 linux_timer_settime(struct thread *td, struct linux_timer_settime_args *uap) argument
129 error = copyin(uap->new, &l_val, sizeof(l_val));
133 ovalp = uap->old != NULL ? &oval : NULL;
134 error = kern_ktimer_settime(td, uap->timerid, uap
143 linux_timer_gettime(struct thread *td, struct linux_timer_gettime_args *uap) argument
158 linux_timer_getoverrun(struct thread *td, struct linux_timer_getoverrun_args *uap) argument
165 linux_timer_delete(struct thread *td, struct linux_timer_delete_args *uap) argument
[all...]
/freebsd-12-stable/sys/compat/cloudabi32/
H A Dcloudabi32_fd.c89 struct cloudabi32_sys_fd_pread_args *uap)
94 error = cloudabi32_copyinuio(uap->iovs, uap->iovs_len, &uio);
97 error = kern_preadv(td, uap->fd, uio, uap->offset);
104 struct cloudabi32_sys_fd_pwrite_args *uap)
109 error = cloudabi32_copyinuio(TO_PTR(uap->iovs), uap->iovs_len, &uio);
112 error = kern_pwritev(td, uap->fd, uio, uap
88 cloudabi32_sys_fd_pread(struct thread *td, struct cloudabi32_sys_fd_pread_args *uap) argument
103 cloudabi32_sys_fd_pwrite(struct thread *td, struct cloudabi32_sys_fd_pwrite_args *uap) argument
118 cloudabi32_sys_fd_read(struct thread *td, struct cloudabi32_sys_fd_read_args *uap) argument
133 cloudabi32_sys_fd_write(struct thread *td, struct cloudabi32_sys_fd_write_args *uap) argument
[all...]
/freebsd-12-stable/sys/compat/cloudabi64/
H A Dcloudabi64_fd.c89 struct cloudabi64_sys_fd_pread_args *uap)
94 error = cloudabi64_copyinuio(uap->iovs, uap->iovs_len, &uio);
97 error = kern_preadv(td, uap->fd, uio, uap->offset);
104 struct cloudabi64_sys_fd_pwrite_args *uap)
109 error = cloudabi64_copyinuio(TO_PTR(uap->iovs), uap->iovs_len, &uio);
112 error = kern_pwritev(td, uap->fd, uio, uap
88 cloudabi64_sys_fd_pread(struct thread *td, struct cloudabi64_sys_fd_pread_args *uap) argument
103 cloudabi64_sys_fd_pwrite(struct thread *td, struct cloudabi64_sys_fd_pwrite_args *uap) argument
118 cloudabi64_sys_fd_read(struct thread *td, struct cloudabi64_sys_fd_read_args *uap) argument
133 cloudabi64_sys_fd_write(struct thread *td, struct cloudabi64_sys_fd_write_args *uap) argument
[all...]
/freebsd-12-stable/sys/i386/i386/
H A Dsys_machdep.c135 sysarch(struct thread *td, struct sysarch_args *uap) argument
147 AUDIT_ARG_CMD(uap->op);
156 switch (uap->op) {
178 switch (uap->op) {
181 if ((error = copyin(uap->parms, &kargs.iargs,
187 if ((error = copyin(uap->parms, &kargs.largs,
192 if ((error = copyin(uap->parms, &kargs.xfpu,
200 switch (uap->op) {
222 error = copyout(&kargs.iargs, uap->parms,
229 error = vm86_sysarch(td, uap
526 i386_get_ldt(struct thread *td, struct i386_ldt_args *uap) argument
560 i386_set_ldt(struct thread *td, struct i386_ldt_args *uap, union descriptor *descs) argument
[all...]
/freebsd-12-stable/sys/nfs/
H A Dnfs_nfssvc.c79 sys_nfssvc(struct thread *td, struct nfssvc_args *uap) argument
85 AUDIT_ARG_CMD(uap->flag);
88 if ((uap->flag & ~NFSSVC_GETSTATS) != 0) {
94 if ((uap->flag & (NFSSVC_ADDSOCK | NFSSVC_OLDNFSD | NFSSVC_NFSD)) &&
96 error = (*nfsd_call_nfsserver)(td, uap);
97 else if ((uap->flag & (NFSSVC_CBADDSOCK | NFSSVC_NFSCBD |
99 error = (*nfsd_call_nfscl)(td, uap);
100 else if ((uap->flag & (NFSSVC_IDNAME | NFSSVC_GETSTATS |
104 error = (*nfsd_call_nfscommon)(td, uap);
105 else if ((uap
[all...]
/freebsd-12-stable/sys/powerpc/powerpc/
H A Dsys_machdep.c40 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) argument
48 sysarch(struct thread *td, struct sysarch_args *uap) argument
/freebsd-12-stable/sys/netinet/
H A Dsctp_syscalls.c142 sys_sctp_peeloff(td, uap)
147 } */ *uap;
155 AUDIT_ARG_FD(uap->sd);
156 error = getsock_cap(td, uap->sd, cap_rights_init(&rights, CAP_PEELOFF),
165 error = sctp_can_peel_off(head, (sctp_assoc_t)uap->name);
186 error = sctp_do_peeloff(head, so, (sctp_assoc_t)uap->name);
213 sys_sctp_generic_sendmsg (td, uap)
223 } */ *uap;
237 if (uap->sinfo != NULL) {
238 error = copyin(uap
[all...]

Completed in 437 milliseconds

123456