Home
last modified time | relevance | path

Searched refs:nop_mnt_idmap (Results 1 – 25 of 66) sorted by relevance

123

/linux/fs/
H A Dmnt_idmapping.c31 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 Dnamei.c100 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 Devm_crypto.c281 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 Devm_main.c222 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 Devm_secfs.c236 err = simple_setattr(&nop_mnt_idmap, evm_xattrs, &newattrs); in evm_write_xattrs()
/linux/fs/ext2/
H A Dioctl.c69 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 Dacl.c231 error = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, in ext2_set_acl()
/linux/fs/ramfs/
H A Dinode.c64 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 Dima_asymmetric_keys.c63 process_buffer_measurement(&nop_mnt_idmap, NULL, payload, payload_len, in ima_post_key_create_or_update()
H A Dima_queue_keys.c162 process_buffer_measurement(&nop_mnt_idmap, NULL, in ima_process_queued_keys()
H A Dima_appraise.c106 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 Dnfs3acl.c108 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 Dvfs_inode_dotl.c432 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 Dvfs_inode.c263 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 Djfs_inode.c67 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); in ialloc()
/linux/fs/udf/
H A Dialloc.c79 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in udf_new_inode()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c103 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 Dxfs_itable.c225 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 Dsuper.c545 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 Dsymlink.c193 ret = inode_permission(&nop_mnt_idmap, dir, in configfs_symlink()
/linux/fs/ocfs2/
H A Dfile.c1160 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 Dmincore.c230 return inode_owner_or_capable(&nop_mnt_idmap, in can_do_mincore()
/linux/fs/hostfs/
H A Dhostfs_kern.c800 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 Dacl.c243 rc = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, in jffs2_set_acl()
/linux/fs/minix/
H A Dnamei.c69 return minix_mknod(&nop_mnt_idmap, dir, dentry, mode, 0); in minix_create()

123