Home
last modified time | relevance | path

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

12

/openbmc/linux/security/integrity/ima/
H A Dima_main.c233 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 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()
/openbmc/linux/fs/
H A Dxattr.c711 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 Dioctl.c718 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 Dremap_range.c425 struct mnt_idmap *idmap = file_mnt_idmap(file); in allow_file_dedupe()
H A Dexec.c1423 struct mnt_idmap *idmap = file_mnt_idmap(file); in would_dump()
1622 idmap = file_mnt_idmap(file); in bprm_fill_uid()
H A Dinode.c2119 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 Dfcntl.c51 if (!inode_owner_or_capable(file_mnt_idmap(filp), inode)) in setfl()
H A Dcoredump.c727 idmap = file_mnt_idmap(cprm.file); in do_coredump()
H A Dopen.c194 error = do_truncate(file_mnt_idmap(f.file), dentry, length, in do_sys_ftruncate()
/openbmc/linux/fs/btrfs/
H A Dioctl.c1354 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 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()
1079 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.c255 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
H A Dsmb2pdu.c4075 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 Dxfs_ioctl32.c207 .idmap = file_mnt_idmap(file), in xfs_compat_ioc_fsbulkstat()
H A Dxfs_ioctl.c669 .idmap = file_mnt_idmap(file), in xfs_ioc_fsbulkstat()
848 .idmap = file_mnt_idmap(file), in xfs_ioc_bulkstat()
H A Dxfs_file.c1102 error = xfs_vn_setattr_size(file_mnt_idmap(file), in xfs_file_fallocate()
/openbmc/linux/security/apparmor/
H A Dfile.c491 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
H A Ddomain.c881 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file), in apparmor_bprm_creds_for_exec()
H A Dlsm.c472 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
/openbmc/linux/security/
H A Dcommoncap.c745 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
/openbmc/linux/include/linux/
H A Dfs.h2479 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 Dfile.c2114 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 Dioctl.c1237 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()

12