Home
last modified time | relevance | path

Searched refs:set_errno (Results 1 – 25 of 178) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/syscall/
H A Dmemcntl.c70 return (set_errno(EINVAL)); in memcntl()
73 return (set_errno(EINVAL)); in memcntl()
77 return (set_errno(EINVAL)); in memcntl()
87 return (set_errno(ENOMEM)); in memcntl()
93 return (set_errno(EINVAL)); in memcntl()
98 return (set_errno(EINVAL)); in memcntl()
101 return (set_errno(EINVAL)); in memcntl()
106 return (set_errno(error)); in memcntl()
126 error = set_errno(EINVAL); in memcntl()
130 (void) set_errno(error); in memcntl()
[all …]
H A Drctlsys.c233 return (set_errno(EINVAL)); in rctlsys_get()
237 return (set_errno(EINVAL)); in rctlsys_get()
240 return (set_errno(EFAULT)); in rctlsys_get()
248 return (set_errno(EFAULT)); in rctlsys_get()
254 return (set_errno(EINVAL)); in rctlsys_get()
260 return (set_errno(ESRCH)); in rctlsys_get()
277 return (set_errno(ESRCH)); in rctlsys_get()
284 return (set_errno(ESRCH)); in rctlsys_get()
290 return (set_errno(ENOTSUP)); in rctlsys_get()
302 return (ret == 0 ? 0 : set_errno(EFAULT)); in rctlsys_get()
[all …]
H A Dsidsys.c54 return (set_errno(EPERM)); in allocids()
58 return (set_errno(err)); in allocids()
64 return (set_errno(EPERM)); in allocids()
70 return (set_errno(EINVAL)); in allocids()
78 return (set_errno(EOVERFLOW)); in allocids()
93 return (set_errno(err)); in idmap_reg()
98 return (set_errno(EBADF)); in idmap_reg()
101 return (set_errno(err)); in idmap_reg()
114 return (set_errno(EINVAL)); in idmap_unreg()
121 return (set_errno(res)); in idmap_unreg()
[all …]
H A Dsigaltstack.c52 return (set_errno(EPERM)); in sigaltstack()
54 return (set_errno(EFAULT)); in sigaltstack()
56 return (set_errno(EINVAL)); in sigaltstack()
58 return (set_errno(ENOMEM)); in sigaltstack()
64 return (set_errno(EFAULT)); in sigaltstack()
87 return (set_errno(EPERM)); in sigaltstack32()
89 return (set_errno(EFAULT)); in sigaltstack32()
91 return (set_errno(EINVAL)); in sigaltstack32()
93 return (set_errno(ENOMEM)); in sigaltstack32()
106 return (set_errno(EFAULT)); in sigaltstack32()
H A Dstrcalls.c73 return (set_errno(EFAULT)); in getmsg()
84 return (set_errno(EINVAL)); in getmsg()
100 return (set_errno(error)); in getmsg()
127 return (set_errno(EINVAL)); in putmsg()
131 return (set_errno(error)); in putmsg()
147 return (set_errno(EFAULT)); in getpmsg()
149 return (set_errno(EFAULT)); in getpmsg()
151 return (set_errno(EINVAL)); in getpmsg()
155 return (set_errno(error)); in getpmsg()
157 return (set_errno(EFAULT)); in getpmsg()
[all …]
H A Dpset.c95 return (set_errno(EPERM)); in pset_create()
100 return (set_errno(ENOTSUP)); in pset_create()
105 return (set_errno(error)); in pset_create()
110 return (set_errno(EFAULT)); in pset_create()
122 return (set_errno(EPERM)); in pset_destroy()
127 return (set_errno(ENOTSUP)); in pset_destroy()
132 return (set_errno(error)); in pset_destroy()
145 return (set_errno(EPERM)); in pset_assign()
150 return (set_errno(ENOTSUP)); in pset_assign()
157 return (set_errno(EINVAL)); in pset_assign()
[all …]
H A Dpgrpsys.c65 return (set_errno(EPERM)); in setpgrp()
81 return (set_errno(EINVAL)); in setpgrp()
86 return (set_errno(ESRCH)); in setpgrp()
93 return (set_errno(EACCES)); in setpgrp()
97 return (set_errno(EPERM)); in setpgrp()
103 return (set_errno(EPERM)); in setpgrp()
110 return (set_errno(EINVAL)); in setpgrp()
131 return (set_errno(EPERM)); in setpgrp()
154 return (set_errno(EINVAL)); in setpgrp()
160 return (set_errno(ESRCH)); in setpgrp()
H A Dstatvfs.c171 return (set_errno(error)); in statvfs()
182 return (set_errno(error)); in statvfs()
194 return (set_errno(EBADF)); in fstatvfs()
202 return (set_errno(error)); in fstatvfs()
226 return (set_errno(error)); in statvfs64()
233 return (set_errno(error)); in statvfs64()
245 return (set_errno(EBADF)); in fstatvfs64()
249 return (set_errno(error)); in fstatvfs64()
300 return (set_errno(error)); in statvfs32()
307 return (set_errno(error)); in statvfs32()
[all …]
H A Dsignotify.c102 return (set_errno(EFAULT)); in signotify()
105 return (set_errno(EINVAL)); in signotify()
121 return (set_errno(EBUSY)); in signotify()
130 return (set_errno(EFAULT)); in signotify()
134 return (set_errno(EINVAL)); in signotify()
155 return (set_errno(EAGAIN)); in signotify()
182 return (set_errno(EINVAL)); in signotify()
189 return (set_errno(EINVAL)); in signotify()
196 return (set_errno(EINVAL)); in signotify()
201 return (set_errno(EINVAL)); in signotify()
[all …]
H A Dgetpagesizes.c41 return (set_errno(EINVAL)); in getpagesizes()
44 return (set_errno(EINVAL)); in getpagesizes()
50 return (set_errno(EINVAL)); in getpagesizes()
61 return (set_errno(EFAULT)); in getpagesizes()
82 return (set_errno(EINVAL)); in getpagesizes32()
85 return (set_errno(EINVAL)); in getpagesizes32()
107 rc = set_errno(EINVAL); in getpagesizes32()
111 rc = set_errno(EFAULT); in getpagesizes32()
H A Dlgrpsys.c80 return (set_errno(EINVAL)); in meminfo()
86 return (set_errno(EFAULT)); in meminfo()
92 return (set_errno(EFAULT)); in meminfo()
120 return (set_errno(EINVAL)); in meminfo()
129 return (set_errno(EFAULT)); in meminfo()
140 return (set_errno(EFAULT)); in meminfo()
155 return (set_errno(EPERM)); in meminfo()
295 ret = set_errno(EFAULT); in meminfo()
355 return (set_errno(ESRCH)); in lgrp_affinity_get_thread()
366 return (set_errno(EPERM)); in lgrp_affinity_get_thread()
[all …]
H A Dadjtime.c53 return (set_errno(EPERM)); in adjtime()
57 return (set_errno(EFAULT)); in adjtime()
62 return (set_errno(EFAULT)); in adjtime()
67 return (set_errno(EINVAL)); in adjtime()
92 return (set_errno(EFAULT)); in adjtime()
97 return (set_errno(EOVERFLOW)); in adjtime()
102 return (set_errno(EFAULT)); in adjtime()
H A Dsem.c369 return (set_errno(EFAULT)); in semctl()
374 return (set_errno(EFAULT)); in semctl()
380 return (set_errno(EINVAL)); in semctl()
389 return (set_errno(EFAULT)); in semctl()
395 return (set_errno(error)); in semctl()
402 return (set_errno(EINVAL)); in semctl()
411 return (set_errno(error)); in semctl()
422 return (set_errno(error)); in semctl()
434 return (set_errno(EFAULT)); in semctl()
442 return (set_errno(error)); in semctl()
[all …]
H A Dsigtimedwait.c62 return (set_errno(EFAULT)); in copyout_siginfo()
65 return (set_errno(EFAULT)); in copyout_siginfo()
81 return (set_errno(EFAULT)); in copyout_siginfo()
116 return (set_errno(EFAULT)); in sigtimedwait()
121 return (set_errno(EFAULT)); in sigtimedwait()
126 return (set_errno(EINVAL)); in sigtimedwait()
134 return (set_errno(EFAULT)); in sigtimedwait()
137 return (set_errno(EINVAL)); in sigtimedwait()
167 return (set_errno(error)); /* timer expired */ in sigtimedwait()
181 return (set_errno(EINTR)); in sigtimedwait()
H A Dpathconf.c63 return ((long)set_errno(error)); in cpathconf()
72 return ((long)set_errno(error)); in cpathconf()
105 return ((long)set_errno(EINVAL)); in cpathconf()
110 return ((long)set_errno(error)); in cpathconf()
117 return ((long)set_errno(error)); in cpathconf()
132 return (set_errno(EBADF)); in fpathconf()
150 return ((long)set_errno(error)); in pathconf()
H A Dppriv.c63 return (set_errno(EINVAL)); in setppriv()
66 return (set_errno(EFAULT)); in setppriv()
93 return (set_errno(EPERM)); in setppriv()
103 return (set_errno(EPERM)); in setppriv()
211 return (set_errno(EINVAL)); in getppriv()
214 return (set_errno(EFAULT)); in getppriv()
229 return (set_errno(EFAULT)); in getprivimplinfo()
382 return (set_errno(ENOMEM)); in privsys()
386 return (set_errno(ENOMEM)); in privsys()
392 return (retv != 0 ? set_errno(retv) : 0); in privsys()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_sys.c83 return (set_errno(EFAULT)); in nfs_export()
95 return (set_errno(EPERM)); in nfssys()
105 return (set_errno(EFAULT)); in nfssys()
110 return (set_errno(EINVAL)); in nfssys()
122 return (set_errno(EFAULT)); in nfssys()
132 return (set_errno(EFAULT)); in nfssys()
142 return (set_errno(EFAULT)); in nfssys()
157 return (set_errno(EFAULT)); in nfssys()
165 return (set_errno(EFAULT)); in nfssys()
178 return (set_errno(EFAULT)); in nfssys()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dpriocntl.c165 return (set_errno(EINVAL)); in priocntl_common()
190 return (set_errno(EFAULT)); in priocntl_common()
200 return (set_errno(error)); in priocntl_common()
206 return (set_errno(EINVAL)); in priocntl_common()
217 return (set_errno(error)); in priocntl_common()
220 return (set_errno(error)); in priocntl_common()
223 return (set_errno(EFAULT)); in priocntl_common()
240 return (set_errno(EFAULT)); in priocntl_common()
244 return (set_errno(EINVAL)); in priocntl_common()
258 return (set_errno(error)); in priocntl_common()
[all …]
/illumos-gate/usr/src/uts/sparc/syscall/
H A Dgetcontext.c199 return (set_errno(EINVAL)); in getsetcontext()
220 return (set_errno(EFAULT)); in getsetcontext()
237 return (set_errno(EFAULT)); in getsetcontext()
243 return (set_errno(EFAULT)); in getsetcontext()
253 return (set_errno(EFAULT)); in getsetcontext()
259 return (set_errno(EINVAL)); in getsetcontext()
262 return (set_errno(EFAULT)); in getsetcontext()
284 return (set_errno(EFAULT)); in getsetcontext()
288 return (set_errno(EINVAL)); in getsetcontext()
295 return (set_errno(EFAULT)); in getsetcontext()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c298 (void) set_errno(ctf_to_errno(ctf_errno(fp))); in name_to_type()
326 return (set_errno(EINVAL)); in mdb_ctf_lookup_by_name()
347 return (set_errno(EINVAL)); in mdb_ctf_lookup_by_symbol()
351 return (set_errno(EINVAL)); in mdb_ctf_lookup_by_symbol()
361 return (set_errno(ctf_to_errno(ctf_errno(fp)))); in mdb_ctf_lookup_by_symbol()
380 return (set_errno(EINVAL)); in mdb_ctf_lookup_by_addr()
416 return (set_errno(EMDB_CTX)); in mdb_ctf_module_lookup()
419 return (set_errno(EMDB_NOCTF)); in mdb_ctf_module_lookup()
422 return (set_errno(ctf_to_errno(ctf_errno(fp)))); in mdb_ctf_module_lookup()
443 return (set_errno(EINVAL)); in mdb_ctf_func_info()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dtimer.c300 return (set_errno(EINVAL)); in clock_settime()
303 return (set_errno(EPERM)); in clock_settime()
307 return (set_errno(EFAULT)); in clock_settime()
312 return (set_errno(EFAULT)); in clock_settime()
318 return (set_errno(EINVAL)); in clock_settime()
323 return (set_errno(error)); in clock_settime()
336 return (set_errno(EINVAL)); in clock_gettime()
341 return (set_errno(error)); in clock_gettime()
345 return (set_errno(EFAULT)); in clock_gettime()
350 return (set_errno(EOVERFLOW)); in clock_gettime()
[all …]
/illumos-gate/usr/src/uts/intel/syscall/
H A Dgetcontext.c308 return (set_errno(EINVAL)); in getsetcontext()
314 return (set_errno(ret)); in getsetcontext()
318 return (set_errno(EFAULT)); in getsetcontext()
340 return (set_errno(EFAULT)); in getsetcontext()
344 return (set_errno(ret)); in getsetcontext()
348 return (set_errno(EFAULT)); in getsetcontext()
362 return (set_errno(EFAULT)); in getsetcontext()
370 return (set_errno(EFAULT)); in getsetcontext()
379 return (set_errno(EFAULT)); in getsetcontext()
384 return (set_errno(ret)); in getsetcontext()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dcpc.c111 return (set_errno(ESRCH)); in cpc()
117 return (set_errno(EINVAL)); in cpc()
130 return (set_errno(EAGAIN)); in cpc()
135 return (set_errno(EACCES)); in cpc()
149 return (set_errno(error)); in cpc()
157 return (set_errno(EFAULT)); in cpc()
158 return (set_errno(EINVAL)); in cpc()
171 return (set_errno(EFAULT)); in cpc()
172 return (set_errno(error)); in cpc()
189 return (set_errno(EINVAL)); in cpc()
[all …]
/illumos-gate/usr/src/uts/sparc/v9/syscall/
H A Dinstall_utrap.c54 return ((int)set_errno(ENOSYS)); in install_utrap()
63 return ((int)set_errno(EINVAL)); in install_utrap()
66 return ((int)set_errno(EINVAL)); in install_utrap()
78 return ((int)set_errno(EINVAL)); in install_utrap()
110 return ((int)set_errno(EINVAL)); in install_utrap()
169 return ((int)set_errno(ENOSYS)); in sparc_utrap_install()
208 return ((int)set_errno(EINVAL)); in sparc_utrap_install()
212 return ((int)set_errno(EINVAL)); in sparc_utrap_install()
221 return ((int)set_errno(EINVAL)); in sparc_utrap_install()
254 return ((int)set_errno(EINVAL)); in sparc_utrap_install()
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkaif.c131 (void) set_errno(EINVAL); in kaif_cpuid2save()
139 (void) set_errno(EINVAL); in kaif_cpuid2save()
160 return (set_errno(EINVAL)); in kaif_get_cpu_state()
229 (void) set_errno(ENOENT); in kaif_find_regp()
296 return (set_errno(EMDB_TGTNOTSUP)); in kaif_brkpt_arm()
351 return (set_errno(EINVAL)); in kaif_wapt_validate()
356 return (set_errno(EINVAL)); in kaif_wapt_validate()
362 return (set_errno(EMDB_TGTHWNOTSUP)); in kaif_wapt_validate()
368 return (set_errno(EINVAL)); in kaif_wapt_validate()
375 return (set_errno(EINVAL)); in kaif_wapt_validate()
[all …]

12345678