Lines Matching refs:active_cred

557     enum uio_seg segflg, int ioflg, struct ucred *active_cred,
613 error = mac_vnode_check_read(active_cred, file_cred,
616 error = mac_vnode_check_write(active_cred, file_cred,
624 cred = active_cred;
663 off_t offset, enum uio_seg segflg, int ioflg, struct ucred *active_cred,
686 ioflg, active_cred, file_cred, &iaresid, td);
808 vn_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags,
841 error = mac_vnode_check_read(active_cred, fp->f_cred, vp);
863 vn_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags,
916 error = mac_vnode_check_write(active_cred, fp->f_cred, vp);
1177 vn_io_fault(struct file *fp, struct uio *uio, struct ucred *active_cred,
1207 args.cred = active_cred;
1223 error = doio(fp, uio, active_cred, flags | FOF_OFFSET, td);
1340 vn_truncate(struct file *fp, off_t length, struct ucred *active_cred,
1366 error = mac_vnode_check_write(active_cred, fp->f_cred, vp);
1391 vn_statfile(struct file *fp, struct stat *sb, struct ucred *active_cred,
1398 error = vn_stat(vp, sb, active_cred, fp->f_cred, td);
1408 vn_stat(struct vnode *vp, struct stat *sb, struct ucred *active_cred,
1418 error = mac_vnode_check_stat(active_cred, file_cred, vp);
1435 error = VOP_GETATTR(vp, vap, active_cred);
1515 vn_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred,
1530 error = VOP_GETATTR(vp, &vattr, active_cred);
1539 error = mac_vnode_check_read(active_cred, fp->f_cred,
1552 active_cred, td));
1557 active_cred, td));
1567 vn_poll(struct file *fp, int events, struct ucred *active_cred,
1577 error = mac_vnode_check_poll(active_cred, fp->f_cred, vp);
2164 vn_chmod(struct file *fp, mode_t mode, struct ucred *active_cred,
2175 return (setfmode(td, active_cred, vp, mode));
2179 vn_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred,
2190 return (setfown(td, active_cred, vp, uid, gid));