Lines Matching refs:crp
174 tsol_fifo_access(vnode_t *vp, int flag, cred_t *crp) in tsol_fifo_access() argument
183 proc_zone = crgetzone(crp); in tsol_fifo_access()
220 fifo_open(vnode_t **vpp, int flag, cred_t *crp, caller_context_t *ct) in fifo_open() argument
230 if (!tsol_fifo_access(vp, flag, crp)) in fifo_open()
260 error = fifo_stropen(vpp, flag, crp, 1, 1); in fifo_open()
364 (void) fifo_close(*vpp, flag, 1, 0, crp, ct); in fifo_open()
384 (void) fifo_close(*vpp, flag, 1, 0, crp, ct); in fifo_open()
402 (void) fifo_close(*vpp, flag, 1, 0, crp, ct); in fifo_open()
435 fifo_close(vnode_t *vp, int flag, int count, offset_t offset, cred_t *crp, in fifo_close() argument
583 (void) strclose(vp, flag, crp); in fifo_close()
609 error = nm_unmountall(fn_dest_vp, crp); in fifo_close()
626 (void) strclose(vp, flag, crp); in fifo_close()
656 fifo_read(struct vnode *vp, struct uio *uiop, int ioflag, struct cred *crp, in fifo_read() argument
805 error = strread(vp, uiop, crp); in fifo_read()
842 fifo_write(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *crp, in fifo_write() argument
1079 error = strwrite(vp, uiop, crp); in fifo_write()
1441 fifo_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *crp, in fifo_getattr() argument
1454 if (error = VOP_GETATTR(fnp->fn_realvp, vap, flags, crp, ct)) in fifo_getattr()
1476 vap->va_uid = crgetuid(crp); in fifo_getattr()
1477 vap->va_gid = crgetgid(crp); in fifo_getattr()
1522 cred_t *crp, in fifo_setattr() argument
1530 error = VOP_SETATTR(fnp->fn_realvp, vap, flags, crp, ctp); in fifo_setattr()
1549 fifo_access(vnode_t *vp, int mode, int flags, cred_t *crp, caller_context_t *ct) in fifo_access() argument
1552 return (VOP_ACCESS(VTOF(vp)->fn_realvp, mode, flags, crp, ct)); in fifo_access()
1584 fifo_fsync(vnode_t *vp, int syncflag, cred_t *crp, caller_context_t *ct) in fifo_fsync() argument
1594 if (VOP_GETATTR(fnp->fn_realvp, &va, 0, crp, ct) == 0) { in fifo_fsync()
1605 (void) VOP_SETATTR(fnp->fn_realvp, &va, 0, crp, ct); in fifo_fsync()
1607 return (VOP_FSYNC(fnp->fn_realvp, syncflag, crp, ct)); in fifo_fsync()
1615 fifo_inactive(vnode_t *vp, cred_t *crp, caller_context_t *ct) in fifo_inactive() argument
1645 (void) fifo_fsync(vp, FSYNC, crp, ct); in fifo_inactive()
1945 fifo_setsecattr(struct vnode *vp, vsecattr_t *vsap, int flag, struct cred *crp, in fifo_setsecattr() argument
1958 crp, ct); in fifo_setsecattr()
1970 fifo_getsecattr(struct vnode *vp, vsecattr_t *vsap, int flag, struct cred *crp, in fifo_getsecattr() argument
1975 crp, ct)); in fifo_getsecattr()
1977 return (fs_fab_acl(vp, vsap, flag, crp, ct)); in fifo_getsecattr()