/openbmc/linux/security/integrity/ima/ |
H A D | ima_main.c | 233 action = ima_get_action(file_mnt_idmap(file), inode, cred, secid, in process_measurement() 488 action = ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 491 action |= ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 1052 process_buffer_measurement(file_mnt_idmap(f.file), file_inode(f.file), in ima_kexec_cmdline()
|
/openbmc/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()
|
/openbmc/linux/fs/ |
H A D | xattr.c | 711 error = do_setxattr(file_mnt_idmap(f.file), in SYSCALL_DEFINE5() 819 error = getxattr(file_mnt_idmap(f.file), f.file->f_path.dentry, in SYSCALL_DEFINE4() 970 error = removexattr(file_mnt_idmap(f.file), in SYSCALL_DEFINE2()
|
H A D | ioctl.c | 718 struct mnt_idmap *idmap = file_mnt_idmap(file); in ioctl_setflags() 750 struct mnt_idmap *idmap = file_mnt_idmap(file); in ioctl_fssetxattr()
|
H A D | remap_range.c | 425 struct mnt_idmap *idmap = file_mnt_idmap(file); in allow_file_dedupe()
|
H A D | exec.c | 1423 struct mnt_idmap *idmap = file_mnt_idmap(file); in would_dump() 1622 idmap = file_mnt_idmap(file); in bprm_fill_uid()
|
H A D | inode.c | 2119 kill = dentry_needs_remove_privs(file_mnt_idmap(file), dentry); in __file_remove_privs() 2127 error = __remove_privs(file_mnt_idmap(file), dentry, kill); in __file_remove_privs()
|
H A D | fcntl.c | 51 if (!inode_owner_or_capable(file_mnt_idmap(filp), inode)) in setfl()
|
H A D | coredump.c | 727 idmap = file_mnt_idmap(cprm.file); in do_coredump()
|
H A D | open.c | 194 error = do_truncate(file_mnt_idmap(f.file), dentry, length, in do_sys_ftruncate()
|
/openbmc/linux/fs/btrfs/ |
H A D | ioctl.c | 1354 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create() 1414 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create_v2() 1459 if (!inode_owner_or_capable(file_mnt_idmap(file), inode)) in btrfs_ioctl_subvol_setflags() 2144 ret = btrfs_search_path_in_tree_user(file_mnt_idmap(file), inode, args); in btrfs_ioctl_ino_lookup_user() 2378 struct mnt_idmap *idmap = file_mnt_idmap(file); in btrfs_ioctl_snap_destroy() 4090 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), args64); in btrfs_ioctl_set_received_subvol_32() 4124 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), sa); in btrfs_ioctl_set_received_subvol()
|
/openbmc/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() 1079 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 | 255 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
|
H A D | smb2pdu.c | 4075 struct mnt_idmap *idmap = file_mnt_idmap(priv->dir_fp->filp); in process_query_dir_entries() 4345 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir() 4615 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in smb2_get_ea() 5173 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in find_file_posix_info() 5622 idmap = file_mnt_idmap(fp->filp); in smb2_query_info() 5930 rc = ksmbd_vfs_setxattr(file_mnt_idmap(fp->filp), in smb2_create_link() 6053 idmap = file_mnt_idmap(filp); in set_file_basic_info() 7968 idmap = file_mnt_idmap(fp->filp); in fsctl_request_resume_key()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_ioctl32.c | 207 .idmap = file_mnt_idmap(file), in xfs_compat_ioc_fsbulkstat()
|
H A D | xfs_ioctl.c | 669 .idmap = file_mnt_idmap(file), in xfs_ioc_fsbulkstat() 848 .idmap = file_mnt_idmap(file), in xfs_ioc_bulkstat()
|
H A D | xfs_file.c | 1102 error = xfs_vn_setattr_size(file_mnt_idmap(file), in xfs_file_fallocate()
|
/openbmc/linux/security/apparmor/ |
H A D | file.c | 491 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
|
H A D | domain.c | 881 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file), in apparmor_bprm_creds_for_exec()
|
H A D | lsm.c | 472 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
|
/openbmc/linux/security/ |
H A D | commoncap.c | 745 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
|
/openbmc/linux/include/linux/ |
H A D | fs.h | 2479 static inline struct mnt_idmap *file_mnt_idmap(struct file *file) in file_mnt_idmap() function 2679 return inode_permission(file_mnt_idmap(file), in file_permission()
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 2114 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_start_atomic_write() 2226 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_commit_atomic_write() 2261 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_abort_atomic_write()
|
/openbmc/linux/fs/ext4/ |
H A D | ioctl.c | 1237 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()
|