Home
last modified time | relevance | path

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

1234567

/linux-6.15/tools/hv/
H 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-6.15/security/ipe/
H A Dpolicy_fs.c53 root = d_inode(f->f_path.dentry->d_parent); in read_pkcs7()
96 root = d_inode(f->f_path.dentry->d_parent); in read_policy()
133 root = d_inode(f->f_path.dentry->d_parent); in read_name()
173 root = d_inode(f->f_path.dentry->d_parent); in read_version()
225 root = d_inode(f->f_path.dentry->d_parent); in setactive()
263 root = d_inode(f->f_path.dentry->d_parent); in getactive()
306 root = d_inode(f->f_path.dentry->d_parent); in update_policy()
352 root = d_inode(f->f_path.dentry->d_parent); in delete_policy()
H A Deval.c26 #define FILE_SUPERBLOCK(f) ((f)->f_path.mnt->mnt_sb)
105 ino = d_real_inode(file->f_path.dentry); in ipe_build_eval_ctx()
/linux-6.15/include/linux/
H A Dfsnotify.h127 return fsnotify_path(&file->f_path, mask); in fsnotify_file()
157 int ret = fsnotify_pre_content(&file->f_path, ppos, count); in fsnotify_file_area_perm()
170 return fsnotify_path(&file->f_path, FS_ACCESS_PERM); in fsnotify_file_area_perm()
185 return fsnotify_pre_content(&file->f_path, &off, len); in fsnotify_mmap_perm()
222 ret = fsnotify_path(&file->f_path, FS_OPEN_EXEC_PERM); in fsnotify_open_perm()
227 return fsnotify_path(&file->f_path, FS_OPEN_PERM); in fsnotify_open_perm()
/linux-6.15/fs/
H A Dopen.c170 dentry = file->f_path.dentry; in do_ftruncate()
660 return chmod_common(&file->f_path, mode); in vfs_fchmod()
888 mnt_put_write_access(f->f_path.mnt); in file_get_write_access()
901 path_get(&f->f_path); in do_dentry_open()
1015 path_put(&f->f_path); in do_dentry_open()
1016 f->f_path.mnt = NULL; in do_dentry_open()
1017 f->f_path.dentry = NULL; in do_dentry_open()
1044 file->f_path.dentry = dentry; in finish_open()
1065 file->f_path.dentry = dentry; in finish_no_open()
1085 file->f_path = *path; in vfs_open()
[all …]
H A Dfile_table.c171 memset(&f->f_path, 0, sizeof(f->f_path)); in init_file()
319 file->f_path = *path; in file_init_path()
429 f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone()
431 path_get(&f->f_path); in alloc_file_clone()
441 struct dentry *dentry = file->f_path.dentry; in __fput()
442 struct vfsmount *mnt = file->f_path.mnt; in __fput()
/linux-6.15/security/landlock/
H A Dsyscalls.c304 (fd_file(f)->f_path.mnt->mnt_flags & MNT_INTERNAL) || in get_path_from_fd()
305 (fd_file(f)->f_path.dentry->d_sb->s_flags & SB_NOUSER) || in get_path_from_fd()
306 d_is_negative(fd_file(f)->f_path.dentry) || in get_path_from_fd()
307 IS_PRIVATE(d_backing_inode(fd_file(f)->f_path.dentry))) in get_path_from_fd()
310 *path = fd_file(f)->f_path; in get_path_from_fd()
/linux-6.15/sound/soc/sof/
H A Dsof-client-ipc-kernel-injector.c28 int ret = debugfs_file_get(file->f_path.dentry); in sof_msg_inject_dfs_open()
35 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_open()
78 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_release()
H A Dsof-client-ipc-flood-test.c44 ret = debugfs_file_get(file->f_path.dentry); in sof_ipc_flood_dfs_open()
50 debugfs_file_put(file->f_path.dentry); in sof_ipc_flood_dfs_open()
261 debugfs_file_put(file->f_path.dentry); in sof_ipc_flood_dfs_release()
H A Dsof-client-ipc-msg-injector.c41 ret = debugfs_file_get(file->f_path.dentry); in sof_msg_inject_dfs_open()
47 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_open()
226 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_release()
H A Dipc4-mtrace.c128 ret = debugfs_file_get(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open()
134 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open()
142 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open()
282 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_release()
/linux-6.15/fs/cachefiles/
H A Dinterface.c146 ret = notify_change(&nop_mnt_idmap, file->f_path.dentry, in cachefiles_adjust_size()
156 ret = notify_change(&nop_mnt_idmap, file->f_path.dentry, in cachefiles_adjust_size()
247 ret = vfs_truncate(&file->f_path, dio_size); in cachefiles_shorten_object()
252 cachefiles_remove_object_xattr(cache, object, file->f_path.dentry); in cachefiles_shorten_object()
267 cachefiles_remove_object_xattr(cache, object, file->f_path.dentry); in cachefiles_shorten_object()
434 old_file->f_path.dentry, in cachefiles_invalidate_cookie()
/linux-6.15/security/tomoyo/
H A Dtomoyo.c111 &bprm->file->f_path, O_RDONLY); in tomoyo_bprm_check_security()
147 return tomoyo_path_truncate(&file->f_path); in tomoyo_file_truncate()
317 return tomoyo_check_open_permission(tomoyo_domain(), &file->f_path, in tomoyo_file_fcntl()
334 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, in tomoyo_file_open()
350 return tomoyo_path_number_perm(TOMOYO_TYPE_IOCTL, &file->f_path, cmd); in tomoyo_file_ioctl()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dfault.c107 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_write()
157 debugfs_file_put(file->f_path.dentry); in fault_opcodes_write()
176 ret = debugfs_file_get(file->f_path.dentry); in fault_opcodes_read()
192 debugfs_file_put(file->f_path.dentry); in fault_opcodes_read()
/linux-6.15/fs/ecryptfs/
H A Dfile.c41 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime()
66 path = ecryptfs_dentry_to_lower_path(in->f_path.dentry); in ecryptfs_splice_read_update_atime()
214 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_open()
281 struct dentry *ecryptfs_dentry = file->f_path.dentry; in ecryptfs_dir_open()
/linux-6.15/fs/ocfs2/
H A Dfile.c89 file->f_path.dentry->d_name.len, 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()
2385 file->f_path.dentry->d_name.len, in ocfs2_file_write_iter()
2386 file->f_path.dentry->d_name.name, in ocfs2_file_write_iter()
2535 filp->f_path.dentry->d_name.len, in ocfs2_file_read_iter()
2536 filp->f_path.dentry->d_name.name, in ocfs2_file_read_iter()
2617 in->f_path.dentry->d_name.len, in ocfs2_file_splice_read()
[all …]
/linux-6.15/security/apparmor/
H A Dfile.c500 &file->f_path, buffer, in __file_path_perm()
514 profile, &file->f_path, in __file_path_perm()
520 profile, &file->f_path, in __file_path_perm()
607 if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry)) in aa_file_perm()
/linux-6.15/kernel/
H A Dacct.c130 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space()
265 internal = mnt_clone_internal(&file->f_path); in acct_on()
278 mnt = file->f_path.mnt; in acct_on()
279 file->f_path.mnt = internal; in acct_on()
/linux-6.15/fs/proc/
H A Dfd.c59 real_mount(file->f_path.mnt)->mnt_id, in seq_show()
186 *path = fd_file->f_path; in proc_fd_link()
187 path_get(&fd_file->f_path); in proc_fd_link()
/linux-6.15/fs/hfsplus/
H A Dioctl.c29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dverifier_vfs_accept.c79 path = &file->f_path; in BPF_PROG()
H A Dtest_d_path.c57 ret = bpf_d_path(&file->f_path, in BPF_PROG()
H A Dfind_vma.c28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma()
/linux-6.15/fs/autofs/
H A Droot.c80 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open()
99 if (!path_is_mountpoint(&file->f_path) && autofs_empty(ino)) { in autofs_dir_open()
890 return autofs_ask_umount(filp->f_path.mnt, p); in autofs_root_ioctl_unlocked()
894 return autofs_expire_run(inode->i_sb, filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
898 filp->f_path.mnt, sbi, p); in autofs_root_ioctl_unlocked()
/linux-6.15/drivers/base/regmap/
H 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()

1234567