Home
last modified time | relevance | path

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

/fs/
Dopen.c252 error = inode_permission(inode, MAY_WRITE); in do_sys_truncate()
495 res = inode_permission(inode, mode | MAY_ACCESS); in SYSCALL_DEFINE3()
534 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); in SYSCALL_DEFINE1()
563 error = inode_permission(inode, MAY_EXEC | MAY_ACCESS); in SYSCALL_DEFINE1()
581 error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_ACCESS); in SYSCALL_DEFINE1()
Dnamei.c239 int inode_permission(struct inode *inode, int mask) in inode_permission() function
290 return inode_permission(file->f_path.dentry->d_inode, mask); in file_permission()
851 err = inode_permission(nd->path.dentry->d_inode, in __link_path_walk()
1203 err = inode_permission(nd->path.dentry->d_inode, MAY_EXEC); in lookup_hash()
1251 err = inode_permission(base->d_inode, MAY_EXEC); in lookup_one_len()
1361 error = inode_permission(dir, MAY_WRITE | MAY_EXEC); in may_delete()
1397 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in may_create()
1509 error = inode_permission(inode, acc_mode); in may_open()
2523 error = inode_permission(old_dentry->d_inode, MAY_WRITE); in vfs_rename_dir()
2878 EXPORT_SYMBOL(inode_permission);
Dutimes.c99 error = inode_permission(inode, MAY_WRITE); in utimes_common()
Dexec.c129 error = inode_permission(nd.path.dentry->d_inode, in SYSCALL_DEFINE1()
677 err = inode_permission(nd.path.dentry->d_inode, MAY_EXEC | MAY_OPEN); in open_exec()
Dxattr.c66 return inode_permission(inode, mask); in xattr_permission()
Dnamespace.c1184 if (inode_permission(path->dentry->d_inode, MAY_WRITE)) in mount_is_safe()
/fs/nfsd/
Dnfsfh.c54 err = inode_permission(parent->d_inode, MAY_EXEC); in nfsd_acceptable()
Dvfs.c2051 err = inode_permission(inode, acc & (MAY_READ|MAY_WRITE|MAY_EXEC)); in nfsd_permission()
2056 err = inode_permission(inode, MAY_EXEC); in nfsd_permission()
/fs/notify/inotify/
Dinotify_user.c375 error = inode_permission(path->dentry->d_inode, MAY_READ); in find_inode()
/fs/ecryptfs/
Dinode.c864 return inode_permission(ecryptfs_inode_to_lower(inode), mask); in ecryptfs_permission()
/fs/btrfs/
Dioctl.c243 return inode_permission(dir, MAY_WRITE | MAY_EXEC); in btrfs_may_create()