| /OK3568_Linux_fs/kernel/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)
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | open.c | 175 dentry = f.file->f_path.dentry; in do_sys_ftruncate() 194 error = security_path_truncate(&f.file->f_path); in do_sys_ftruncate() 522 if (!d_can_lookup(f.file->f_path.dentry)) in SYSCALL_DEFINE1() 527 set_fs_pwd(current->fs, &f.file->f_path); in SYSCALL_DEFINE1() 599 return chmod_common(&file->f_path, mode); in vfs_fchmod() 742 error = chown_common(&file->f_path, user, group); in vfs_fchown() 771 path_get(&f->f_path); in do_dentry_open() 787 error = __mnt_want_write(f->f_path.mnt); in do_dentry_open() 868 __mnt_drop_write(f->f_path.mnt); in do_dentry_open() 871 path_put(&f->f_path); in do_dentry_open() [all …]
|
| H A D | file_table.c | 197 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()
|
| H A D | xattr.c | 603 error = setxattr(f.file->f_path.dentry, name, value, size, flags); in SYSCALL_DEFINE5() 693 error = getxattr(f.file->f_path.dentry, name, value, size); in SYSCALL_DEFINE4() 768 error = listxattr(f.file->f_path.dentry, list, size); in SYSCALL_DEFINE3() 835 error = removexattr(f.file->f_path.dentry, name); in SYSCALL_DEFINE2()
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | ubifs.c | 307 struct inode *dir = file->f_path.dentry->d_inode; in ubifs_printdir() 415 file->f_path.dentry = dentry; in ubifs_finddir() 416 file->f_path.dentry->d_parent = dentry; in ubifs_finddir() 417 file->f_path.dentry->d_inode = dir; in ubifs_finddir() 418 file->f_path.dentry->d_inode->i_ino = root_inum; in ubifs_finddir() 612 file->f_path.dentry = dentry; in ubifs_ls() 613 file->f_path.dentry->d_parent = dentry; in ubifs_ls() 614 file->f_path.dentry->d_inode = dir; in ubifs_ls() 615 file->f_path.dentry->d_inode->i_ino = inum; in ubifs_ls()
|
| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | readdir.c | 326 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | fault.c | 149 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()
|
| /OK3568_Linux_fs/kernel/security/tomoyo/ |
| H A D | tomoyo.c | 110 &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()
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | file.c | 89 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 …]
|
| H A D | mmap.c | 169 file->f_path.mnt, &lock_level, 1); in ocfs2_mmap()
|
| /OK3568_Linux_fs/kernel/security/apparmor/ |
| H A D | file.c | 530 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()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | acct.c | 109 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()
|
| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A D | file.c | 41 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()
|
| H A D | mmap.c | 346 rc = ecryptfs_truncate(file->f_path.dentry, in ecryptfs_write_begin() 408 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr()
|
| /OK3568_Linux_fs/kernel/fs/efivarfs/ |
| H A D | file.c | 49 d_delete(file->f_path.dentry); in efivarfs_file_write() 50 dput(file->f_path.dentry); in efivarfs_file_write()
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | fd.c | 59 real_mount(file->f_path.mnt)->mnt_id, in seq_show() 190 *path = fd_file->f_path; in proc_fd_link() 191 path_get(&fd_file->f_path); in proc_fd_link()
|
| /OK3568_Linux_fs/kernel/fs/autofs/ |
| H A D | root.c | 76 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()
|
| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | regmap-debugfs.c | 473 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()
|
| /OK3568_Linux_fs/kernel/security/integrity/ima/ |
| H A D | ima_main.c | 92 *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()
|
| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/ |
| H A D | rtmpsuck.c | 78 AVal f_path; member 329 if (AVMATCH(&av, &fl->f_path)) in ServeInvoke() 388 fl->f_path.av_len = av.av_len; in ServeInvoke() 389 fl->f_path.av_val = (char *)(fl+1); in ServeInvoke() 390 memcpy(fl->f_path.av_val, av.av_val, av.av_len); in ServeInvoke() 391 fl->f_path.av_val[av.av_len] = '\0'; in ServeInvoke()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_d_path.c | 57 ret = bpf_d_path(&file->f_path, in BPF_PROG()
|
| /OK3568_Linux_fs/kernel/fs/fat/ |
| H A D | file.c | 93 err = security_inode_setattr(file->f_path.dentry, &ia); in fat_ioctl_set_attributes() 98 err = fat_setattr(file->f_path.dentry, &ia); in fat_ioctl_set_attributes() 102 fsnotify_change(file->f_path.dentry, ia.ia_valid); in fat_ioctl_set_attributes()
|
| /OK3568_Linux_fs/kernel/drivers/oprofile/ |
| H A D | buffer_sync.c | 239 cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie() 266 cookie = fast_get_dcookie(&vma->vm_file->f_path); in lookup_dcookie()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/ |
| H A D | spu_task_sync.c | 330 app_cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie_and_offset() 349 *spu_bin_dcookie = fast_get_dcookie(&vma->vm_file->f_path); in get_exec_dcookie_and_offset()
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | ioctl.c | 29 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
|