Lines Matching refs:cr

257 smb_vop_read(vnode_t *vp, uio_t *uiop, int ioflag, cred_t *cr)  in smb_vop_read()  argument
262 error = VOP_READ(vp, uiop, ioflag, cr, &smb_ct); in smb_vop_read()
269 cred_t *cr) in smb_vop_write() argument
278 error = VOP_WRITE(vp, uiop, ioflag, cr, &smb_ct); in smb_vop_write()
287 smb_vop_ioctl(vnode_t *vp, int cmd, void *arg, cred_t *cr) in smb_vop_ioctl() argument
295 error = VOP_IOCTL(vp, cmd, (intptr_t)arg, (int)flags, cr, in smb_vop_ioctl()
308 smb_vop_reqzcbuf(vnode_t *vp, int ioflag, xuio_t *xuio, cred_t *cr) in smb_vop_reqzcbuf() argument
312 error = VOP_REQZCBUF(vp, ioflag, xuio, cr, &smb_ct); in smb_vop_reqzcbuf()
317 smb_vop_retzcbuf(vnode_t *vp, xuio_t *xuio, cred_t *cr) in smb_vop_retzcbuf() argument
321 error = VOP_RETZCBUF(vp, xuio, cr, &smb_ct); in smb_vop_retzcbuf()
349 smb_vop_priv_check(cred_t *cr, int priv, boolean_t srv_only, vnode_t *vp) in smb_vop_priv_check() argument
351 return (PRIV_POLICY_ONLY(cr, priv, srv_only) && in smb_vop_priv_check()
380 int flags, cred_t *cr) in smb_vop_getattr() argument
394 if (smb_vop_priv_check(cr, PRIV_FILE_DAC_READ, B_TRUE, use_vp)) in smb_vop_getattr()
416 cr, &smb_ct); in smb_vop_getattr()
476 flags, cr, &smb_ct); in smb_vop_getattr()
501 flags, cr, &smb_ct); in smb_vop_getattr()
568 int flags, cred_t *cr) in smb_vop_setattr() argument
609 if ((error = VOP_SETATTR(use_vp, vap, flags, cr, &smb_ct)) != 0) in smb_vop_setattr()
623 offset_t offset, cred_t *cr) in smb_vop_space() argument
627 error = VOP_SPACE(vp, cmd, bfp, flags, offset, cr, &smb_ct); in smb_vop_space()
644 smb_vop_access(vnode_t *vp, int mode, int flags, vnode_t *dir_vp, cred_t *cr) in smb_vop_access() argument
651 error = VOP_ACCESS(vp, mode, flags, cr, NULL); in smb_vop_access()
662 cr, NULL); in smb_vop_access()
669 cr, NULL); in smb_vop_access()
676 error = VOP_ACCESS(vp, mode, flags, cr, NULL); in smb_vop_access()
705 cred_t *cr) in smb_vop_lookup() argument
767 if (smb_vop_priv_check(cr, PRIV_FILE_DAC_SEARCH, B_FALSE, dvp)) in smb_vop_lookup()
778 error = VOP_LOOKUP(dvp, np, vpp, NULL, option_flags, NULL, cr, in smb_vop_lookup()
807 int flags, cred_t *cr, vsecattr_t *vsap) in smb_vop_create() argument
836 vpp, cr, option_flags, &smb_ct, vsap); in smb_vop_create()
849 (void) VOP_SETATTR(*vpp, &ta, 0, cr, &smb_ct); in smb_vop_create()
856 smb_vop_remove(vnode_t *dvp, char *name, int flags, cred_t *cr) in smb_vop_remove() argument
869 error = VOP_REMOVE(dvp, np, cr, &smb_ct, option_flags); in smb_vop_remove()
881 int flags, cred_t *cr) in smb_vop_link() argument
898 rc = VOP_LINK(to_dvp, from_vp, np, cr, &smb_ct, option_flags); in smb_vop_link()
903 rc = VOP_LINK(to_dvp, from_vp, to_name, cr, &smb_ct, option_flags); in smb_vop_link()
914 char *to_name, int flags, cred_t *cr) in smb_vop_rename() argument
934 error = VOP_RENAME(from_dvp, from, to_dvp, to, cr, in smb_vop_rename()
942 error = VOP_RENAME(from_dvp, from_name, to_dvp, to_name, cr, in smb_vop_rename()
950 int flags, cred_t *cr, vsecattr_t *vsap) in smb_vop_mkdir() argument
978 error = VOP_MKDIR(dvp, np, vap, vpp, cr, &smb_ct, option_flags, vsap); in smb_vop_mkdir()
996 smb_vop_rmdir(vnode_t *dvp, char *name, int flags, cred_t *cr) in smb_vop_rmdir() argument
1009 error = VOP_RMDIR(dvp, np, rootdir, cr, &smb_ct, option_flags); in smb_vop_rmdir()
1014 smb_vop_commit(vnode_t *vp, cred_t *cr) in smb_vop_commit() argument
1016 return (VOP_FSYNC(vp, 1, cr, &smb_ct)); in smb_vop_commit()
1133 void *buf, int *count, int *eof, uint32_t rddir_flag, cred_t *cr) in smb_vop_readdir() argument
1169 error = VOP_READDIR(vp, &auio, cr, eof, &smb_ct, flags); in smb_vop_readdir()
1231 cred_t *cr) in smb_vop_stream_lookup() argument
1238 LOOKUP_XATTR | CREATE_XATTR_DIR, cr)) != 0) in smb_vop_stream_lookup()
1257 name, flags, &tmpflgs, rootvp, NULL, cr)) != 0) { in smb_vop_stream_lookup()
1272 vnode_t **vpp, vnode_t **xattrdirvpp, int flags, cred_t *cr) in smb_vop_stream_create() argument
1278 LOOKUP_XATTR | CREATE_XATTR_DIR, cr)) != 0) in smb_vop_stream_create()
1290 vpp, flags, cr, NULL)) != 0) in smb_vop_stream_create()
1299 smb_vop_stream_remove(vnode_t *vp, char *stream_name, int flags, cred_t *cr) in smb_vop_stream_remove() argument
1305 error = smb_vop_lookup_xattrdir(vp, &xattrdirvp, LOOKUP_XATTR, cr); in smb_vop_stream_remove()
1318 error = smb_vop_remove(xattrdirvp, solaris_stream_name, flags, cr); in smb_vop_stream_remove()
1328 cred_t *cr) in smb_vop_lookup_xattrdir() argument
1332 error = VOP_LOOKUP(fvp, "", xattrdirvpp, NULL, flags, NULL, cr, in smb_vop_lookup_xattrdir()
1363 smb_vop_statfs(vnode_t *vp, struct statvfs64 *statp, cred_t *cr) in smb_vop_statfs() argument
1383 cred_t *cr) in smb_vop_acl_read() argument
1408 if ((error = VOP_GETSECATTR(vp, &vsecattr, flags, cr, &smb_ct)) != 0) in smb_vop_acl_read()
1424 smb_vop_acl_write(vnode_t *vp, acl_t *aclp, int flags, cred_t *cr) in smb_vop_acl_write() argument
1437 error = VOP_SETSECATTR(vp, &vsecattr, flags, cr, &smb_ct); in smb_vop_acl_write()
1509 smb_vop_eaccess(vnode_t *vp, int *mode, int flags, vnode_t *dir_vp, cred_t *cr) in smb_vop_eaccess() argument
1521 dir_vp, cr); in smb_vop_eaccess()
1530 dir_vp, cr); in smb_vop_eaccess()
1542 uint32_t share_access, cred_t *cr) in smb_vop_shrlock() argument
1606 return (VOP_SHRLOCK(vp, cmd, &shr, flag, cr, NULL)); in smb_vop_shrlock()
1610 smb_vop_unshrlock(vnode_t *vp, uint32_t uniq_fid, cred_t *cr) in smb_vop_unshrlock() argument
1635 return (VOP_SHRLOCK(vp, F_UNSHARE, &shr, 0, cr, NULL)); in smb_vop_unshrlock()
1651 smb_vop_frlock(vnode_t *vp, cred_t *cr, int flag, flock64_t *bf) in smb_vop_frlock() argument
1666 return (VOP_FRLOCK(vp, cmd, bf, flag, 0, &flk_cb, cr, &smb_ct)); in smb_vop_frlock()