Home
last modified time | relevance | path

Searched refs:f_path (Results 1 – 25 of 137) sorted by relevance

123456

/linux/tools/hv/
A Dvmbus_testing148 for f_path in glob.iglob(path + '**/*'):
149 if (os.path.isfile(f_path)):
150 if (f_path.rsplit("/",2)[0] == debugfs_hyperv_path):
151 directory = f_path.rsplit("/",1)[0]
153 directory = f_path.rsplit("/",2)[0]
154 f_name = f_path.split("/")[-1]
156 file_map[directory].update({f_name:f_path})
158 file_map[directory] = {f_name:f_path}
159 elif (os.path.isdir(f_path)):
160 recursive_file_lookup(f_path,file_map)
/linux/fs/
A Dopen.c174 dentry = f.file->f_path.dentry; in do_sys_ftruncate()
519 if (!d_can_lookup(f.file->f_path.dentry)) in SYSCALL_DEFINE1()
775 path_get(&f->f_path); in do_dentry_open()
883 __mnt_drop_write(f->f_path.mnt); in do_dentry_open()
886 path_put(&f->f_path); in do_dentry_open()
887 f->f_path.mnt = NULL; in do_dentry_open()
888 f->f_path.dentry = NULL; in do_dentry_open()
916 file->f_path.dentry = dentry; in finish_open()
937 file->f_path.dentry = dentry; in finish_no_open()
956 file->f_path = *path; in vfs_open()
[all …]
A Dfile_table.c196 file->f_path = *path; in alloc_file()
244 struct file *f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone()
246 path_get(&f->f_path); in alloc_file_clone()
256 struct dentry *dentry = file->f_path.dentry; in __fput()
257 struct vfsmount *mnt = file->f_path.mnt; in __fput()
A Dioctl.c240 if (src_file.file->f_path.mnt != dst_file->f_path.mnt) in ioctl_file_clone()
713 err = vfs_fileattr_get(file->f_path.dentry, &fa); in ioctl_getflags()
722 struct dentry *dentry = file->f_path.dentry; in ioctl_setflags()
744 err = vfs_fileattr_get(file->f_path.dentry, &fa); in ioctl_fsgetxattr()
754 struct dentry *dentry = file->f_path.dentry; in ioctl_fssetxattr()
A Dxattr.c633 f.file->f_path.dentry, name, in SYSCALL_DEFINE5()
724 error = getxattr(file_mnt_user_ns(f.file), f.file->f_path.dentry, in SYSCALL_DEFINE4()
800 error = listxattr(f.file->f_path.dentry, list, size); in SYSCALL_DEFINE3()
869 f.file->f_path.dentry, name); in SYSCALL_DEFINE2()
/linux/security/landlock/
A Dsyscalls.c260 (f.file->f_path.mnt->mnt_flags & MNT_INTERNAL) || in get_path_from_fd()
261 (f.file->f_path.dentry->d_sb->s_flags & SB_NOUSER) || in get_path_from_fd()
262 d_is_negative(f.file->f_path.dentry) || in get_path_from_fd()
263 IS_PRIVATE(d_backing_inode(f.file->f_path.dentry))) { in get_path_from_fd()
267 *path = f.file->f_path; in get_path_from_fd()
/linux/fs/overlayfs/
A Dreaddir.c326 struct dentry *dentry = file->f_path.dentry; in ovl_dir_reset()
678 struct inode *dir = d_inode(file->f_path.dentry); in ovl_is_impure_dir()
694 struct dentry *dir = file->f_path.dentry; in ovl_iterate_real()
708 struct path statpath = file->f_path; in ovl_iterate_real()
720 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real()
735 struct dentry *dentry = file->f_path.dentry; in ovl_iterate()
777 err = ovl_cache_update_ino(&file->f_path, p); in ovl_iterate()
860 struct dentry *dentry = file->f_path.dentry; in ovl_dir_real_file()
916 ovl_cache_put(od, file->f_path.dentry); in ovl_dir_release()
938 type = ovl_path_real(file->f_path.dentry, &realpath); in ovl_dir_open()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dfault.c108 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_write()
158 debugfs_file_put(file->f_path.dentry); in fault_opcodes_write()
177 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_read()
193 debugfs_file_put(file->f_path.dentry); in fault_opcodes_read()
/linux/security/tomoyo/
A Dtomoyo.c110 &bprm->file->f_path, O_RDONLY); in tomoyo_bprm_check_security()
295 return tomoyo_check_open_permission(tomoyo_domain(), &file->f_path, in tomoyo_file_fcntl()
311 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, in tomoyo_file_open()
327 return tomoyo_path_number_perm(TOMOYO_TYPE_IOCTL, &file->f_path, cmd); in tomoyo_file_ioctl()
/linux/fs/efivarfs/
A Dfile.c49 d_delete(file->f_path.dentry); in efivarfs_file_write()
50 dput(file->f_path.dentry); in efivarfs_file_write()
/linux/fs/ocfs2/
A Dfile.c89 file->f_path.dentry->d_name.len, in ocfs2_file_open()
90 file->f_path.dentry->d_name.name, mode); in ocfs2_file_open()
143 file->f_path.dentry->d_name.len, in ocfs2_file_release()
144 file->f_path.dentry->d_name.name, in ocfs2_file_release()
178 file->f_path.dentry->d_name.len, in ocfs2_sync_file()
179 file->f_path.dentry->d_name.name, in ocfs2_sync_file()
2239 struct dentry *dentry = file->f_path.dentry; in ocfs2_prepare_inode_for_write()
2369 file->f_path.dentry->d_name.len, in ocfs2_file_write_iter()
2370 file->f_path.dentry->d_name.name, in ocfs2_file_write_iter()
2517 filp->f_path.dentry->d_name.len, in ocfs2_file_read_iter()
[all …]
A Dmmap.c167 file->f_path.mnt, &lock_level, 1); in ocfs2_mmap()
/linux/security/apparmor/
A Dfile.c532 profile_path_perm(op, profile, &file->f_path, buffer, in __file_path_perm()
545 profile_path_perm(op, profile, &file->f_path, in __file_path_perm()
550 profile_path_perm(op, profile, &file->f_path, in __file_path_perm()
633 if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry)) in aa_file_perm()
/linux/kernel/
A Dacct.c108 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space()
223 internal = mnt_clone_internal(&file->f_path); in acct_on()
236 mnt = file->f_path.mnt; in acct_on()
237 file->f_path.mnt = internal; in acct_on()
/linux/fs/ecryptfs/
A Dfile.c41 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime()
195 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_open()
262 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_dir_open()
A Dmmap.c347 rc = ecryptfs_truncate(file->f_path.dentry, in ecryptfs_write_begin()
409 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr()
/linux/fs/proc/
A Dfd.c59 real_mount(file->f_path.mnt)->mnt_id, in seq_show()
169 *path = fd_file->f_path; in proc_fd_link()
170 path_get(&fd_file->f_path); in proc_fd_link()
/linux/fs/ksmbd/
A Dvfs.c290 fp->filp->f_path.dentry, in ksmbd_vfs_stream_read()
382 fp->filp->f_path.dentry); in ksmbd_vfs_read()
429 fp->filp->f_path.dentry, in ksmbd_vfs_stream_write()
455 fp->filp->f_path.dentry, in ksmbd_vfs_stream_write()
494 fp->filp->f_path.dentry); in ksmbd_vfs_write()
534 fp->filp->f_path.dentry, err); in ksmbd_vfs_write()
793 src_dent_parent = dget_parent(fp->filp->f_path.dentry); in ksmbd_vfs_fp_rename()
794 src_dent = fp->filp->f_path.dentry; in ksmbd_vfs_fp_rename()
877 err = vfs_truncate(&filp->f_path, size); in ksmbd_vfs_truncate()
1743 pr_err("no right to read(%pd)\n", src_fp->filp->f_path.dentry); in ksmbd_vfs_copy_file_ranges()
[all …]
/linux/fs/autofs/
A Droot.c78 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open()
96 if (!path_is_mountpoint(&file->f_path) && simple_empty(dentry)) { in autofs_dir_open()
898 return autofs_ask_umount(filp->f_path.mnt, p); in autofs_root_ioctl_unlocked()
902 return autofs_expire_run(inode->i_sb, filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
906 filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
/linux/drivers/base/regmap/
A Dregmap-debugfs.c473 err = debugfs_file_get(file->f_path.dentry); in regmap_cache_only_write_file()
489 debugfs_file_put(file->f_path.dentry); in regmap_cache_only_write_file()
520 err = debugfs_file_get(file->f_path.dentry); in regmap_cache_bypass_write_file()
535 debugfs_file_put(file->f_path.dentry); in regmap_cache_bypass_write_file()
/linux/fs/hfsplus/
A Dioctl.c29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
/linux/security/integrity/ima/
A Dima_main.c97 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check()
145 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check()
342 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement()
463 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in ima_file_mprotect()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_d_path.c57 ret = bpf_d_path(&file->f_path, in BPF_PROG()
A Dbpf_iter_task_vma.c47 bpf_d_path(&file->f_path, d_path_buf, D_PATH_BUF_SIZE); in proc_maps()
/linux/fs/fat/
A Dfile.c93 err = security_inode_setattr(file->f_path.dentry, &ia); in fat_ioctl_set_attributes()
98 err = fat_setattr(file_mnt_user_ns(file), file->f_path.dentry, &ia); in fat_ioctl_set_attributes()
102 fsnotify_change(file->f_path.dentry, ia.ia_valid); in fat_ioctl_set_attributes()

Completed in 178 milliseconds

123456