Searched refs:inode_permission (Results 1 – 10 of 10) sorted by relevance
/fs/udf/ |
D | file.c | 185 if (inode_permission(inode, MAY_READ) != 0) { in udf_ioctl()
|
/fs/ncpfs/ |
D | ioctl.c | 875 ret = inode_permission(inode, MAY_WRITE); in ncp_ioctl() 887 ret = inode_permission(inode, MAY_READ); in ncp_ioctl()
|
/fs/nfsd/ |
D | nfsfh.c | 41 err = inode_permission(parent->d_inode, MAY_EXEC); in nfsd_acceptable()
|
D | vfs.c | 2159 err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); in nfsd_permission() 2165 err = inode_permission(inode, MAY_EXEC); in nfsd_permission()
|
/fs/sdcardfs/ |
D | inode.c | 684 err = inode_permission(lower_inode, mask); in sdcardfs_permission()
|
/fs/ |
D | xattr.c | 73 return inode_permission(inode, mask); in xattr_permission()
|
D | namei.c | 459 int inode_permission(struct inode *inode, int mask) in inode_permission() function 463 EXPORT_SYMBOL(inode_permission); 795 if (inode_permission(inode, MAY_READ | MAY_WRITE)) in safe_hardlink_source()
|
/fs/ecryptfs/ |
D | inode.c | 903 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
|
/fs/btrfs/ |
D | ioctl.c | 678 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_delete() 708 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create() 2139 err = inode_permission(inode, MAY_WRITE | MAY_EXEC); in btrfs_ioctl_snap_destroy()
|
/fs/ocfs2/ |
D | refcounttree.c | 4368 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create() 4422 error = inode_permission(inode, MAY_READ); in ocfs2_vfs_reflink()
|