Lines Matching refs:inode_permission
504 int inode_permission(struct mnt_idmap *idmap, in inode_permission() function
539 EXPORT_SYMBOL(inode_permission);
1163 if (inode_permission(idmap, inode, MAY_READ | MAY_WRITE)) in safe_hardlink_source()
1720 int err = inode_permission(idmap, nd->inode, MAY_EXEC|MAY_NOT_BLOCK); in may_lookup()
1724 return inode_permission(idmap, nd->inode, MAY_EXEC); in may_lookup()
2688 return inode_permission(idmap, base->d_inode, MAY_EXEC); in lookup_one_common()
2968 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_delete()
3012 return inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in may_create()
3260 error = inode_permission(idmap, inode, MAY_OPEN | acc_mode); in may_open()
3317 error = inode_permission(idmap, dir->dentry->d_inode, in may_o_create()
3672 error = inode_permission(idmap, dir, MAY_WRITE | MAY_EXEC); in vfs_tmpfile()
4798 error = inode_permission(rd->old_mnt_idmap, source, in vfs_rename()
4804 error = inode_permission(rd->new_mnt_idmap, target, in vfs_rename()