/freebsd-10-stable/sys/kern/ |
H A D | kern_xxx.c | 61 ogethostname(td, uap) 63 struct gethostname_args *uap; 66 size_t len = uap->len; 70 return (userland_sysctl(td, name, 2, uap->hostname, &len, 82 osethostname(td, uap) 84 register struct sethostname_args *uap; 90 return (userland_sysctl(td, name, 2, 0, 0, 0, uap->hostname, 91 uap->len, 0, 0)); 101 ogethostid(td, uap) 103 struct ogethostid_args *uap; 209 ogetkerninfo(struct thread *td, struct getkerninfo_args *uap) argument 367 freebsd4_uname(struct thread *td, struct freebsd4_uname_args *uap) argument 441 freebsd4_getdomainname(struct thread *td, struct freebsd4_getdomainname_args *uap) argument 461 freebsd4_setdomainname(struct thread *td, struct freebsd4_setdomainname_args *uap) argument [all...] |
H A D | vfs_extattr.c | 58 sys_extattrctl(td, uap) 66 } */ *uap; 74 AUDIT_ARG_CMD(uap->cmd); 75 AUDIT_ARG_VALUE(uap->attrnamespace); 77 * uap->attrname is not always defined. We check again later when we 80 if (uap->attrname != NULL) { 81 error = copyinstr(uap->attrname, attrname, EXTATTR_MAXNAMELEN, 90 if (uap->filename != NULL) { 92 UIO_USERSPACE, uap->filename, td); 100 /* uap [all...] |
H A D | vfs_acl.c | 331 sys___acl_get_file(struct thread *td, struct __acl_get_file_args *uap) argument 336 NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td); 339 error = vacl_get_acl(td, nd.ni_vp, uap->type, uap->aclp); 349 sys___acl_get_link(struct thread *td, struct __acl_get_link_args *uap) argument 354 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_USERSPACE, uap->path, td); 357 error = vacl_get_acl(td, nd.ni_vp, uap->type, uap->aclp); 367 sys___acl_set_file(struct thread *td, struct __acl_set_file_args *uap) argument 372 NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap 385 sys___acl_set_link(struct thread *td, struct __acl_set_link_args *uap) argument 403 sys___acl_get_fd(struct thread *td, struct __acl_get_fd_args *uap) argument 422 sys___acl_set_fd(struct thread *td, struct __acl_set_fd_args *uap) argument 441 sys___acl_delete_file(struct thread *td, struct __acl_delete_file_args *uap) argument 459 sys___acl_delete_link(struct thread *td, struct __acl_delete_link_args *uap) argument 477 sys___acl_delete_fd(struct thread *td, struct __acl_delete_fd_args *uap) argument 496 sys___acl_aclcheck_file(struct thread *td, struct __acl_aclcheck_file_args *uap) argument 514 sys___acl_aclcheck_link(struct thread *td, struct __acl_aclcheck_link_args *uap) argument 532 sys___acl_aclcheck_fd(struct thread *td, struct __acl_aclcheck_fd_args *uap) argument [all...] |
H A D | kern_context.c | 63 sys_getcontext(struct thread *td, struct getcontext_args *uap) argument 68 if (uap->ucp == NULL) 77 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE); 83 sys_setcontext(struct thread *td, struct setcontext_args *uap) argument 88 if (uap->ucp == NULL) 91 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); 104 sys_swapcontext(struct thread *td, struct swapcontext_args *uap) argument 109 if (uap->oucp == NULL || uap->ucp == NULL) 118 ret = copyout(&uc, uap [all...] |
/freebsd-10-stable/sys/i386/ibcs2/ |
H A D | ibcs2_msg.c | 45 ibcs2_getmsg(td, uap) 47 struct ibcs2_getmsg_args *uap; 53 ibcs2_putmsg(td, uap) 55 struct ibcs2_putmsg_args *uap;
|
H A D | ibcs2_misc.c | 96 ibcs2_ulimit(td, uap) 98 struct ibcs2_ulimit_args *uap; 109 switch (uap->cmd) { 121 rl.rlim_cur = uap->newlimit; 137 uap->cmd = IBCS2_SC_OPEN_MAX; 138 return ibcs2_sysconf(td, (struct ibcs2_sysconf_args *)uap); 147 ibcs2_wait(td, uap) 149 struct ibcs2_wait_args *uap; 159 pid = uap->a1; 160 statusp = (int *)uap [all...] |
H A D | ibcs2_ipc.c | 116 struct ibcs2_msgget_args *uap = v; local 119 ap.key = uap->key; 120 ap.msgflg = uap->msgflg; 134 struct ibcs2_msgctl_args *uap = v; local 139 switch (uap->cmd) { 141 error = kern_msgctl(td, uap->msqid, IPC_STAT, &bs); 144 error = copyout(&is, uap->buf, sizeof(is)); 148 error = copyin(uap->buf, &is, sizeof(is)); 152 return (kern_msgctl(td, uap->msqid, IPC_SET, &bs)); 154 return (kern_msgctl(td, uap 171 struct ibcs2_msgrcv_args *uap = v; local 193 struct ibcs2_msgsnd_args *uap = v; local 316 struct ibcs2_semctl_args *uap = v; local 360 struct ibcs2_semget_args *uap = v; local 379 struct ibcs2_semop_args *uap = v; local 456 struct ibcs2_shmat_args *uap = v; local 475 struct ibcs2_shmctl_args *uap = v; local 513 struct ibcs2_shmdt_args *uap = v; local 530 struct ibcs2_shmget_args *uap = v; local [all...] |
H A D | ibcs2_signal.c | 193 ibcs2_sigaction(td, uap) 195 struct ibcs2_sigaction_args *uap; 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(td, uap) [all...] |
H A D | ibcs2_stat.c | 106 ibcs2_statfs(td, uap) 108 struct ibcs2_statfs_args *uap; 114 CHECKALTEXIST(td, uap->path, &path); 119 return cvt_statfs(&sf, (caddr_t)uap->buf, uap->len); 123 ibcs2_fstatfs(td, uap) 125 struct ibcs2_fstatfs_args *uap; 130 error = kern_fstatfs(td, uap->fd, &sf); 133 return cvt_statfs(&sf, (caddr_t)uap->buf, uap [all...] |
H A D | ibcs2_fcntl.c | 177 ibcs2_open(td, uap) 179 struct ibcs2_open_args *uap; 186 noctty = uap->flags & IBCS2_O_NOCTTY; 187 flags = cvt_o_flags(uap->flags); 188 if (uap->flags & O_CREAT) 189 CHECKALTCREAT(td, uap->path, &path); 191 CHECKALTEXIST(td, uap->path, &path); 192 ret = kern_open(td, path, UIO_SYSSPACE, flags, uap->mode); 225 ibcs2_creat(td, uap) 227 struct ibcs2_creat_args *uap; [all...] |
/freebsd-10-stable/sys/amd64/amd64/ |
H A D | sys_machdep.c | 99 sysarch_ldt(struct thread *td, struct sysarch_args *uap, int uap_space) argument 109 AUDIT_ARG_CMD(uap->op); 111 error = copyin(uap->parms, &la, sizeof(struct i386_ldt_args)); 116 largs = (struct i386_ldt_args *)uap->parms; 118 switch (uap->op) { 173 sysarch(td, uap) 175 register struct sysarch_args *uap; 192 switch (uap->op) { 219 if (uap->op == I386_GET_LDT || uap [all...] |
/freebsd-10-stable/sys/compat/svr4/ |
H A D | svr4_stat.c | 162 svr4_sys_stat(td, uap) 164 struct svr4_sys_stat_args *uap; 171 CHECKALTEXIST(td, uap->path, &path); 180 (void) svr4_add_socket(td, uap->path, &st); 182 return (copyout(&svr4_st, uap->ub, sizeof svr4_st)); 187 svr4_sys_lstat(td, uap) 189 struct svr4_sys_lstat_args *uap; 196 CHECKALTEXIST(td, uap->path, &path); 205 (void) svr4_add_socket(td, uap->path, &st); 207 return (copyout(&svr4_st, uap [all...] |
H A D | svr4_ipc.c | 183 struct svr4_sys_semctl_args *uap = v; local 190 switch (uap->cmd) { 222 error = kern_semctl(td, uap->semid, uap->semnum, cmd, &semun, 227 error = copyout(&ss, uap->arg.buf, sizeof(ss)); 234 error = copyin(uap->arg.buf, (caddr_t) &ss, sizeof ss); 239 return (kern_semctl(td, uap->semid, uap->semnum, cmd, &semun, 250 return (kern_semctl(td, uap->semid, uap 266 struct svr4_sys_semget_args *uap = v; local 288 struct svr4_sys_semop_args *uap = v; local 370 struct svr4_sys_msgsnd_args *uap = v; local 395 struct svr4_sys_msgrcv_args *uap = v; local 418 struct svr4_sys_msgget_args *uap = v; local 439 struct svr4_sys_msgctl_args *uap = v; local 536 struct svr4_sys_shmat_args *uap = v; local 556 struct svr4_sys_shmdt_args *uap = v; local 576 struct svr4_sys_shmget_args *uap = v; local 598 struct svr4_sys_shmctl_args *uap = v; local [all...] |
H A D | svr4_filio.c | 58 svr4_sys_poll(td, uap) 60 struct svr4_sys_poll_args *uap; 68 if (uap->nfds > maxfilesperproc && uap->nfds > FD_SETSIZE) 71 pa.fds = uap->fds; 72 pa.nfds = uap->nfds; 73 pa.timeout = uap->timeout; 75 siz = uap->nfds * sizeof(struct pollfd); 78 error = sys_poll(td, (struct poll_args *)uap); 80 if ((cerr = copyin(uap [all...] |
H A D | svr4_fcntl.c | 382 svr4_sys_open(td, uap) 384 struct svr4_sys_open_args *uap; 390 CHECKALTEXIST(td, uap->path, &newpath); 392 bsd_flags = svr4_to_bsd_flags(uap->flags); 393 error = kern_open(td, newpath, UIO_SYSSPACE, bsd_flags, uap->mode); 397 /* uprintf("svr4_open(%s, 0x%0x, 0%o): %d\n", uap->path, 398 uap->flags, uap->mode, error);*/ 436 svr4_sys_open64(td, uap) 438 struct svr4_sys_open64_args *uap; 531 struct svr4_sys_pread64_args *uap = v; local 575 struct svr4_sys_pwrite64_args *uap = v; local [all...] |
H A D | svr4_misc.c | 122 svr4_sys_setitimer(td, uap) 124 struct svr4_sys_setitimer_args *uap; 132 svr4_sys_wait(td, uap) 134 struct svr4_sys_wait_args *uap; 158 if (uap->status) 159 error = copyout(&st, uap->status, sizeof(st)); 165 svr4_sys_execv(td, uap) 167 struct svr4_sys_execv_args *uap; 174 CHECKALTEXIST(td, uap->path, &path); 181 error = exec_copyin_args(&eargs, path, UIO_SYSSPACE, uap 220 struct svr4_sys_time_args *uap = v; local [all...] |
/freebsd-10-stable/sys/amd64/ia32/ |
H A D | ia32_misc.c | 49 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-10-stable/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 156 freebsd32_wait4(struct thread *td, struct freebsd32_wait4_args *uap) argument 162 if (uap->rusage != NULL) 166 error = kern_wait(td, uap->pid, &status, uap->options, rup); 169 if (uap->status != NULL) 170 error = copyout(&status, uap->status, sizeof(status)); 171 if (uap->rusage != NULL && error == 0) { 173 error = copyout(&ru32, uap->rusage, sizeof(ru32)); 179 freebsd32_wait6(struct thread *td, struct freebsd32_wait6_args *uap) argument 187 if (uap 247 freebsd4_freebsd32_getfsstat(struct thread *td, struct freebsd4_freebsd32_getfsstat_args *uap) argument 275 freebsd32_sigaltstack(struct thread *td, struct freebsd32_sigaltstack_args *uap) argument 401 freebsd32_execve(struct thread *td, struct freebsd32_execve_args *uap) argument 419 freebsd32_fexecve(struct thread *td, struct freebsd32_fexecve_args *uap) argument 487 freebsd32_mprotect(struct thread *td, struct freebsd32_mprotect_args *uap) argument 502 freebsd32_mmap(struct thread *td, struct freebsd32_mmap_args *uap) argument 601 freebsd6_freebsd32_mmap(struct thread *td, struct freebsd6_freebsd32_mmap_args *uap) argument 619 freebsd32_setitimer(struct thread *td, struct freebsd32_setitimer_args *uap) argument 643 freebsd32_getitimer(struct thread *td, struct freebsd32_getitimer_args *uap) argument 658 freebsd32_select(struct thread *td, struct freebsd32_select_args *uap) argument 681 freebsd32_pselect(struct thread *td, struct freebsd32_pselect_args *uap) argument 720 struct freebsd32_kevent_args *uap; local 747 struct freebsd32_kevent_args *uap; local 772 freebsd32_kevent(struct thread *td, struct freebsd32_kevent_args *uap) argument 797 freebsd32_gettimeofday(struct thread *td, struct freebsd32_gettimeofday_args *uap) argument 820 freebsd32_getrusage(struct thread *td, struct freebsd32_getrusage_args *uap) argument 876 freebsd32_readv(struct thread *td, struct freebsd32_readv_args *uap) argument 890 freebsd32_writev(struct thread *td, struct freebsd32_writev_args *uap) argument 904 freebsd32_preadv(struct thread *td, struct freebsd32_preadv_args *uap) argument 918 freebsd32_pwritev(struct thread *td, struct freebsd32_pwritev_args *uap) argument 1232 freebsd32_sendmsg(struct thread *td, struct freebsd32_sendmsg_args *uap) argument 1288 freebsd32_recvfrom(struct thread *td, struct freebsd32_recvfrom_args *uap) argument 1319 freebsd32_settimeofday(struct thread *td, struct freebsd32_settimeofday_args *uap) argument 1347 freebsd32_utimes(struct thread *td, struct freebsd32_utimes_args *uap) argument 1368 freebsd32_lutimes(struct thread *td, struct freebsd32_lutimes_args *uap) argument 1389 freebsd32_futimes(struct thread *td, struct freebsd32_futimes_args *uap) argument 1410 freebsd32_futimesat(struct thread *td, struct freebsd32_futimesat_args *uap) argument 1432 freebsd32_futimens(struct thread *td, struct freebsd32_futimens_args *uap) argument 1453 freebsd32_utimensat(struct thread *td, struct freebsd32_utimensat_args *uap) argument 1475 freebsd32_adjtime(struct thread *td, struct freebsd32_adjtime_args *uap) argument 1501 freebsd4_freebsd32_statfs(struct thread *td, struct freebsd4_freebsd32_statfs_args *uap) argument 1517 freebsd4_freebsd32_fstatfs(struct thread *td, struct freebsd4_freebsd32_fstatfs_args *uap) argument 1533 freebsd4_freebsd32_fhstatfs(struct thread *td, struct freebsd4_freebsd32_fhstatfs_args *uap) argument 1551 freebsd32_pread(struct thread *td, struct freebsd32_pread_args *uap) argument 1563 freebsd32_pwrite(struct thread *td, struct freebsd32_pwrite_args *uap) argument 1576 ofreebsd32_lseek(struct thread *td, struct ofreebsd32_lseek_args *uap) argument 1588 freebsd32_lseek(struct thread *td, struct freebsd32_lseek_args *uap) argument 1606 freebsd32_truncate(struct thread *td, struct freebsd32_truncate_args *uap) argument 1616 freebsd32_ftruncate(struct thread *td, struct freebsd32_ftruncate_args *uap) argument 1627 ofreebsd32_getdirentries(struct thread *td, struct ofreebsd32_getdirentries_args *uap) argument 1649 freebsd32_getdirentries(struct thread *td, struct freebsd32_getdirentries_args *uap) argument 1670 freebsd6_freebsd32_pread(struct thread *td, struct freebsd6_freebsd32_pread_args *uap) argument 1682 freebsd6_freebsd32_pwrite(struct thread *td, struct freebsd6_freebsd32_pwrite_args *uap) argument 1694 freebsd6_freebsd32_lseek(struct thread *td, struct freebsd6_freebsd32_lseek_args *uap) argument 1712 freebsd6_freebsd32_truncate(struct thread *td, struct freebsd6_freebsd32_truncate_args *uap) argument 1722 freebsd6_freebsd32_ftruncate(struct thread *td, struct freebsd6_freebsd32_ftruncate_args *uap) argument 1740 freebsd32_do_sendfile(struct thread *td, struct freebsd32_sendfile_args *uap, int compat) argument 1804 freebsd4_freebsd32_sendfile(struct thread *td, struct freebsd4_freebsd32_sendfile_args *uap) argument 1813 freebsd32_sendfile(struct thread *td, struct freebsd32_sendfile_args *uap) argument 1865 freebsd32_stat(struct thread *td, struct freebsd32_stat_args *uap) argument 1881 ofreebsd32_stat(struct thread *td, struct ofreebsd32_stat_args *uap) argument 1897 freebsd32_fstat(struct thread *td, struct freebsd32_fstat_args *uap) argument 1913 ofreebsd32_fstat(struct thread *td, struct ofreebsd32_fstat_args *uap) argument 1929 freebsd32_fstatat(struct thread *td, struct freebsd32_fstatat_args *uap) argument 1944 freebsd32_lstat(struct thread *td, struct freebsd32_lstat_args *uap) argument 1960 ofreebsd32_lstat(struct thread *td, struct ofreebsd32_lstat_args *uap) argument 1976 freebsd32_sysctl(struct thread *td, struct freebsd32_sysctl_args *uap) argument 2006 freebsd32_jail(struct thread *td, struct freebsd32_jail_args *uap) argument 2067 freebsd32_jail_set(struct thread *td, struct freebsd32_jail_set_args *uap) argument 2085 freebsd32_jail_get(struct thread *td, struct freebsd32_jail_get_args *uap) argument 2112 freebsd32_sigaction(struct thread *td, struct freebsd32_sigaction_args *uap) argument 2140 freebsd4_freebsd32_sigaction(struct thread *td, struct freebsd4_freebsd32_sigaction_args *uap) argument 2178 ofreebsd32_sigaction(struct thread *td, struct ofreebsd32_sigaction_args *uap) argument 2209 ofreebsd32_sigprocmask(struct thread *td, struct ofreebsd32_sigprocmask_args *uap) argument 2222 ofreebsd32_sigpending(struct thread *td, struct ofreebsd32_sigpending_args *uap) argument 2243 ofreebsd32_sigvec(struct thread *td, struct ofreebsd32_sigvec_args *uap) argument 2277 ofreebsd32_sigblock(struct thread *td, struct ofreebsd32_sigblock_args *uap) argument 2289 ofreebsd32_sigsetmask(struct thread *td, struct ofreebsd32_sigsetmask_args *uap) argument 2301 ofreebsd32_sigsuspend(struct thread *td, struct ofreebsd32_sigsuspend_args *uap) argument 2316 ofreebsd32_sigstack(struct thread *td, struct ofreebsd32_sigstack_args *uap) argument 2351 freebsd32_nanosleep(struct thread *td, struct freebsd32_nanosleep_args *uap) argument 2382 freebsd32_clock_gettime(struct thread *td, struct freebsd32_clock_gettime_args *uap) argument 2399 freebsd32_clock_settime(struct thread *td, struct freebsd32_clock_settime_args *uap) argument 2416 freebsd32_clock_getres(struct thread *td, struct freebsd32_clock_getres_args *uap) argument 2434 freebsd32_ktimer_create(struct thread *td, struct freebsd32_ktimer_create_args *uap) argument 2462 freebsd32_ktimer_settime(struct thread *td, struct freebsd32_ktimer_settime_args *uap) argument 2483 freebsd32_ktimer_gettime(struct thread *td, struct freebsd32_ktimer_gettime_args *uap) argument 2499 freebsd32_clock_getcpuclockid2(struct thread *td, struct freebsd32_clock_getcpuclockid2_args *uap) argument 2513 freebsd32_thr_new(struct thread *td, struct freebsd32_thr_new_args *uap) argument 2546 freebsd32_thr_suspend(struct thread *td, struct freebsd32_thr_suspend_args *uap) argument 2590 freebsd32_sigqueue(struct thread *td, struct freebsd32_sigqueue_args *uap) argument 2609 freebsd32_sigtimedwait(struct thread *td, struct freebsd32_sigtimedwait_args *uap) argument 2651 freebsd32_sigwaitinfo(struct thread *td, struct freebsd32_sigwaitinfo_args *uap) argument 2676 freebsd32_cpuset_setid(struct thread *td, struct freebsd32_cpuset_setid_args *uap) argument 2689 freebsd32_cpuset_getid(struct thread *td, struct freebsd32_cpuset_getid_args *uap) argument 2703 freebsd32_cpuset_getaffinity(struct thread *td, struct freebsd32_cpuset_getaffinity_args *uap) argument 2718 freebsd32_cpuset_setaffinity(struct thread *td, struct freebsd32_cpuset_setaffinity_args *uap) argument 2733 freebsd32_nmount(struct thread *td, struct freebsd32_nmount_args *uap) argument 3067 freebsd32_kldstat(struct thread *td, struct freebsd32_kldstat_args *uap) argument 3099 freebsd32_posix_fallocate(struct thread *td, struct freebsd32_posix_fallocate_args *uap) argument 3109 freebsd32_posix_fadvise(struct thread *td, struct freebsd32_posix_fadvise_args *uap) argument 3146 freebsd32_procctl(struct thread *td, struct freebsd32_procctl_args *uap) argument 3217 freebsd32_fcntl(struct thread *td, struct freebsd32_fcntl_args *uap) argument 3245 freebsd32_ppoll(struct thread *td, struct freebsd32_ppoll_args *uap) argument [all...] |
H A D | freebsd32_capability.c | 53 struct freebsd32_cap_enter_args *uap) 65 struct freebsd32_cap_ioctls_limit_args *uap) 73 ncmds = uap->ncmds; 82 error = copyin(uap->cmds, cmds32, sizeof(cmds32[0]) * ncmds); 93 return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds)); 98 struct freebsd32_cap_ioctls_get_args *uap) 108 fd = uap->fd; 109 cmds32 = uap->cmds; 110 maxcmds = uap->maxcmds; 152 struct freebsd32_cap_enter_args *uap) 52 freebsd32_cap_enter(struct thread *td, struct freebsd32_cap_enter_args *uap) argument 64 freebsd32_cap_ioctls_limit(struct thread *td, struct freebsd32_cap_ioctls_limit_args *uap) argument 97 freebsd32_cap_ioctls_get(struct thread *td, struct freebsd32_cap_ioctls_get_args *uap) argument 151 freebsd32_cap_enter(struct thread *td, struct freebsd32_cap_enter_args *uap) argument 159 freebsd32_cap_ioctls_limit(struct thread *td, struct freebsd32_cap_ioctls_limit_args *uap) argument 167 freebsd32_cap_ioctls_get(struct thread *td, struct freebsd32_cap_ioctls_get_args *uap) argument [all...] |
/freebsd-10-stable/sys/compat/linux/ |
H A D | linux_timer.c | 92 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-10-stable/sys/mips/mips/ |
H A D | sys_machdep.c | 56 sysarch(struct thread *td, struct sysarch_args *uap) argument 61 switch (uap->op) { 63 td->td_md.md_tls = uap->parms; 67 error = copyout(&tlsbase, uap->parms, sizeof(tlsbase));
|
/freebsd-10-stable/sys/nfs/ |
H A D | nfs_nfssvc.c | 76 sys_nfssvc(struct thread *td, struct nfssvc_args *uap) argument 82 AUDIT_ARG_CMD(uap->flag); 85 if ((uap->flag & ~NFSSVC_GETSTATS) != 0) { 91 if ((uap->flag & (NFSSVC_ADDSOCK | NFSSVC_OLDNFSD | NFSSVC_NFSD)) && 93 error = (*nfsd_call_nfsserver)(td, uap); 94 else if ((uap->flag & (NFSSVC_CBADDSOCK | NFSSVC_NFSCBD | 96 error = (*nfsd_call_nfscl)(td, uap); 97 else if ((uap->flag & (NFSSVC_IDNAME | NFSSVC_GETSTATS | 101 error = (*nfsd_call_nfscommon)(td, uap); 102 else if ((uap [all...] |
/freebsd-10-stable/sys/ia64/ia64/ |
H A D | sys_machdep.c | 50 sysarch(struct thread *td, struct sysarch_args *uap) argument 54 switch(uap->op) {
|
/freebsd-10-stable/sys/powerpc/powerpc/ |
H A D | sys_machdep.c | 40 freebsd32_sysarch(struct thread *td, struct freebsd32_sysarch_args *uap) argument 48 sysarch(struct thread *td, struct sysarch_args *uap) argument
|
/freebsd-10-stable/sys/arm/arm/ |
H A D | sys_machdep.c | 109 sysarch(td, uap) 111 register struct sysarch_args *uap; 122 switch (uap->op) { 139 switch (uap->op) { 141 error = arm32_sync_icache(td, uap->parms); 144 error = arm32_drain_writebuf(td, uap->parms); 147 error = arm32_set_tp(td, uap->parms); 150 error = arm32_get_tp(td, uap->parms);
|