/Linux-v4.19/fs/configfs/ |
D | file.c | 119 if ((retval = fill_read_buffer(file->f_path.dentry,buffer))) in configfs_read_file() 156 struct dentry *dentry = file->f_path.dentry; in configfs_read_bin_file() 291 len = flush_write_buffer(file->f_path.dentry, buffer, len); in configfs_write_file() 316 struct dentry *dentry = file->f_path.dentry; in configfs_write_bin_file() 368 struct config_item *item = configfs_get_config_item(file->f_path.dentry->d_parent); in check_perm() 369 struct configfs_attribute * attr = to_attr(file->f_path.dentry); in check_perm() 379 bin_attr = to_bin_attr(file->f_path.dentry); in check_perm() 453 struct config_item * item = to_item(filp->f_path.dentry->d_parent); in configfs_release() 454 struct configfs_attribute * attr = to_attr(filp->f_path.dentry); in configfs_release() 485 struct dentry *dentry = filp->f_path.dentry; in configfs_release_bin_file()
|
/Linux-v4.19/fs/ |
D | open.c | 173 dentry = f.file->f_path.dentry; in do_sys_ftruncate() 192 error = security_path_truncate(&f.file->f_path); in do_sys_ftruncate() 474 if (!d_can_lookup(f.file->f_path.dentry)) in SYSCALL_DEFINE1() 479 set_fs_pwd(current->fs, &f.file->f_path); in SYSCALL_DEFINE1() 560 err = chmod_common(&f.file->f_path, mode); in ksys_fchmod() 703 error = chown_common(&f.file->f_path, user, group); in ksys_fchown() 723 path_get(&f->f_path); in do_dentry_open() 740 error = __mnt_want_write(f->f_path.mnt); in do_dentry_open() 803 __mnt_drop_write(f->f_path.mnt); in do_dentry_open() 806 path_put(&f->f_path); in do_dentry_open() [all …]
|
D | file_table.c | 196 file->f_path = *path; in alloc_file() 243 struct file *f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone() 245 path_get(&f->f_path); in alloc_file_clone() 255 struct dentry *dentry = file->f_path.dentry; in __fput() 256 struct vfsmount *mnt = file->f_path.mnt; in __fput()
|
D | coredump.c | 725 if (d_unhashed(cprm.file->f_path.dentry)) in do_coredump() 745 if (do_truncate(cprm.file->f_path.dentry, 0, 0, cprm.file)) in do_coredump() 848 do_truncate(file->f_path.dentry, offset, 0, file); in dump_truncate()
|
D | xattr.c | 505 error = setxattr(f.file->f_path.dentry, name, value, size, flags); in SYSCALL_DEFINE5() 595 error = getxattr(f.file->f_path.dentry, name, value, size); in SYSCALL_DEFINE4() 670 error = listxattr(f.file->f_path.dentry, list, size); in SYSCALL_DEFINE3() 737 error = removexattr(f.file->f_path.dentry, name); in SYSCALL_DEFINE2()
|
/Linux-v4.19/include/linux/ |
D | fsnotify.h | 32 const struct path *path = &file->f_path; in fsnotify_perm() 176 const struct path *path = &file->f_path; in fsnotify_access() 194 const struct path *path = &file->f_path; in fsnotify_modify() 212 const struct path *path = &file->f_path; in fsnotify_open() 228 const struct path *path = &file->f_path; in fsnotify_close()
|
/Linux-v4.19/security/tomoyo/ |
D | tomoyo.c | 130 return tomoyo_check_open_permission(domain, &bprm->file->f_path, in tomoyo_bprm_check_security() 311 return tomoyo_check_open_permission(tomoyo_domain(), &file->f_path, in tomoyo_file_fcntl() 329 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, flags); in tomoyo_file_open() 344 return tomoyo_path_number_perm(TOMOYO_TYPE_IOCTL, &file->f_path, cmd); in tomoyo_file_ioctl()
|
/Linux-v4.19/fs/overlayfs/ |
D | readdir.c | 341 struct dentry *dentry = file->f_path.dentry; in ovl_dir_reset() 674 struct inode *dir = d_inode(file->f_path.dentry); in ovl_is_impure_dir() 690 struct dentry *dir = file->f_path.dentry; in ovl_iterate_real() 703 struct path statpath = file->f_path; in ovl_iterate_real() 715 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real() 730 struct dentry *dentry = file->f_path.dentry; in ovl_iterate() 767 err = ovl_cache_update_ino(&file->f_path, p); in ovl_iterate() 824 struct dentry *dentry = file->f_path.dentry; in ovl_dir_fsync() 870 ovl_cache_put(od, file->f_path.dentry); in ovl_dir_release() 892 type = ovl_path_real(file->f_path.dentry, &realpath); in ovl_dir_open() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | fault.c | 147 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_write() 192 debugfs_file_put(file->f_path.dentry); in fault_opcodes_write() 210 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_read() 226 debugfs_file_put(file->f_path.dentry); in fault_opcodes_read()
|
/Linux-v4.19/fs/ocfs2/ |
D | file.c | 103 trace_ocfs2_file_open(inode, file, file->f_path.dentry, in ocfs2_file_open() 105 file->f_path.dentry->d_name.len, in ocfs2_file_open() 106 file->f_path.dentry->d_name.name, mode); in ocfs2_file_open() 157 trace_ocfs2_file_release(inode, file, file->f_path.dentry, in ocfs2_file_release() 159 file->f_path.dentry->d_name.len, in ocfs2_file_release() 160 file->f_path.dentry->d_name.name, in ocfs2_file_release() 192 trace_ocfs2_sync_file(inode, file, file->f_path.dentry, in ocfs2_sync_file() 194 file->f_path.dentry->d_name.len, in ocfs2_sync_file() 195 file->f_path.dentry->d_name.name, in ocfs2_sync_file() 1937 if (file && should_remove_suid(file->f_path.dentry)) { in __ocfs2_change_file_space() [all …]
|
D | mmap.c | 183 file->f_path.mnt, &lock_level, 1); in ocfs2_mmap()
|
/Linux-v4.19/fs/efivarfs/ |
D | file.c | 52 d_delete(file->f_path.dentry); in efivarfs_file_write() 53 dput(file->f_path.dentry); in efivarfs_file_write()
|
/Linux-v4.19/fs/ecryptfs/ |
D | file.c | 55 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime() 209 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_open() 276 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_dir_open()
|
D | mmap.c | 360 rc = ecryptfs_truncate(file->f_path.dentry, in ecryptfs_write_begin() 422 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr()
|
/Linux-v4.19/fs/proc/ |
D | fd.c | 58 real_mount(file->f_path.mnt)->mnt_id); in seq_show() 166 *path = fd_file->f_path; in proc_fd_link() 167 path_get(&fd_file->f_path); in proc_fd_link()
|
/Linux-v4.19/kernel/ |
D | acct.c | 109 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space() 224 internal = mnt_clone_internal(&file->f_path); in acct_on() 237 mnt = file->f_path.mnt; in acct_on() 238 file->f_path.mnt = internal; in acct_on()
|
/Linux-v4.19/security/apparmor/ |
D | file.c | 535 profile_path_perm(op, profile, &file->f_path, buffer, in __file_path_perm() 548 profile_path_perm(op, profile, &file->f_path, in __file_path_perm() 553 profile_path_perm(op, profile, &file->f_path, in __file_path_perm() 631 if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry)) in aa_file_perm()
|
/Linux-v4.19/fs/autofs/ |
D | root.c | 102 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() 120 if (!path_is_mountpoint(&file->f_path) && simple_empty(dentry)) { in autofs_dir_open() 925 return autofs_ask_umount(filp->f_path.mnt, p); in autofs_root_ioctl_unlocked() 929 return autofs_expire_run(inode->i_sb, filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked() 933 filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
|
/Linux-v4.19/fs/fat/ |
D | file.c | 92 err = security_inode_setattr(file->f_path.dentry, &ia); in fat_ioctl_set_attributes() 97 err = fat_setattr(file->f_path.dentry, &ia); in fat_ioctl_set_attributes() 101 fsnotify_change(file->f_path.dentry, ia.ia_valid); in fat_ioctl_set_attributes()
|
/Linux-v4.19/security/loadpin/ |
D | loadpin.c | 140 load_root = file->f_path.mnt->mnt_sb; in loadpin_read_file()
|
/Linux-v4.19/drivers/oprofile/ |
D | buffer_sync.c | 239 cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie() 266 cookie = fast_get_dcookie(&vma->vm_file->f_path); in lookup_dcookie()
|
/Linux-v4.19/fs/hfsplus/ |
D | ioctl.c | 29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
|
/Linux-v4.19/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 334 app_cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie_and_offset() 353 *spu_bin_dcookie = fast_get_dcookie(&vma->vm_file->f_path); in get_exec_dcookie_and_offset()
|
/Linux-v4.19/security/integrity/ima/ |
D | ima_main.c | 113 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check() 289 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement()
|
/Linux-v4.19/fs/devpts/ |
D | inode.c | 176 path = filp->f_path; in devpts_mntget() 208 path = filp->f_path; in devpts_acquire()
|