Lines Matching refs:set_errno
233 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()
310 return (set_errno(ret)); in rctlsys_get()
326 return (set_errno(EFAULT)); in rctlsys_get()
342 return (set_errno(ret)); in rctlsys_get()
355 return (set_errno(EFAULT)); in rctlsys_get()
405 return (set_errno(EINVAL)); in rctlsys_set()
410 return (set_errno(EINVAL)); in rctlsys_set()
413 return (set_errno(EFAULT)); in rctlsys_set()
418 return (set_errno(EFAULT)); in rctlsys_set()
423 return (set_errno(EINVAL)); in rctlsys_set()
434 return (set_errno(EFAULT)); in rctlsys_set()
444 return (set_errno(EINVAL)); in rctlsys_set()
461 ret = set_errno(EINVAL); in rctlsys_set()
469 ret = set_errno(EACCES); in rctlsys_set()
478 ret = set_errno(ESRCH); in rctlsys_set()
490 ret = set_errno(ESRCH); in rctlsys_set()
520 ret = set_errno(ESRCH); in rctlsys_set()
561 ret = set_errno(EFAULT); in rctlsys_set()
568 ret = set_errno(EINVAL); in rctlsys_set()
588 (void) set_errno(ret); in rctlsys_set()
604 ret = set_errno(EPERM); in rctlsys_set()
606 ret = set_errno(ESRCH); in rctlsys_set()
617 ret = set_errno(EPERM); in rctlsys_set()
633 ret = set_errno(EACCES); in rctlsys_set()
644 ret = set_errno(EACCES); in rctlsys_set()
661 ret = set_errno(EACCES); in rctlsys_set()
666 (void) set_errno(ret); in rctlsys_set()
678 ret = set_errno(EPERM); in rctlsys_set()
692 ret = set_errno(EACCES); in rctlsys_set()
723 (void) set_errno(ret); in rctlsys_set()
735 ret = set_errno(EPERM); in rctlsys_set()
744 ret = set_errno(EACCES); in rctlsys_set()
750 (void) set_errno(ret); in rctlsys_set()
785 return (set_errno(EFAULT)); in rctlsys_lst()
805 return (set_errno(EFAULT)); in rctlsys_ctl()
817 return (set_errno(ESRCH)); in rctlsys_ctl()
826 return (set_errno(EFAULT)); in rctlsys_ctl()
836 return (set_errno(EPERM)); in rctlsys_ctl()
846 return (set_errno(ESRCH)); in rctlsys_ctl()
853 return (set_errno(EFAULT)); in rctlsys_ctl()
862 return (set_errno(ESRCH)); in rctlsys_ctl()
872 return (set_errno(EINVAL)); in rctlsys_ctl()
903 return (set_errno(EFAULT)); in rctlsys_projset()
908 return (set_errno(EINVAL)); in rctlsys_projset()
913 return (set_errno(EINVAL)); in rctlsys_projset()
921 return (set_errno(EINVAL)); in rctlsys_projset()
926 return (set_errno(EPERM)); in rctlsys_projset()
1007 return (set_errno(error)); in rctlsys_projset()
1055 return (set_errno(EINVAL)); in rctlsys()