/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_tasksys.c | 45 argdes_t argd[2]; in pr_getzoneid() local 52 adp = &argd[0]; in pr_getzoneid() 59 adp = &argd[1]; in pr_getzoneid() 66 error = Psyscall(Pr, &rval, SYS_zone, 2, &argd[0]); in pr_getzoneid() 79 argdes_t argd[1]; in pr_getprojid() local 86 adp = &argd[0]; in pr_getprojid() 93 error = Psyscall(Pr, &rval, SYS_tasksys, 1, &argd[0]); in pr_getprojid() 106 argdes_t argd[1]; in pr_gettaskid() local 113 adp = &argd[0]; in pr_gettaskid() 120 error = Psyscall(Pr, &rval, SYS_tasksys, 1, &argd[0]); in pr_gettaskid() [all …]
|
H A D | pr_getrlimit.c | 43 argdes_t argd[2]; /* arg descriptors for getrlimit() */ in pr_getrlimit() local 51 adp = &argd[0]; /* resource argument */ in pr_getrlimit() 74 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); in pr_getrlimit() 91 argdes_t argd[2]; /* arg descriptors for setrlimit() */ in pr_setrlimit() local 99 adp = &argd[0]; /* resource argument */ in pr_setrlimit() 122 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); in pr_setrlimit() 139 argdes_t argd[2]; /* arg descriptors for getrlimit() */ in pr_getrlimit64() local 147 adp = &argd[0]; /* resource argument */ in pr_getrlimit64() 170 error = Psyscall(Pr, &rval, sysnum, 2, &argd[0]); in pr_getrlimit64() 187 argdes_t argd[2]; /* arg descriptors for setrlimit() */ in pr_setrlimit64() local [all …]
|
H A D | pr_open.c | 41 argdes_t argd[4]; /* arg descriptors for openat() */ in pr_open() local 48 adp = &argd[0]; /* AT_FDCWD argument */ in pr_open() 76 error = Psyscall(Pr, &rval, SYS_openat, 4, &argd[0]); in pr_open() 92 argdes_t argd[4]; /* arg descriptors for openat() */ in pr_creat() local 99 adp = &argd[0]; /* AT_FDCWD argument */ in pr_creat() 127 error = Psyscall(Pr, &rval, SYS_openat, 4, &argd[0]); in pr_creat() 143 argdes_t argd[1]; /* arg descriptors for close() */ in pr_close() local 150 adp = &argd[0]; /* fd argument */ in pr_close() 157 error = Psyscall(Pr, &rval, SYS_close, 1, &argd[0]); in pr_close() 173 argdes_t argd[4]; /* arg descriptors for access() */ in pr_access() local [all …]
|
H A D | pr_rename.c | 39 argdes_t argd[4]; in pr_rename() local 46 adp = &argd[0]; /* old fd argument */ in pr_rename() 74 error = Psyscall(Pr, &rval, SYS_renameat, 4, &argd[0]); in pr_rename() 90 argdes_t argd[5]; in pr_link() local 97 adp = &argd[0]; /* first directory fd argument */ in pr_link() 132 error = Psyscall(Pr, &rval, SYS_linkat, 5, &argd[0]); in pr_link() 148 argdes_t argd[3]; in pr_unlink() local 155 adp = &argd[0]; /* directory fd argument */ in pr_unlink() 176 error = Psyscall(Pr, &rval, SYS_unlinkat, 3, &argd[0]); in pr_unlink()
|
H A D | pr_stat.c | 72 argdes_t argd[4]; /* arg descriptors for fstatat() */ in pr_stat() local 73 argdes_t *adp = &argd[0]; /* first argument */ in pr_stat() 127 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]); in pr_stat() 147 argdes_t argd[4]; /* arg descriptors for fstatat() */ in pr_lstat() local 148 argdes_t *adp = &argd[0]; /* first argument */ in pr_lstat() 202 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]); in pr_lstat() 222 argdes_t argd[4]; /* arg descriptors for fstatat() */ in pr_fstat() local 223 argdes_t *adp = &argd[0]; /* first argument */ in pr_fstat() 277 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]); in pr_fstat() 297 argdes_t argd[4]; /* arg descriptors for fstatat() */ in pr_stat64() local [all …]
|
H A D | pr_getsockname.c | 44 argdes_t argd[4]; /* arg descriptors for get{sock|peer}name() */ in get_sock_peer_name() local 48 adp = &argd[0]; /* sock argument */ in get_sock_peer_name() 76 error = Psyscall(Pr, &rval, syscall, 4, &argd[0]); in get_sock_peer_name() 121 argdes_t argd[5]; /* arg descriptors for getsockopt() */ in pr_getsockopt() local 128 adp = &argd[0]; /* sock argument */ in pr_getsockopt() 163 error = Psyscall(Pr, &rval, SYS_getsockopt, 5, &argd[0]); in pr_getsockopt() 179 argdes_t argd[3]; /* arg descriptors for getpeerucred() */ in pr_getpeerucred() local 193 adp = &argd[0]; /* code argument */ in pr_getpeerucred() 214 error = Psyscall(Pr, &rval, SYS_ucredsys, 3, &argd[0]); in pr_getpeerucred()
|
H A D | pr_mmap.c | 41 argdes_t argd[6]; /* arg descriptors for mmap() */ in pr_mmap() local 48 adp = &argd[0]; /* addr argument */ in pr_mmap() 90 error = Psyscall(Pr, &rval, SYS_mmap, 6, &argd[0]); in pr_mmap() 106 argdes_t argd[2]; /* arg descriptors for munmap() */ in pr_munmap() local 113 adp = &argd[0]; /* addr argument */ in pr_munmap() 127 error = Psyscall(Pr, &rval, SYS_munmap, 2, &argd[0]); in pr_munmap()
|
H A D | pr_getrctl.c | 43 argdes_t argd[6]; in pr_getrctl() local 50 adp = &argd[0]; in pr_getrctl() 108 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); in pr_getrctl() 125 argdes_t argd[6]; in pr_setrctl() local 132 adp = &argd[0]; in pr_setrctl() 190 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); in pr_setrctl() 207 argdes_t argd[6]; in pr_setprojrctl() local 214 adp = &argd[0]; in pr_setprojrctl() 265 error = Psyscall(Pr, &rval, SYS_rctlsys, 6, &argd[0]); in pr_setprojrctl()
|
H A D | pr_getitimer.c | 40 argdes_t argd[2]; /* arg descriptors for getitimer() */ in pr_getitimer() local 51 adp = &argd[0]; /* which argument */ in pr_getitimer() 75 error = Psyscall(Pr, &rval, SYS_getitimer, 2, &argd[0]); in pr_getitimer() 97 argdes_t argd[3]; /* arg descriptors for setitimer() */ in pr_setitimer() local 109 adp = &argd[0]; /* which argument */ in pr_setitimer() 158 error = Psyscall(Pr, &rval, SYS_setitimer, 3, &argd[0]); in pr_setitimer()
|
H A D | pr_statvfs.c | 66 argdes_t argd[2]; /* arg descriptors for statvfs() */ in pr_statvfs() local 67 argdes_t *adp = &argd[0]; /* first argument */ in pr_statvfs() 99 error = Psyscall(Pr, &rval, SYS_statvfs, 2, &argd[0]); in pr_statvfs() 119 argdes_t argd[2]; /* arg descriptors for fstatvfs() */ in pr_fstatvfs() local 120 argdes_t *adp = &argd[0]; /* first argument */ in pr_fstatvfs() 152 error = Psyscall(Pr, &rval, SYS_fstatvfs, 2, &argd[0]); in pr_fstatvfs()
|
H A D | pr_lseek.c | 47 argdes_t argd[4]; /* arg descriptors for lseek() */ in pr_lseek() local 54 adp = &argd[0]; /* filedes argument */ in pr_lseek() 94 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); in pr_lseek() 122 argdes_t argd[4]; /* arg descriptors for llseek() */ in pr_llseek() local 129 adp = &argd[0]; /* filedes argument */ in pr_llseek() 169 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); in pr_llseek()
|
H A D | pr_exit.c | 40 argdes_t argd[1]; /* arg descriptors for exit() */ in pr_exit() local 49 adp = &argd[0]; /* status argument */ in pr_exit() 56 error = Psyscall(Pr, &rval, SYS_exit, 1, &argd[0]); in pr_exit()
|
H A D | pr_ioctl.c | 40 argdes_t argd[3]; /* arg descriptors for ioctl() */ in pr_ioctl() local 41 argdes_t *adp = &argd[0]; /* first argument */ in pr_ioctl() 75 error = Psyscall(Pr, &rval, SYS_ioctl, 3, &argd[0]); in pr_ioctl()
|
H A D | pr_pbind.c | 40 argdes_t argd[4]; /* arg descriptors */ in pr_processor_bind() local 41 argdes_t *adp = &argd[0]; /* first argument */ in pr_processor_bind() 82 error = Psyscall(Pr, &rval, SYS_processor_bind, 4, &argd[0]); in pr_processor_bind()
|
H A D | pr_door.c | 41 argdes_t argd[6]; /* arg descriptors for door_info() */ in pr_door_info() local 42 argdes_t *adp = &argd[0]; /* first argument */ in pr_door_info() 89 error = Psyscall(Pr, &rval, SYS_door, 6, &argd[0]); in pr_door_info()
|
H A D | pr_waitid.c | 47 argdes_t argd[4]; /* arg descriptors for waitid() */ in pr_waitid() local 57 adp = &argd[0]; /* idtype argument */ in pr_waitid() 95 error = Psyscall(Pr, &rval, SYS_waitid, 4, &argd[0]); in pr_waitid()
|
H A D | pr_memcntl.c | 43 argdes_t argd[6]; /* arg descriptors for memcntl() */ in pr_memcntl() local 50 adp = &argd[0]; /* addr argument */ in pr_memcntl() 107 error = Psyscall(Pr, &rval, SYS_memcntl, 6, &argd[0]); in pr_memcntl()
|
H A D | pr_sigaction.c | 46 argdes_t argd[3]; /* arg descriptors for sigaction() */ in pr_sigaction() local 57 adp = &argd[0]; /* sig argument */ in pr_sigaction() 113 error = Psyscall(Pr, &rval, SYS_sigaction, 3, &argd[0]); in pr_sigaction()
|
H A D | pr_fcntl.c | 41 argdes_t argd[4]; /* arg descriptors for fcntl() */ in pr_fcntl() local 48 adp = &argd[0]; /* file descriptor argument */ in pr_fcntl() 138 error = Psyscall(Pr, &rval, SYS_fcntl, 4, &argd[0]); in pr_fcntl()
|
H A D | pr_meminfo.c | 46 argdes_t argd[7]; in pr_meminfo() local 47 argdes_t *adp = &argd[0]; in pr_meminfo() 154 error = Psyscall(Pr, &rval, SYS_meminfosys, 3, &argd[0]); in pr_meminfo()
|
/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 876 argdes_t argd[5]; in __pctx_cpc() local 877 argdes_t *adp = &argd[0]; in __pctx_cpc() 976 error = Psyscall(pctx->Pr, &rval, SYS_cpc, 5, &argd[0]); in __pctx_cpc()
|