Home
last modified time | relevance | path

Searched refs:inode_permission (Results 1 – 10 of 10) sorted by relevance

/fs/udf/
Dfile.c181 if (inode_permission(inode, MAY_READ) != 0) { in udf_ioctl()
/fs/ncpfs/
Dioctl.c875 ret = inode_permission(inode, MAY_WRITE); in ncp_ioctl()
887 ret = inode_permission(inode, MAY_READ); in ncp_ioctl()
/fs/overlayfs/
Dinode.c149 err = inode_permission(realinode, mask); in ovl_permission()
/fs/nfsd/
Dnfsfh.c41 err = inode_permission(d_inode(parent), MAY_EXEC); in nfsd_acceptable()
Dvfs.c2055 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/
Dnamei.c489 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/
Dinode.c678 err = inode_permission(lower_inode, mask); in sdcardfs_permission()
/fs/ecryptfs/
Dinode.c865 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
/fs/btrfs/
Dioctl.c802 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/
Drefcounttree.c4333 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in ocfs2_may_create()
4387 error = inode_permission(inode, MAY_READ); in ocfs2_vfs_reflink()