Home
last modified time | relevance | path

Searched refs:file_mnt_idmap (Results 1 – 25 of 26) sorted by relevance

12

/linux/fs/bcachefs/
H A Dfs-ioctl.c97 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 Dima_main.c235 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 Dfile.c93 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 Dfile.c428 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 Dxattr.c646 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 Dioctl.c717 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 Dremap_range.c418 struct mnt_idmap *idmap = file_mnt_idmap(file); in may_dedupe_file()
H A Dinode.c2251 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 Dcoredump.c721 idmap = file_mnt_idmap(cprm.file); in do_coredump()
H A Dopen.c181 error = do_truncate(file_mnt_idmap(file), dentry, length, in do_ftruncate()
H A Dlocks.c2016 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(filp), inode); in vfs_setlease()
/linux/fs/xfs/
H A Dxfs_ioctl.c85 .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 Dvfs.c297 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 Dsmb_common.c439 struct mnt_idmap *idmap = file_mnt_idmap(dir->filp); in ksmbd_populate_dot_dotdot_entries()
H A Dvfs_cache.c262 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
H A Dsmb2pdu.c4057 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 Doplock.c1696 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in create_posix_rsp_buf()
/linux/fs/btrfs/
H A Dioctl.c1365 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 Dfile.c478 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
H A Ddomain.c872 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file),
H A Dlsm.c483 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
/linux/security/
H A Dcommoncap.c746 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
/linux/include/linux/
H A Dfs.h2717 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 Dfile.c2153 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 Dioctl.c1236 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()

12