Home
last modified time | relevance | path

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

12

/Linux-v6.6/security/integrity/ima/
Dima_main.c232 action = ima_get_action(file_mnt_idmap(file), inode, cred, secid, in process_measurement()
474 action = ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect()
477 action |= ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect()
1038 process_buffer_measurement(file_mnt_idmap(f.file), file_inode(f.file), in ima_kexec_cmdline()
/Linux-v6.6/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-v6.6/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.c2074 kill = dentry_needs_remove_privs(file_mnt_idmap(file), dentry); in __file_remove_privs()
2082 error = __remove_privs(file_mnt_idmap(file), dentry, kill); in __file_remove_privs()
Dexec.c1421 struct mnt_idmap *idmap = file_mnt_idmap(file); in would_dump()
1619 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-v6.6/fs/smb/server/
Dsmb2pdu.c3776 struct mnt_idmap *idmap = file_mnt_idmap(priv->dir_fp->filp); in process_query_dir_entries()
4040 inode_permission(file_mnt_idmap(dir_fp->filp), in smb2_query_dir()
4300 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in smb2_get_ea()
4468 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_basic_info()
4493 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_standard_info()
4543 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_all_info()
4618 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_stream_info()
4708 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_internal_info()
4733 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, inode, &stat); in get_file_network_open_info()
4790 generic_fillattr(file_mnt_idmap(fp->filp), STATX_BASIC_STATS, in get_file_compression_info()
[all …]
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()
1070 struct mnt_idmap *idmap = file_mnt_idmap(filp); in ksmbd_vfs_unlink()
Dsmb_common.c420 struct mnt_idmap *idmap = file_mnt_idmap(dir->filp); in ksmbd_populate_dot_dotdot_entries()
Dvfs_cache.c254 err = ksmbd_vfs_remove_xattr(file_mnt_idmap(filp), in __ksmbd_inode_close()
Doplock.c1605 struct mnt_idmap *idmap = file_mnt_idmap(fp->filp); in create_posix_rsp_buf()
/Linux-v6.6/fs/btrfs/
Dioctl.c1321 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create()
1381 ret = __btrfs_ioctl_snap_create(file, file_mnt_idmap(file), in btrfs_ioctl_snap_create_v2()
1426 if (!inode_owner_or_capable(file_mnt_idmap(file), inode)) in btrfs_ioctl_subvol_setflags()
2111 ret = btrfs_search_path_in_tree_user(file_mnt_idmap(file), inode, args); in btrfs_ioctl_ino_lookup_user()
2345 struct mnt_idmap *idmap = file_mnt_idmap(file); in btrfs_ioctl_snap_destroy()
4048 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), args64); in btrfs_ioctl_set_received_subvol_32()
4082 ret = _btrfs_ioctl_set_received_subvol(file, file_mnt_idmap(file), sa); in btrfs_ioctl_set_received_subvol()
/Linux-v6.6/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.c1072 error = xfs_vn_setattr_size(file_mnt_idmap(file), in xfs_file_fallocate()
/Linux-v6.6/security/apparmor/
Dfile.c462 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(file), in __file_path_perm()
Ddomain.c865 vfsuid_t vfsuid = i_uid_into_vfsuid(file_mnt_idmap(bprm->file), in apparmor_bprm_creds_for_exec()
Dlsm.c461 struct mnt_idmap *idmap = file_mnt_idmap(file); in apparmor_file_open()
/Linux-v6.6/security/
Dcommoncap.c745 rc = get_vfs_caps_from_disk(file_mnt_idmap(file), in get_file_caps()
/Linux-v6.6/include/linux/
Dfs.h2412 static inline struct mnt_idmap *file_mnt_idmap(struct file *file) in file_mnt_idmap() function
2612 return inode_permission(file_mnt_idmap(file), in file_permission()
/Linux-v6.6/fs/ext4/
Dioctl.c1228 struct mnt_idmap *idmap = file_mnt_idmap(filp); in __ext4_ioctl()

12