Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/tools/hv/
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)
/kernel/linux/linux-5.10/fs/sharefs/
Dfile.c21 if (d_unhashed(file->f_path.dentry)) { in sharefs_open()
34 sharefs_get_lower_path(file->f_path.dentry, &lower_path); in sharefs_open()
98 struct dentry *dentry = file->f_path.dentry; in sharefs_fsync()
170 fsstack_copy_attr_atime(d_inode(file->f_path.dentry), in sharefs_read_iter()
199 fsstack_copy_inode_size(d_inode(file->f_path.dentry), in sharefs_write_iter()
201 fsstack_copy_attr_times(d_inode(file->f_path.dentry), in sharefs_write_iter()
/kernel/linux/linux-5.10/fs/
Dopen.c174 dentry = f.file->f_path.dentry; in do_sys_ftruncate()
193 error = security_path_truncate(&f.file->f_path); in do_sys_ftruncate()
521 if (!d_can_lookup(f.file->f_path.dentry)) in SYSCALL_DEFINE1()
526 set_fs_pwd(current->fs, &f.file->f_path); in SYSCALL_DEFINE1()
598 return chmod_common(&file->f_path, mode); in vfs_fchmod()
741 error = chown_common(&file->f_path, user, group); in vfs_fchown()
770 path_get(&f->f_path); in do_dentry_open()
786 error = __mnt_want_write(f->f_path.mnt); in do_dentry_open()
857 __mnt_drop_write(f->f_path.mnt); in do_dentry_open()
860 path_put(&f->f_path); in do_dentry_open()
[all …]
Dfile_table.c197 file->f_path = *path; in alloc_file()
245 struct file *f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone()
247 path_get(&f->f_path); in alloc_file_clone()
257 struct dentry *dentry = file->f_path.dentry; in __fput()
258 struct vfsmount *mnt = file->f_path.mnt; in __fput()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_share.c27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()
131 if (!hmdfs_is_dst_path(&file->f_path, &item->file->f_path)) { in update_share_item()
187 path_get(&item->file->f_path); in get_path_from_share_table()
188 *src_path = item->file->f_path; in get_path_from_share_table()
235 path_name = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_close_share_item()
Dfile_cloud.c78 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_file_open_cloud()
266 trace_hmdfs_iterate_remote(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_cloud()
275 get_cloud_cache_file(file->f_path.dentry, file->f_inode->i_sb->s_fs_info); in hmdfs_dir_open_cloud()
277 file->f_path.dentry); in hmdfs_dir_open_cloud()
Dfile_local.c38 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local()
234 trace_hmdfs_iterate_local(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_local()
243 struct dentry *dentry = file->f_path.dentry; in hmdfs_dir_open_local()
320 dentry = src.file->f_path.dentry; in __hmdfs_ioc_set_share_path()
326 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in __hmdfs_ioc_set_share_path()
Dfile_merge.c372 trace_hmdfs_iterate_merge(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_merge()
381 struct hmdfs_dentry_info_merge *dim = hmdfs_dm(file->f_path.dentry); in do_dir_open_merge()
384 struct path lo_p = { .mnt = file->f_path.mnt }; in do_dir_open_merge()
544 struct path lo_p = { .mnt = file->f_path.mnt }; in hmdfs_file_open_merge()
550 lo_p.dentry = hmdfs_get_fst_lo_d(file->f_path.dentry); in hmdfs_file_open_merge()
562 parent = dget_parent(file->f_path.dentry); in hmdfs_file_open_merge()
778 old_cred = change_cred(filp->f_path.dentry, data->bundle_name); in hmdfs_ioc_get_dst_path()
Dfile_remote.c162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote()
166 send_buf = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_do_open_remote()
988 struct hmdfs_dentry_info *di = hmdfs_d(file->f_path.dentry); in hmdfs_iterate_remote()
1014 trace_hmdfs_iterate_remote(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_remote()
1027 file->f_path.dentry)) in hmdfs_dir_open_remote()
1028 get_remote_dentry_file_sync(file->f_path.dentry, in hmdfs_dir_open_remote()
1031 file->f_path.dentry); in hmdfs_dir_open_remote()
/kernel/linux/linux-5.10/fs/overlayfs/
Dreaddir.c326 struct dentry *dentry = file->f_path.dentry; in ovl_dir_reset()
676 struct inode *dir = d_inode(file->f_path.dentry); in ovl_is_impure_dir()
692 struct dentry *dir = file->f_path.dentry; in ovl_iterate_real()
706 struct path statpath = file->f_path; in ovl_iterate_real()
718 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real()
733 struct dentry *dentry = file->f_path.dentry; in ovl_iterate()
775 err = ovl_cache_update_ino(&file->f_path, p); in ovl_iterate()
855 struct dentry *dentry = file->f_path.dentry; in ovl_dir_real_file()
891 err = ovl_sync_status(OVL_FS(file->f_path.dentry->d_sb)); in ovl_dir_fsync()
911 ovl_cache_put(od, file->f_path.dentry); in ovl_dir_release()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dfault.c149 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_write()
199 debugfs_file_put(file->f_path.dentry); in fault_opcodes_write()
218 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_read()
234 debugfs_file_put(file->f_path.dentry); in fault_opcodes_read()
/kernel/linux/linux-5.10/security/tomoyo/
Dtomoyo.c110 &bprm->file->f_path, O_RDONLY); in tomoyo_bprm_check_security()
296 return tomoyo_check_open_permission(tomoyo_domain(), &file->f_path, in tomoyo_file_fcntl()
313 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, in tomoyo_file_open()
329 return tomoyo_path_number_perm(TOMOYO_TYPE_IOCTL, &file->f_path, cmd); in tomoyo_file_ioctl()
/kernel/linux/linux-5.10/fs/efivarfs/
Dfile.c49 d_delete(file->f_path.dentry); in efivarfs_file_write()
50 dput(file->f_path.dentry); in efivarfs_file_write()
/kernel/linux/linux-5.10/fs/ocfs2/
Dfile.c89 trace_ocfs2_file_open(inode, file, file->f_path.dentry, in ocfs2_file_open()
91 file->f_path.dentry->d_name.len, in ocfs2_file_open()
92 file->f_path.dentry->d_name.name, mode); in ocfs2_file_open()
143 trace_ocfs2_file_release(inode, file, file->f_path.dentry, in ocfs2_file_release()
145 file->f_path.dentry->d_name.len, in ocfs2_file_release()
146 file->f_path.dentry->d_name.name, in ocfs2_file_release()
178 trace_ocfs2_sync_file(inode, file, file->f_path.dentry, in ocfs2_sync_file()
180 file->f_path.dentry->d_name.len, in ocfs2_sync_file()
181 file->f_path.dentry->d_name.name, in ocfs2_sync_file()
1997 if (file && should_remove_suid(file->f_path.dentry)) { in __ocfs2_change_file_space()
[all …]
/kernel/linux/linux-5.10/fs/proc/
Dfd.c58 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()
/kernel/linux/linux-5.10/fs/ecryptfs/
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()
/kernel/linux/linux-5.10/kernel/
Dacct.c109 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()
/kernel/linux/linux-5.10/security/apparmor/
Dfile.c530 profile_path_perm(op, profile, &file->f_path, buffer, in __file_path_perm()
543 profile_path_perm(op, profile, &file->f_path, in __file_path_perm()
548 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()
/kernel/liteos_a/arch/arm/arm/src/include/
Dlos_exc_pri.h53 CHAR f_path[REGION_PATH_MAX]; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_d_path.c57 ret = bpf_d_path(&file->f_path, in BPF_PROG()
/kernel/linux/linux-5.10/fs/autofs/
Droot.c76 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open()
94 if (!path_is_mountpoint(&file->f_path) && simple_empty(dentry)) { in autofs_dir_open()
895 return autofs_ask_umount(filp->f_path.mnt, p); in autofs_root_ioctl_unlocked()
899 return autofs_expire_run(inode->i_sb, filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
903 filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
/kernel/linux/linux-5.10/drivers/base/regmap/
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()
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_main.c92 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check()
140 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check()
335 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement()
445 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in ima_file_mprotect()
/kernel/liteos_a/syscall/
Dsyscall_pub.c91 ret = stat(file->f_path, &bufRet); in GetFullpath()
/kernel/liteos_a/fs/proc/os_adapt/
Dfd_proc.c66 name = filp->f_path; in FillFdInfo()

1234567