| /linux/fs/ |
| H A D | mnt_idmapping.c | 31 struct mnt_idmap nop_mnt_idmap = { variable 34 EXPORT_SYMBOL_GPL(nop_mnt_idmap); 86 if (idmap == &nop_mnt_idmap) in make_vfsuid() 125 if (idmap == &nop_mnt_idmap) in make_vfsgid() 155 if (idmap == &nop_mnt_idmap) in from_vfsuid() 184 if (idmap == &nop_mnt_idmap) in from_vfsgid() 317 if (idmap != &nop_mnt_idmap && idmap != &invalid_mnt_idmap) in mnt_idmap_get() 333 if (idmap != &nop_mnt_idmap && idmap != &invalid_mnt_idmap && in mnt_idmap_put()
|
| /linux/fs/cachefiles/ |
| H A D | namei.c | 100 subdir = start_creating(&nop_mnt_idmap, dir, &QSTR(dirname)); in cachefiles_get_directory() 132 subdir = vfs_mkdir(&nop_mnt_idmap, d_inode(dir), subdir, 0700, NULL); in cachefiles_get_directory() 251 ret = vfs_unlink(&nop_mnt_idmap, d_backing_inode(dir), dentry, NULL); in cachefiles_unlink() 308 rd.mnt_idmap = &nop_mnt_idmap; in cachefiles_bury_object() 426 file = kernel_tmpfile_open(&nop_mnt_idmap, &parentpath, in cachefiles_create_tmpfile() 600 dentry = lookup_one_positive_unlocked(&nop_mnt_idmap, in cachefiles_look_up_object() 656 dentry = start_creating(&nop_mnt_idmap, fan, &QSTR(object->d_name)); in cachefiles_commit_tmpfile() 680 dentry = start_creating(&nop_mnt_idmap, fan, in cachefiles_commit_tmpfile() 694 ret = vfs_link(object->file->f_path.dentry, &nop_mnt_idmap, in cachefiles_commit_tmpfile() 727 victim = start_removing(&nop_mnt_idmap, dir, &QSTR(filename)); in cachefiles_lookup_for_cull()
|
| /linux/security/integrity/evm/ |
| H A D | evm_crypto.c | 281 size = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr->name, in evm_calc_hmac_or_hash() 290 user_space_size = vfs_getxattr(&nop_mnt_idmap, dentry, in evm_calc_hmac_or_hash() 350 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_EVM, in evm_is_immutable() 396 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, in evm_update_evmxattr() 401 rc = __vfs_removexattr(&nop_mnt_idmap, dentry, XATTR_NAME_EVM); in evm_init_hmac()
|
| H A D | evm_main.c | 222 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_EVM, in evm_verify_hmac() 491 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr_name, &xattr_data, 1038 rc = vfs_getxattr_alloc(&nop_mnt_idmap, src, XATTR_NAME_EVM, in evm_inode_init_security()
|
| H A D | evm_secfs.c | 236 err = simple_setattr(&nop_mnt_idmap, evm_xattrs, &newattrs); in evm_write_xattrs()
|
| /linux/fs/ext2/ |
| H A D | ioctl.c | 69 if (!inode_owner_or_capable(&nop_mnt_idmap, inode)) in ext2_ioctl() 102 if (!inode_owner_or_capable(&nop_mnt_idmap, inode)) in ext2_ioctl()
|
| H A D | acl.c | 231 error = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, in ext2_set_acl()
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 64 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in ramfs_get_inode() 124 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir() 133 return ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFREG, 0); in ramfs_create()
|
| /linux/security/integrity/ima/ |
| H A D | ima_asymmetric_keys.c | 63 process_buffer_measurement(&nop_mnt_idmap, NULL, payload, payload_len, in ima_post_key_create_or_update()
|
| H A D | ima_queue_keys.c | 162 process_buffer_measurement(&nop_mnt_idmap, NULL, in ima_process_queued_keys()
|
| H A D | ima_appraise.c | 106 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, XATTR_NAME_IMA, in ima_fix_xattr() 236 ret = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_IMA, 442 process_buffer_measurement(&nop_mnt_idmap, NULL, digest, digestsize,
|
| /linux/fs/nfsd/ |
| H A D | nfs3acl.c | 108 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsd3_proc_setacl() 112 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsd3_proc_setacl()
|
| /linux/fs/9p/ |
| H A D | vfs_inode_dotl.c | 432 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in v9fs_vfs_getattr_dotl() 457 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(dentry), stat); in v9fs_vfs_getattr_dotl() 527 retval = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in v9fs_vfs_setattr_dotl() 590 setattr_copy(&nop_mnt_idmap, inode, iattr); in v9fs_vfs_setattr_dotl()
|
| H A D | vfs_inode.c | 263 inode_init_owner(&nop_mnt_idmap, inode, NULL, mode); in v9fs_init_inode() 982 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in v9fs_vfs_getattr() 1003 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(dentry), stat); 1028 retval = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in v9fs_vfs_setattr() 1097 setattr_copy(&nop_mnt_idmap, inode, iattr);
|
| /linux/fs/jfs/ |
| H A D | jfs_inode.c | 67 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); in ialloc()
|
| /linux/fs/udf/ |
| H A D | ialloc.c | 79 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in udf_new_inode()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | inode.c | 103 setattr_copy(&nop_mnt_idmap, inode, attr); in spufs_setattr() 229 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkdir() 457 inode_init_owner(&nop_mnt_idmap, inode, dir, mode | S_IFDIR); in spufs_mkgang()
|
| /linux/fs/xfs/ |
| H A D | xfs_itable.c | 225 if (breq->idmap != &nop_mnt_idmap) { in xfs_bulkstat_one() 312 if (breq->idmap != &nop_mnt_idmap) { in xfs_bulkstat()
|
| /linux/fs/zonefs/ |
| H A D | super.c | 545 ret = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in zonefs_inode_setattr() 562 ret = dquot_transfer(&nop_mnt_idmap, inode, iattr); in zonefs_inode_setattr() 573 setattr_copy(&nop_mnt_idmap, inode, iattr); in zonefs_inode_setattr() 694 inode_init_owner(&nop_mnt_idmap, inode, root, S_IFDIR | 0555); in zonefs_get_zgroup_inode()
|
| /linux/fs/configfs/ |
| H A D | symlink.c | 193 ret = inode_permission(&nop_mnt_idmap, dir, in configfs_symlink()
|
| /linux/fs/ocfs2/ |
| H A D | file.c | 1160 status = setattr_prepare(&nop_mnt_idmap, dentry, attr); in ocfs2_setattr() 1164 if (is_quota_modification(&nop_mnt_idmap, inode, attr)) { in ocfs2_setattr() 1283 setattr_copy(&nop_mnt_idmap, inode, attr); in ocfs2_setattr() 1335 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in ocfs2_getattr() 1378 ret = generic_permission(&nop_mnt_idmap, inode, mask); in ocfs2_permission() 2019 if (file && setattr_should_drop_suidgid(&nop_mnt_idmap, file_inode(file))) { in __ocfs2_change_file_space() 2313 if (setattr_should_drop_suidgid(&nop_mnt_idmap, inode)) { in ocfs2_prepare_inode_for_write()
|
| /linux/mm/ |
| H A D | mincore.c | 230 return inode_owner_or_capable(&nop_mnt_idmap, in can_do_mincore()
|
| /linux/fs/hostfs/ |
| H A D | hostfs_kern.c | 800 err = generic_permission(&nop_mnt_idmap, ino, desired); in hostfs_permission() 814 err = setattr_prepare(&nop_mnt_idmap, dentry, attr); in hostfs_setattr() 871 setattr_copy(&nop_mnt_idmap, inode, attr); in hostfs_setattr()
|
| /linux/fs/jffs2/ |
| H A D | acl.c | 243 rc = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, in jffs2_set_acl()
|
| /linux/fs/minix/ |
| H A D | namei.c | 69 return minix_mknod(&nop_mnt_idmap, dir, dentry, mode, 0); in minix_create()
|