/linux/fs/bcachefs/ |
H A D | fs-ioctl.c | 97 if (!inode_owner_or_capable(file_mnt_idmap(file), &inode->v)) { in bch2_ioc_setflags() 181 if (!inode_owner_or_capable(file_mnt_idmap(file), &inode->v)) { in bch2_ioc_fssetxattr() 456 error = inode_permission(file_mnt_idmap(filp), in bch2_ioctl_subvolume_create() 473 inode = __bch2_create(file_mnt_idmap(filp), to_bch_ei(dir), in bch2_ioctl_subvolume_create()
|
/linux/security/integrity/ima/ |
H A D | ima_main.c | 235 action = ima_get_action(file_mnt_idmap(file), inode, cred, prop, in process_measurement() 503 action = ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 506 action |= ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 1072 process_buffer_measurement(file_mnt_idmap(fd_file(f)), file_inode(fd_file(f)), in ima_kexec_cmdline()
|
/linux/fs/fat/ |
H A D | file.c | 93 err = security_inode_setattr(file_mnt_idmap(file), in fat_ioctl_set_attributes() 99 err = fat_setattr(file_mnt_idmap(file), file->f_path.dentry, &ia); in fat_ioctl_set_attributes()
|
/linux/fs/exfat/ |
H A D | file.c | 428 err = security_inode_setattr(file_mnt_idmap(file), in exfat_ioctl_set_attributes() 434 err = exfat_setattr(file_mnt_idmap(file), file->f_path.dentry, &ia); in exfat_ioctl_set_attributes()
|
/linux/fs/ |
H A D | xattr.c | 646 error = do_setxattr(file_mnt_idmap(f), f->f_path.dentry, ctx); in file_setxattr() 804 return do_getxattr(file_mnt_idmap(f), f->f_path.dentry, ctx); in file_getxattr() 1032 error = removexattr(file_mnt_idmap(f), in file_removexattr()
|
H A D | ioctl.c | 717 struct mnt_idmap *idmap = file_mnt_idmap(file); in ioctl_setflags() 749 struct mnt_idmap *idmap = file_mnt_idmap(file); in ioctl_fssetxattr()
|
H A D | remap_range.c | 418 struct mnt_idmap *idmap = file_mnt_idmap(file); in may_dedupe_file()
|
H A D | inode.c | 2251 kill = dentry_needs_remove_privs(file_mnt_idmap(file), dentry); in file_remove_privs_flags() 2259 error = __remove_privs(file_mnt_idmap(file), dentry, kill); in file_remove_privs_flags()
|
H A D | coredump.c | 721 idmap = file_mnt_idmap(cprm.file); in do_coredump()
|
H A D | open.c | 181 error = do_truncate(file_mnt_idmap(file), dentry, length, in do_ftruncate()
|
H A D | locks.c | 2016 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(filp), inode); in vfs_setlease()
|
/linux/fs/xfs/ |
H A D | xfs_ioctl.c | 85 .idmap = file_mnt_idmap(file), in xfs_ioc_fsbulkstat() 268 .idmap = file_mnt_idmap(file), in xfs_ioc_bulkstat()
|
/linux/fs/smb/server/ |
H A D | vfs.c | 297 v_len = ksmbd_vfs_getcasexattr(file_mnt_idmap(fp->filp), in ksmbd_vfs_stream_read() 421 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in ksmbd_vfs_stream_write() 1084 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink()
|
H A D | smb_common.c | 439 struct mnt_idmap *idmap = file_mnt_idmap(dir->filp); in ksmbd_populate_dot_dotdot_entries()
|
H A D | vfs_cache.c | 262 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
|
H A D | smb2pdu.c | 4057 struct mnt_idmap *idmap = file_mnt_idmap(priv->dir_fp->filp); in process_query_dir_entries() 4329 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir() 4599 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in smb2_get_ea() 5157 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in find_file_posix_info() 5586 idmap = file_mnt_idmap(fp->filp); in smb2_get_info_sec() 5898 rc = ksmbd_vfs_setxattr(file_mnt_idmap(fp->filp), in smb2_rename() 6021 idmap = file_mnt_idmap(filp); in set_file_basic_info() 7939 idmap = file_mnt_idmap(fp->filp); in fsctl_set_sparse()
|
H A D | oplock.c | 1696 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in create_posix_rsp_buf()
|
/linux/fs/btrfs/ |
H A D | ioctl.c | 1365 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create() 1418 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create_v2() 1463 if (!inode_owner_or_capable(file_mnt_idmap(file), inode)) in btrfs_ioctl_subvol_setflags() 2147 ret = btrfs_search_path_in_tree_user(file_mnt_idmap(file), inode, args); in btrfs_ioctl_ino_lookup_user() 2381 struct mnt_idmap *idmap = file_mnt_idmap(file); in btrfs_ioctl_snap_destroy() 4184 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), args64); in btrfs_ioctl_set_received_subvol_32() 4218 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), sa); in btrfs_ioctl_set_received_subvol()
|
/linux/security/apparmor/ |
H A D | file.c | 478 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
|
H A D | domain.c | 872 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file),
|
H A D | lsm.c | 483 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
|
/linux/security/ |
H A D | commoncap.c | 746 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
|
/linux/include/linux/ |
H A D | fs.h | 2717 static inline struct mnt_idmap *file_mnt_idmap(const struct file *file) in file_mnt_idmap() function 2932 return inode_permission(file_mnt_idmap(file), in file_permission()
|
/linux/fs/f2fs/ |
H A D | file.c | 2153 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_start_atomic_write() 2265 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_commit_atomic_write() 2300 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_abort_atomic_write()
|
/linux/fs/ext4/ |
H A D | ioctl.c | 1236 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()
|