Searched refs:inode_permission (Results 1 – 10 of 10) sorted by relevance
/fs/udf/ |
D | file.c | 181 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/overlayfs/ |
D | inode.c | 149 err = inode_permission(realinode, mask); in ovl_permission()
|
/fs/nfsd/ |
D | nfsfh.c | 41 err = inode_permission(d_inode(parent), MAY_EXEC); in nfsd_acceptable()
|
D | vfs.c | 2055 err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); in nfsd_permission() 2061 err = inode_permission(inode, MAY_EXEC); in nfsd_permission()
|
/fs/ |
D | namei.c | 489 int inode_permission(struct inode *inode, int mask) in inode_permission() function 493 EXPORT_SYMBOL(inode_permission); 986 if (inode_permission(inode, MAY_READ | MAY_WRITE)) in safe_hardlink_source() 2536 err = inode_permission(base->d_inode, MAY_EXEC); in lookup_one_len_unlocked()
|
/fs/sdcardfs/ |
D | inode.c | 678 err = inode_permission(lower_inode, mask); in sdcardfs_permission()
|
/fs/ecryptfs/ |
D | inode.c | 865 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
|
/fs/btrfs/ |
D | ioctl.c | 802 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_delete() 831 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create() 2435 err = inode_permission(inode, MAY_WRITE | MAY_EXEC); in btrfs_ioctl_snap_destroy()
|
/fs/ocfs2/ |
D | refcounttree.c | 4333 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create() 4387 error = inode_permission(inode, MAY_READ); in ocfs2_vfs_reflink()
|