Lines Matching refs:active_cred

660     enum uio_seg segflg, int ioflg, struct ucred *active_cred,  in vn_rdwr()  argument
714 error = mac_vnode_check_read(active_cred, file_cred, in vn_rdwr()
717 error = mac_vnode_check_write(active_cred, file_cred, in vn_rdwr()
725 cred = active_cred; in vn_rdwr()
764 off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred, in vn_rdwr_inchunks() argument
787 ioflg, active_cred, file_cred, &iaresid, td); in vn_rdwr_inchunks()
1138 vn_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, in vn_read() argument
1187 error = mac_vnode_check_read(active_cred, fp->f_cred, vp); in vn_read()
1209 vn_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, in vn_write() argument
1257 error = mac_vnode_check_write(active_cred, fp->f_cred, vp); in vn_write()
1520 vn_io_fault(struct file *fp, struct uio *uio, struct ucred *active_cred, in vn_io_fault() argument
1570 args.cred = active_cred; in vn_io_fault()
1574 error = doio(fp, uio, active_cred, flags | FOF_OFFSET, td); in vn_io_fault()
1692 vn_truncate(struct file *fp, off_t length, struct ucred *active_cred, in vn_truncate() argument
1718 error = mac_vnode_check_write(active_cred, fp->f_cred, vp); in vn_truncate()
1762 vn_statfile(struct file *fp, struct stat *sb, struct ucred *active_cred) in vn_statfile() argument
1768 error = VOP_STAT(vp, sb, active_cred, fp->f_cred); in vn_statfile()
1778 vn_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, in vn_ioctl() argument
1792 error = vn_getsize(vp, &size, active_cred); in vn_ioctl()
1800 error = mac_vnode_check_read(active_cred, fp->f_cred, in vn_ioctl()
1813 active_cred, td)); in vn_ioctl()
1818 active_cred, td)); in vn_ioctl()
1828 vn_poll(struct file *fp, int events, struct ucred *active_cred, in vn_poll() argument
1839 error = mac_vnode_check_poll(active_cred, fp->f_cred, vp); in vn_poll()
2585 vn_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, in vn_chmod() argument
2596 return (setfmode(td, active_cred, vp, mode)); in vn_chmod()
2600 vn_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, in vn_chown() argument
2611 return (setfown(td, active_cred, vp, uid, gid)); in vn_chown()
3806 int ioflag, struct ucred *cred, struct ucred *active_cred, in vn_deallocate_impl() argument
3849 error = mac_vnode_check_write(active_cred, file_cred, in vn_deallocate_impl()
3880 int ioflag, struct ucred *active_cred, struct ucred *file_cred) in vn_deallocate() argument
3890 cred = file_cred != NOCRED ? file_cred : active_cred; in vn_deallocate()
3892 active_cred, file_cred)); in vn_deallocate()
3897 struct ucred *active_cred, struct thread *td) in vn_fspacectl() argument
3918 active_cred, active_cred, fp->f_cred); in vn_fspacectl()