| /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_map)
|
| /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()
|
| H A D | audit.c | 151 audit_log_d_path(ab, " path=", &ctx->file->f_path); in ipe_audit_match()
|
| /linux/sound/soc/sof/ |
| H A D | sof-client-ipc-kernel-injector.c | 27 int ret = debugfs_file_get(file->f_path.dentry); in sof_msg_inject_dfs_open() 34 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 D | sof-client-ipc-flood-test.c | 43 ret = debugfs_file_get(file->f_path.dentry); in sof_ipc_flood_dfs_open() 49 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 | 40 ret = debugfs_file_get(file->f_path.dentry); in sof_msg_inject_dfs_open() 46 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_open() 228 debugfs_file_put(file->f_path.dentry); in sof_msg_inject_dfs_release()
|
| H A D | ipc4-mtrace.c | 126 ret = debugfs_file_get(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open() 132 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open() 139 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_open() 276 debugfs_file_put(file->f_path.dentry); in sof_ipc4_mtrace_dfs_read()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_d_path.c | 58 ret = bpf_d_path(&file->f_path, in BPF_PROG() 76 ret = bpf_d_path(&file->f_path, in BPF_PROG()
|
| H A D | find_vma.c | 28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma()
|
| H A D | verifier_vfs_accept.c | 80 path = &file->f_path; in BPF_PROG()
|
| H A D | verifier_vfs_reject.c | 148 bpf_path_d_path(&file->f_path, buf, PATH_MAX * 2); in BPF_PROG()
|
| /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 | 347 (fd_file(f)->f_path.mnt->mnt_flags & MNT_INTERNAL) || in add_rule_path_beneath() 348 (fd_file(f)->f_path.dentry->d_sb->s_flags & SB_NOUSER) || in add_rule_path_beneath() 349 IS_PRIVATE(d_backing_inode(fd_file(f)->f_path.dentry))) in add_rule_path_beneath() 352 *path = fd_file(f)->f_path; in add_rule_net_port()
|
| /linux/security/apparmor/ |
| H A D | file.c | 512 &file->f_path, buffer, in __file_path_perm() 526 profile, &file->f_path, in __file_path_perm() 532 profile, &file->f_path, in __file_path_perm() 632 if (unlikely(file->f_path.dentry == aa_null.dentry)) in aa_file_perm() 660 if (path_mediated_fs(file->f_path.dentry)) in aa_file_perm()
|
| /linux/fs/overlayfs/ |
| H A D | readdir.c | 797 struct dentry *dir = file->f_path.dentry; in ovl_iterate_real() 813 struct path statpath = file->f_path; in ovl_iterate_real() 825 rdt.cache = ovl_cache_get_impure(&file->f_path); in ovl_iterate_real() 839 struct dentry *dentry = file->f_path.dentry; in ovl_iterate_merged() 858 err = ovl_cache_update(&file->f_path, p, !p->ino); in ovl_iterate_merged() 876 struct dentry *dentry = file->f_path.dentry; in ovl_need_adjust_d_ino() 973 struct dentry *dentry = file->f_path.dentry; in ovl_dir_real_file() 1051 type = ovl_path_real(file->f_path.dentry, &realpath); in ovl_dir_open()
|
| /linux/fs/hfsplus/ |
| H A D | ioctl.c | 29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
|
| /linux/fs/smb/server/ |
| H A D | vfs.c | 262 fp->filp->f_path.dentry, in ksmbd_vfs_stream_read() 410 fp->filp->f_path.dentry, in ksmbd_vfs_stream_write() 436 &fp->filp->f_path, in ksmbd_vfs_stream_write() 687 const struct path *old_path = &old_fp->filp->f_path; in ksmbd_vfs_rename() 807 err = vfs_truncate(&filp->f_path, size); in ksmbd_vfs_truncate() 1204 struct dentry *dir, *dentry = filp->f_path.dentry; in ksmbd_vfs_unlink() 1208 err = mnt_want_write(filp->f_path.mnt); in ksmbd_vfs_unlink() 1228 mnt_drop_write(filp->f_path.mnt); in ksmbd_vfs_unlink() 2060 src_fp->filp->f_path.dentry, in ksmbd_vfs_copy_file_ranges() 2290 rc = vfs_fileattr_get(fp->filp->f_path.dentry, &fa); in ksmbd_vfs_get_compression() [all …]
|
| H A D | vfs_cache.c | 175 fp->filp->f_path.dentry->d_name.name); in proc_show_files() 258 return __ksmbd_inode_lookup(fp->filp->f_path.dentry); in ksmbd_inode_lookup() 429 ci->m_de = fp->filp->f_path.dentry; in ksmbd_inode_init() 542 &filp->f_path, in __ksmbd_inode_close() 1171 struct dentry *dentry = old_fp->filp->f_path.dentry; in ksmbd_has_nonposix_open_child() 1178 struct dentry *fp_dentry = fp->filp->f_path.dentry; in ksmbd_has_nonposix_open_child() 1861 ab_pathname = d_path(&fp->filp->f_path, pathname, PATH_MAX); in ksmbd_validate_name_reconnect()
|
| /linux/fs/cachefiles/ |
| H A D | namei.c | 390 struct dentry *dentry = object->file->f_path.dentry; in cachefiles_delete_object() 453 ret = vfs_truncate(&file->f_path, ni_size); in cachefiles_create_tmpfile() 557 touch_atime(&file->f_path); in cachefiles_open_file() 684 ret = vfs_link(object->file->f_path.dentry, &nop_mnt_idmap, in cachefiles_commit_tmpfile()
|
| /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() 194 result = vfs_getattr_nosec(&file->f_path, &stat, STATX_CHANGE_COOKIE, in ima_detect_file_change() 436 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement() 580 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in ima_file_mprotect()
|
| H A D | ima_api.c | 279 result = vfs_getattr_nosec(&file->f_path, &stat, STATX_CHANGE_COOKIE, in ima_collect_measurement() 329 take_dentry_name_snapshot(&filename, file->f_path.dentry); in ima_collect_measurement()
|
| /linux/fs/autofs/ |
| H A D | dev-ioctl.c | 427 struct dentry *base = fp->f_path.dentry; in autofs_dev_ioctl_timeout() 536 mnt = fp->f_path.mnt; in autofs_dev_ioctl_expire() 547 if (may_umount(fp->f_path.mnt)) in autofs_dev_ioctl_askumount()
|
| /linux/fs/efivarfs/ |
| H A D | file.c | 131 simple_recursive_removal(file->f_path.dentry, NULL); in efivarfs_file_release()
|
| /linux/drivers/block/ |
| H A D | zloop.c | 319 ret = vfs_getattr(&zone->file->f_path, &stat, STATX_SIZE, 0); in zloop_update_seq_zone() 437 if (vfs_truncate(&zone->file->f_path, 0)) { in zloop_reset_zone() 482 if (vfs_truncate(&zone->file->f_path, in zloop_finish_zone() 1047 if (!vfs_getattr(&zone->file->f_path, &st, STATX_DIOALIGN, 0) && in zloop_get_block_size() 1117 ret = vfs_getattr(&zone->file->f_path, &stat, STATX_SIZE, 0); in zloop_init_zone() 1130 ret = vfs_truncate(&zone->file->f_path, in zloop_init_zone() 1415 vfs_truncate(&file->f_path, in zloop_forget_cache()
|