/linux/tools/hv/ |
H A D | vmbus_testing | 148 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_ma [all...] |
/linux/security/ipe/ |
H A D | policy_fs.c | 54 root = d_inode(f->f_path.dentry->d_parent); in read_pkcs7() 97 root = d_inode(f->f_path.dentry->d_parent); in read_policy() 134 root = d_inode(f->f_path.dentry->d_parent); in read_name() 174 root = d_inode(f->f_path.dentry->d_parent); in read_version() 226 root = d_inode(f->f_path.dentry->d_parent); in setactive() 264 root = d_inode(f->f_path.dentry->d_parent); in getactive() 317 root = d_inode(f->f_path.dentry->d_parent); in update_policy() 366 root = d_inode(f->f_path.dentry->d_parent); in delete_policy()
|
H A D | eval.c | 26 #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/fs/ |
H A D | file_table.c | 174 memset(&f->f_path, 0, sizeof(f->f_path)); in init_file() 322 file->f_path = *path; in file_init_path() 432 f = alloc_file(&base->f_path, flags, fops); in alloc_file_clone() 434 path_get(&f->f_path); in alloc_file_clone() 444 struct dentry *dentry = file->f_path.dentry; in __fput() 445 struct vfsmount *mnt = file->f_path.mnt; in __fput()
|
H A D | file_attr.c | 314 err = vfs_fileattr_get(file->f_path.dentry, &fa); in ioctl_getflags() 326 struct dentry *dentry = file->f_path.dentry; in ioctl_setflags() 351 err = vfs_fileattr_get(file->f_path.dentry, &fa); in ioctl_fsgetxattr() 364 struct dentry *dentry = file->f_path.dentry; in ioctl_fssetxattr() 417 filepath = fd_file(f)->f_path; in SYSCALL_DEFINE5() 481 filepath = fd_file(f)->f_path; in SYSCALL_DEFINE5()
|
/linux/sound/soc/sof/ |
H A D | sof-client-ipc-kernel-injector.c | 28 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() 77 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_release()
|
H A D | sof-client-ipc-flood-test.c | 44 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() 260 debugfs_file_put(file->f_path.dentry); in sof_ipc_flood_dfs_release()
|
H A D | sof-client-ipc-msg-injector.c | 41 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() 225 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_release()
|
H A D | ipc4-mtrace.c | 128 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/fs/cachefiles/ |
H A D | interface.c | 146 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/security/tomoyo/ |
H A D | tomoyo.c | 111 &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/security/landlock/ |
H A D | syscalls.c | 304 (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 IS_PRIVATE(d_backing_inode(fd_file(f)->f_path.dentry))) in get_path_from_fd() 309 *path = fd_file(f)->f_path; in get_path_from_fd()
|
/linux/include/linux/ |
H A D | fsnotify.h | 127 return fsnotify_path(&file->f_path, mask); in fsnotify_file() 154 int ret = fsnotify_pre_content(&file->f_path, ppos, count); in fsnotify_file_area_perm() 168 return fsnotify_path(&file->f_path, FS_ACCESS_PERM); in fsnotify_file_area_perm() 183 return fsnotify_pre_content(&file->f_path, &off, len); in fsnotify_mmap_perm()
|
/linux/fs/ecryptfs/ |
H A D | file.c | 41 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/kernel/ |
H A D | acct.c | 130 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/fs/hfsplus/ |
H A D | ioctl.c | 29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
|
/linux/fs/notify/ |
H A D | fsnotify.c | 666 struct dentry *dentry = file->f_path.dentry, *parent; in fsnotify_open_perm_and_set_mode() 689 mnt_mask = READ_ONCE(real_mount(file->f_path.mnt)->mnt_fsnotify_mask); in fsnotify_open_perm_and_set_mode() 730 int ret = fsnotify_path(&file->f_path, FS_OPEN_EXEC_PERM); in fsnotify_open_perm_and_set_mode() 737 return fsnotify_path(&file->f_path, FS_OPEN_PERM); in fsnotify_open_perm_and_set_mode()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | find_vma.c | 28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma()
|
H A D | test_d_path.c | 57 ret = bpf_d_path(&file->f_path, in BPF_PROG()
|
H A D | verifier_vfs_accept.c | 75 /* The f_path member is a path which is embedded directly within a in BPF_PROG() 80 path = &file->f_path; in BPF_PROG()
|
H A D | bpf_iter_task_vmas.c | 52 bpf_d_path(&file->f_path, d_path_buf, D_PATH_BUF_SIZE); in proc_maps()
|
/linux/fs/autofs/ |
H A D | root.c | 80 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/fs/overlayfs/ |
H A D | readdir.c | 718 struct dentry *dir = file->f_path.dentry; in ovl_iterate_real() 734 struct path statpath = file->f_path; in ovl_iterate_real() 746 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real() 761 struct dentry *dentry = file->f_path.dentry; in ovl_iterate() 804 err = ovl_cache_update(&file->f_path, p, !p->ino); in ovl_iterate() 887 struct dentry *dentry = file->f_path.dentry; in ovl_dir_real_file() 965 type = ovl_path_real(file->f_path.dentry, &realpath); in ovl_dir_open()
|
/linux/security/integrity/ima/ |
H A D | ima_main.c | 119 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check() 173 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check() 201 vfs_getattr_nosec(&file->f_path, &stat, in ima_check_last_writer() 410 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement() 552 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in ima_file_mprotect()
|
/linux/include/trace/events/ |
H A D | huge_memory.h | 185 __string(filename, file->f_path.dentry->d_iname) 220 __string(filename, file->f_path.dentry->d_iname)
|