Home
last modified time | relevance | path

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

1234567

/openbmc/linux/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)
/openbmc/linux/security/landlock/
H A Dsyscalls.c274 (f.file->f_path.mnt->mnt_flags & MNT_INTERNAL) || in get_path_from_fd()
275 (f.file->f_path.dentry->d_sb->s_flags & SB_NOUSER) || in get_path_from_fd()
276 d_is_negative(f.file->f_path.dentry) || in get_path_from_fd()
277 IS_PRIVATE(d_backing_inode(f.file->f_path.dentry))) { in get_path_from_fd()
281 *path = f.file->f_path; in get_path_from_fd()
/openbmc/linux/sound/soc/sof/
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()
180 dentry = file->f_path.dentry; in sof_ipc_flood_dfs_write()
252 dentry = file->f_path.dentry; in sof_ipc_flood_dfs_read()
271 debugfs_file_put(file->f_path.dentry); in sof_ipc_flood_dfs_release()
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-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.c139 ret = debugfs_file_get(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open()
145 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open()
153 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open()
293 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_release()
/openbmc/linux/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()
/openbmc/linux/fs/
H A Dopen.c176 dentry = f.file->f_path.dentry; in do_sys_ftruncate()
581 if (!d_can_lookup(f.file->f_path.dentry)) in SYSCALL_DEFINE1()
586 set_fs_pwd(current->fs, &f.file->f_path); in SYSCALL_DEFINE1()
659 return chmod_common(&file->f_path, mode); in vfs_fchmod()
851 error = chown_common(&file->f_path, user, group); in vfs_fchown()
880 path_get(&f->f_path); in do_dentry_open()
898 error = __mnt_want_write(f->f_path.mnt); in do_dentry_open()
994 path_put(&f->f_path); in do_dentry_open()
995 f->f_path.mnt = NULL; in do_dentry_open()
996 f->f_path.dentry = NULL; in do_dentry_open()
[all …]
H A Dfile_table.c297 file->f_path = *path; in alloc_file()
348 struct file *f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone()
350 path_get(&f->f_path); in alloc_file_clone()
360 struct dentry *dentry = file->f_path.dentry; in __fput()
361 struct vfsmount *mnt = file->f_path.mnt; in __fput()
/openbmc/linux/security/tomoyo/
H A Dtomoyo.c110 &bprm->file->f_path, O_RDONLY); in tomoyo_bprm_check_security()
146 return tomoyo_path_truncate(&file->f_path); in tomoyo_file_truncate()
316 return tomoyo_check_open_permission(tomoyo_domain(), &file->f_path, in tomoyo_file_fcntl()
332 return tomoyo_check_open_permission(tomoyo_domain(), &f->f_path, in tomoyo_file_open()
348 return tomoyo_path_number_perm(TOMOYO_TYPE_IOCTL, &file->f_path, cmd); in tomoyo_file_ioctl()
/openbmc/u-boot/fs/ubifs/
H A Dubifs.c306 struct inode *dir = file->f_path.dentry->d_inode; in ubifs_printdir()
414 file->f_path.dentry = dentry; in ubifs_finddir()
415 file->f_path.dentry->d_parent = dentry; in ubifs_finddir()
416 file->f_path.dentry->d_inode = dir; in ubifs_finddir()
417 file->f_path.dentry->d_inode->i_ino = root_inum; in ubifs_finddir()
611 file->f_path.dentry = dentry; in ubifs_ls()
612 file->f_path.dentry->d_parent = dentry; in ubifs_ls()
613 file->f_path.dentry->d_inode = dir; in ubifs_ls()
614 file->f_path.dentry->d_inode->i_ino = inum; in ubifs_ls()
/openbmc/linux/include/trace/events/
H A Dhuge_memory.h185 __string(filename, file->f_path.dentry->d_iname)
194 __assign_str(filename, file->f_path.dentry->d_iname);
220 __string(filename, file->f_path.dentry->d_iname)
231 __assign_str(filename, file->f_path.dentry->d_iname);
/openbmc/linux/fs/efivarfs/
H A Dfile.c49 d_delete(file->f_path.dentry); in efivarfs_file_write()
50 dput(file->f_path.dentry); in efivarfs_file_write()
/openbmc/linux/fs/ocfs2/
H A Dfile.c87 trace_ocfs2_file_open(inode, file, file->f_path.dentry, in ocfs2_file_open()
89 file->f_path.dentry->d_name.len, in ocfs2_file_open()
90 file->f_path.dentry->d_name.name, mode); in ocfs2_file_open()
141 trace_ocfs2_file_release(inode, file, file->f_path.dentry, in ocfs2_file_release()
143 file->f_path.dentry->d_name.len, in ocfs2_file_release()
144 file->f_path.dentry->d_name.name, in ocfs2_file_release()
176 trace_ocfs2_sync_file(inode, file, file->f_path.dentry, in ocfs2_sync_file()
178 file->f_path.dentry->d_name.len, in ocfs2_sync_file()
179 file->f_path.dentry->d_name.name, in ocfs2_sync_file()
2254 struct dentry *dentry = file->f_path.dentry; in ocfs2_prepare_inode_for_write()
[all …]
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/io_uring/
H A Dxattr.c115 ret = do_getxattr(mnt_idmap(req->file->f_path.mnt), in io_fgetxattr()
116 req->file->f_path.dentry, in io_fgetxattr()
227 ret = __io_setxattr(req, issue_flags, &req->file->f_path); in io_fsetxattr()
/openbmc/linux/security/apparmor/
H A Dfile.c513 &file->f_path, buffer, in __file_path_perm()
527 profile, &file->f_path, in __file_path_perm()
533 profile, &file->f_path, in __file_path_perm()
620 if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry)) in aa_file_perm()
/openbmc/linux/kernel/
H A Dacct.c131 if (vfs_statfs(&acct->file->f_path, &sbuf)) in check_free_space()
266 internal = mnt_clone_internal(&file->f_path); in acct_on()
279 mnt = file->f_path.mnt; in acct_on()
280 file->f_path.mnt = internal; in acct_on()
/openbmc/linux/fs/proc/
H A Dfd.c61 real_mount(file->f_path.mnt)->mnt_id, in seq_show()
187 *path = fd_file->f_path; in proc_fd_link()
188 path_get(&fd_file->f_path); in proc_fd_link()
/openbmc/linux/security/integrity/ima/
H A Dima_main.c98 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check()
146 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check()
172 vfs_getattr_nosec(&file->f_path, &stat, in ima_check_last_writer()
364 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement()
504 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in ima_file_mprotect()
/openbmc/linux/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()
/openbmc/linux/fs/hfsplus/
H A Dioctl.c29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dfind_vma.c28 vma->vm_file->f_path.dentry->d_iname); in check_vma()
H A Dtest_d_path.c57 ret = bpf_d_path(&file->f_path, in BPF_PROG()

1234567