Lines Matching refs:needrightsp
114 const cap_rights_t *needrightsp, uint8_t *flagsp,
2992 fget_cap_noref(struct filedesc *fdp, int fd, const cap_rights_t *needrightsp, in fget_cap_noref() argument
3008 error = cap_check(cap_rights_fde_inline(fde), needrightsp); in fget_cap_noref()
3025 fget_cap(struct thread *td, int fd, const cap_rights_t *needrightsp, in fget_cap() argument
3035 error = fget_unlocked_seq(td, fd, needrightsp, flagsp, &fp, in fget_cap()
3058 error = fget_cap_noref(fdp, fd, needrightsp, fpp, havecapsp); in fget_cap()
3066 fget_cap(struct thread *td, int fd, const cap_rights_t *needrightsp, in fget_cap() argument
3070 error = fget_unlocked_flags(td, fd, needrightsp, flagsp, fpp); in fget_cap()
3351 fget_unlocked_seq(struct thread *td, int fd, const cap_rights_t *needrightsp, in fget_unlocked_seq() argument
3380 error = cap_check_inline(&haverights, needrightsp); in fget_unlocked_seq()
3410 fget_unlocked_seq(struct thread *td, int fd, const cap_rights_t *needrightsp, in fget_unlocked_seq() argument
3457 fget_unlocked_flags(struct thread *td, int fd, const cap_rights_t *needrightsp, in fget_unlocked_flags() argument
3491 if (__predict_false(cap_check_inline_transient(haverights, needrightsp))) in fget_unlocked_flags()
3517 return (fget_unlocked_seq(td, fd, needrightsp, flagsp, fpp, NULL)); in fget_unlocked_flags()
3521 fget_unlocked(struct thread *td, int fd, const cap_rights_t *needrightsp, in fget_unlocked() argument
3524 return (fget_unlocked_flags(td, fd, needrightsp, NULL, fpp)); in fget_unlocked()
3538 fget_only_user(struct filedesc *fdp, int fd, const cap_rights_t *needrightsp, in fget_only_user() argument
3560 error = cap_check_inline(haverights, needrightsp); in fget_only_user()
3568 fget_only_user(struct filedesc *fdp, int fd, const cap_rights_t *needrightsp, in fget_only_user() argument
3604 const cap_rights_t *needrightsp) in _fget() argument
3610 error = fget_unlocked(td, fd, needrightsp, &fp); in _fget()
3756 _fgetvp(struct thread *td, int fd, int flags, const cap_rights_t *needrightsp, in _fgetvp() argument
3763 error = _fget(td, fd, &fp, flags, needrightsp); in _fgetvp()
3786 fgetvp_rights(struct thread *td, int fd, const cap_rights_t *needrightsp, in fgetvp_rights() argument
3793 error = fget_cap(td, fd, needrightsp, NULL, &fp, &caps); in fgetvp_rights()