Home
last modified time | relevance | path

Searched refs:nop_mnt_idmap (Results 1 - 25 of 146) sorted by relevance

123456

/kernel/linux/linux-6.6/fs/jfs/
H A Dfile.c94 rc = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in jfs_setattr()
98 if (is_quota_modification(&nop_mnt_idmap, inode, iattr)) { in jfs_setattr()
105 rc = dquot_transfer(&nop_mnt_idmap, inode, iattr); in jfs_setattr()
122 setattr_copy(&nop_mnt_idmap, inode, iattr); in jfs_setattr()
126 rc = posix_acl_chmod(&nop_mnt_idmap, dentry, inode->i_mode); in jfs_setattr()
/kernel/linux/linux-6.6/fs/
H A Dmnt_idmapping.c22 struct mnt_idmap nop_mnt_idmap = { variable
26 EXPORT_SYMBOL_GPL(nop_mnt_idmap); variable
248 * If @idmap is not the @nop_mnt_idmap bump the reference count.
254 if (idmap != &nop_mnt_idmap) in mnt_idmap_get()
269 if (idmap != &nop_mnt_idmap && refcount_dec_and_test(&idmap->count)) { in mnt_idmap_put()
/kernel/linux/linux-6.6/fs/ecryptfs/
H A Dinode.c150 rc = vfs_unlink(&nop_mnt_idmap, lower_dir, lower_dentry, in ecryptfs_do_unlink()
191 rc = vfs_create(&nop_mnt_idmap, lower_dir, in ecryptfs_do_create()
202 vfs_unlink(&nop_mnt_idmap, lower_dir, lower_dentry, NULL); in ecryptfs_do_create()
445 rc = vfs_link(lower_old_dentry, &nop_mnt_idmap, lower_dir, in ecryptfs_link()
489 rc = vfs_symlink(&nop_mnt_idmap, lower_dir, lower_dentry, in ecryptfs_symlink()
515 rc = vfs_mkdir(&nop_mnt_idmap, lower_dir, in ecryptfs_mkdir()
544 rc = vfs_rmdir(&nop_mnt_idmap, lower_dir, lower_dentry); in ecryptfs_rmdir()
568 rc = vfs_mknod(&nop_mnt_idmap, lower_dir, in ecryptfs_mknod()
627 rd.old_mnt_idmap = &nop_mnt_idmap; in ecryptfs_rename()
630 rd.new_mnt_idmap = &nop_mnt_idmap; in ecryptfs_rename()
[all...]
/kernel/linux/linux-6.6/fs/minix/
H A Dfile.c31 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in minix_setattr()
45 setattr_copy(&nop_mnt_idmap, inode, attr); in minix_setattr()
/kernel/linux/linux-6.6/fs/sysv/
H A Dfile.c38 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in sysv_setattr()
51 setattr_copy(&nop_mnt_idmap, inode, attr); in sysv_setattr()
/kernel/linux/linux-6.6/fs/fuse/
H A Dacl.c94 return __fuse_get_acl(fc, &nop_mnt_idmap, inode, type, rcu); in fuse_get_inode_acl()
149 !vfsgid_in_group_p(i_gid_into_vfsgid(&nop_mnt_idmap, inode)) && in fuse_set_acl()
150 !capable_wrt_inode_uidgid(&nop_mnt_idmap, inode, CAP_FSETID)) in fuse_set_acl()
/kernel/linux/linux-6.6/fs/cachefiles/
H A Dxattr.c68 ret = vfs_setxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, in cachefiles_set_object_xattr()
111 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, tlen); in cachefiles_check_auxdata()
153 ret = vfs_removexattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache); in cachefiles_remove_object_xattr()
210 ret = vfs_setxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, in cachefiles_set_volume_xattr()
252 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, len); in cachefiles_check_volume_xattr()
H A Dnamei.c133 ret = vfs_mkdir(&nop_mnt_idmap, d_inode(dir), subdir, 0700); in cachefiles_get_directory()
248 ret = vfs_unlink(&nop_mnt_idmap, d_backing_inode(dir), dentry, NULL); in cachefiles_unlink()
385 .old_mnt_idmap = &nop_mnt_idmap, in cachefiles_bury_object()
388 .new_mnt_idmap = &nop_mnt_idmap, in cachefiles_bury_object()
454 file = kernel_tmpfile_open(&nop_mnt_idmap, &parentpath, in cachefiles_create_tmpfile()
720 ret = vfs_link(object->file->f_path.dentry, &nop_mnt_idmap, in cachefiles_commit_tmpfile()
/kernel/linux/linux-6.6/security/integrity/evm/
H A Devm_crypto.c272 size = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, xattr->name, in evm_calc_hmac_or_hash()
281 user_space_size = vfs_getxattr(&nop_mnt_idmap, dentry, in evm_calc_hmac_or_hash()
333 rc = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_EVM, in evm_is_immutable()
378 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, in evm_update_evmxattr()
383 rc = __vfs_removexattr(&nop_mnt_idmap, dentry, XATTR_NAME_EVM); in evm_update_evmxattr()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dvfs.c393 setattr_should_drop_sgid(&nop_mnt_idmap, inode); in nfsd_sanitize_attrs()
435 host_err = notify_change(&nop_mnt_idmap, dentry, &size_attr, NULL); in __nfsd_setattr()
453 return notify_change(&nop_mnt_idmap, dentry, iap, NULL); in __nfsd_setattr()
559 attr->na_aclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr()
564 attr->na_aclerr = set_posix_acl(&nop_mnt_idmap, in nfsd_setattr()
600 if (vfs_getxattr(&nop_mnt_idmap, dentry, NFSD_JUNCTION_XATTR_NAME, in nfsd4_is_junction()
1435 host_err = vfs_create(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked()
1441 host_err = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode); in nfsd_create_locked()
1469 host_err = vfs_mknod(&nop_mnt_idmap, dirp, dchild, in nfsd_create_locked()
1634 host_err = vfs_symlink(&nop_mnt_idmap, d_inod in nfsd_symlink()
[all...]
H A Dnfs3acl.c106 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_ACCESS, in nfsd3_proc_setacl()
110 error = set_posix_acl(&nop_mnt_idmap, fh->fh_dentry, ACL_TYPE_DEFAULT, in nfsd3_proc_setacl()
/kernel/linux/linux-6.6/drivers/base/
H A Ddevtmpfs.c169 err = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode); in dev_mkdir()
219 err = vfs_mknod(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode, in handle_create()
229 notify_change(&nop_mnt_idmap, dentry, &newattrs, NULL); in handle_create()
250 err = vfs_rmdir(&nop_mnt_idmap, d_inode(parent.dentry), in dev_rmdir()
337 notify_change(&nop_mnt_idmap, dentry, &newattrs, NULL); in handle_remove()
339 err = vfs_unlink(&nop_mnt_idmap, d_inode(parent.dentry), in handle_remove()
/kernel/linux/linux-6.6/drivers/staging/blackbox/
H A Dblackbox_common.c105 ret = inode_permission(&nop_mnt_idmap, d_inode(path.dentry), MAY_ACCESS); in file_exists()
131 ret = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), dentry, BBOX_DIR_LIMIT); in create_new_dir()
271 ret = vfs_unlink(&nop_mnt_idmap, d_inode(parent), dentry, NULL); in file_delete()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/fs/exfat/
H A Dfile.c235 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in exfat_getattr()
268 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in exfat_setattr()
295 setattr_copy(&nop_mnt_idmap, inode, attr); in exfat_setattr()
/kernel/linux/linux-6.6/fs/ramfs/
H A Dinode.c64 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in ramfs_get_inode()
116 int retval = ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFDIR, 0); in ramfs_mkdir()
125 return ramfs_mknod(&nop_mnt_idmap, dir, dentry, mode | S_IFREG, 0); in ramfs_create()
H A Dfile-nommu.c169 ret = setattr_prepare(&nop_mnt_idmap, dentry, ia); in ramfs_nommu_setattr()
189 setattr_copy(&nop_mnt_idmap, inode, ia); in ramfs_nommu_setattr()
/kernel/linux/linux-6.6/fs/9p/
H A Dacl.c198 if (!inode_owner_or_capable(&nop_mnt_idmap, inode)) { in v9fs_iop_set_acl()
209 retval = posix_acl_update_mode(&nop_mnt_idmap, inode, in v9fs_iop_set_acl()
228 v9fs_vfs_setattr_dotl(&nop_mnt_idmap, dentry, &iattr); in v9fs_iop_set_acl()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dinode.c333 error = gfs2_permission(&nop_mnt_idmap, dir, MAY_EXEC); in gfs2_lookupi()
363 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode, in create_ok()
977 error = gfs2_permission(&nop_mnt_idmap, dir, MAY_WRITE | MAY_EXEC); in gfs2_link()
1092 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode, in gfs2_unlink_ok()
1518 error = gfs2_permission(&nop_mnt_idmap, ndir, in gfs2_rename()
1555 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry), in gfs2_rename()
1719 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode, in gfs2_exchange()
1725 error = gfs2_permission(&nop_mnt_idmap, ndentry->d_inode, in gfs2_exchange()
1894 error = generic_permission(&nop_mnt_idmap, inode, mask); in gfs2_permission()
1903 setattr_copy(&nop_mnt_idmap, inod in __gfs2_setattr_simple()
[all...]
/kernel/linux/linux-6.6/fs/kernfs/
H A Dinode.c123 error = setattr_prepare(&nop_mnt_idmap, dentry, iattr); in kernfs_iop_setattr()
132 setattr_copy(&nop_mnt_idmap, inode, iattr); in kernfs_iop_setattr()
193 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in kernfs_iop_getattr()
289 ret = generic_permission(&nop_mnt_idmap, inode, mask); in kernfs_iop_permission()
/kernel/linux/linux-6.6/fs/ocfs2/dlmfs/
H A Ddlmfs.c198 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in dlmfs_file_setattr()
202 setattr_copy(&nop_mnt_idmap, inode, attr); in dlmfs_file_setattr()
339 inode_init_owner(&nop_mnt_idmap, inode, NULL, mode); in dlmfs_get_root_inode()
362 inode_init_owner(&nop_mnt_idmap, inode, parent, mode); in dlmfs_get_inode()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/fs/udf/
H A Dfile.c220 error = setattr_prepare(&nop_mnt_idmap, dentry, attr); in udf_setattr()
243 setattr_copy(&nop_mnt_idmap, inode, attr); in udf_setattr()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dinode_merge.c819 err = notify_change(&nop_mnt_idmap, lower_dentry, &lower_ia, NULL); in hmdfs_setattr_merge()
847 ret = vfs_mkdir(&nop_mnt_idmap, lo_i_parent, lo_d_child, mode); in do_mkdir_merge()
875 ret = vfs_create(&nop_mnt_idmap, lo_i_parent, lo_d_child, mode, want_excl); in do_create_merge()
919 ret = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), lo_d_child, in hmdfs_do_ops_merge()
1143 ret = vfs_rmdir(&nop_mnt_idmap, lo_i_dir, lo_d); in do_rmdir_merge()
1203 ret = vfs_unlink(&nop_mnt_idmap, lo_i_dir, lo_d_lookup, NULL); in do_unlink_merge()
1310 rename_data.old_mnt_idmap = &nop_mnt_idmap; in do_rename_merge()
1313 rename_data.new_mnt_idmap = &nop_mnt_idmap; in do_rename_merge()
H A Dinode_local.c351 error = vfs_mkdir(&nop_mnt_idmap, lower_dir, lower_dentry, mode); in hmdfs_mkdir_local_dentry()
440 error = vfs_create(&nop_mnt_idmap, lower_dir, lower_dentry, mode, want_excl); in hmdfs_create_local_dentry()
523 error = vfs_rmdir(&nop_mnt_idmap, lower_dir, lookup_dentry); in hmdfs_rmdir_local_dentry()
588 error = vfs_unlink(&nop_mnt_idmap, lower_dir, lookup_dentry, NULL); in hmdfs_unlink_local_dentry()
668 rename_data.old_mnt_idmap = &nop_mnt_idmap; in hmdfs_rename_local_dentry()
671 rename_data.new_mnt_idmap = &nop_mnt_idmap; in hmdfs_rename_local_dentry()
813 err = vfs_symlink(&nop_mnt_idmap, lower_dir_inode, lower_dentry, symname); in hmdfs_symlink_local()
903 err = notify_change(&nop_mnt_idmap, lower_dentry, &lower_ia, NULL); in hmdfs_setattr_local()

Completed in 19 milliseconds

123456