Home
last modified time | relevance | path

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

12

/linux-6.6.21/security/integrity/ima/
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()
/linux-6.6.21/fs/fat/
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-6.6.21/fs/
Dxattr.c709 error = setxattr(file_mnt_idmap(f.file), in SYSCALL_DEFINE5()
818 error = getxattr(file_mnt_idmap(f.file), f.file->f_path.dentry, in SYSCALL_DEFINE4()
965 error = removexattr(file_mnt_idmap(f.file), in SYSCALL_DEFINE2()
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()
Dremap_range.c425 struct mnt_idmap *idmap = file_mnt_idmap(file); in allow_file_dedupe()
Dinode.c2076 kill = dentry_needs_remove_privs(file_mnt_idmap(file), dentry); in __file_remove_privs()
2084 error = __remove_privs(file_mnt_idmap(file), dentry, kill); in __file_remove_privs()
Dexec.c1424 struct mnt_idmap *idmap = file_mnt_idmap(file); in would_dump()
1622 idmap = file_mnt_idmap(file); in bprm_fill_uid()
Dfcntl.c51 if (!inode_owner_or_capable(file_mnt_idmap(filp), inode)) in setfl()
Dcoredump.c727 idmap = file_mnt_idmap(cprm.file); in do_coredump()
Dopen.c194 error = do_truncate(file_mnt_idmap(f.file), dentry, length, in do_sys_ftruncate()
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c3799 struct mnt_idmap *idmap = file_mnt_idmap(priv->dir_fp->filp); in process_query_dir_entries()
4063 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir()
4323 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in smb2_get_ea()
4491 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_basic_info()
4516 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_standard_info()
4566 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_all_info()
4641 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_stream_info()
4731 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_internal_info()
4756 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_network_open_info()
4813 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_compression_info()
[all …]
Dvfs.c293 v_len = ksmbd_vfs_getcasexattr(file_mnt_idmap(fp->filp), in ksmbd_vfs_stream_read()
417 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in ksmbd_vfs_stream_write()
1065 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink()
Dsmb_common.c435 struct mnt_idmap *idmap = file_mnt_idmap(dir->filp); in ksmbd_populate_dot_dotdot_entries()
Dvfs_cache.c255 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
/linux-6.6.21/fs/btrfs/
Dioctl.c1333 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create()
1393 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create_v2()
1438 if (!inode_owner_or_capable(file_mnt_idmap(file), inode)) in btrfs_ioctl_subvol_setflags()
2123 ret = btrfs_search_path_in_tree_user(file_mnt_idmap(file), inode, args); in btrfs_ioctl_ino_lookup_user()
2357 struct mnt_idmap *idmap = file_mnt_idmap(file); in btrfs_ioctl_snap_destroy()
4069 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), args64); in btrfs_ioctl_set_received_subvol_32()
4103 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), sa); in btrfs_ioctl_set_received_subvol()
/linux-6.6.21/fs/xfs/
Dxfs_ioctl32.c207 .idmap = file_mnt_idmap(file), in xfs_compat_ioc_fsbulkstat()
Dxfs_ioctl.c668 .idmap = file_mnt_idmap(file), in xfs_ioc_fsbulkstat()
847 .idmap = file_mnt_idmap(file), in xfs_ioc_bulkstat()
Dxfs_file.c1109 error = xfs_vn_setattr_size(file_mnt_idmap(file), in xfs_file_fallocate()
/linux-6.6.21/security/apparmor/
Dfile.c491 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
Ddomain.c881 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file), in apparmor_bprm_creds_for_exec()
Dlsm.c472 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
/linux-6.6.21/security/
Dcommoncap.c745 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
/linux-6.6.21/include/linux/
Dfs.h2473 static inline struct mnt_idmap *file_mnt_idmap(struct file *file) in file_mnt_idmap() function
2673 return inode_permission(file_mnt_idmap(file), in file_permission()
/linux-6.6.21/fs/ext4/
Dioctl.c1228 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()
/linux-6.6.21/fs/f2fs/
Dfile.c2053 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_start_atomic_write()
2161 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_commit_atomic_write()
2193 struct mnt_idmap *idmap = file_mnt_idmap(filp); in f2fs_ioc_abort_atomic_write()

12