Home
last modified time | relevance | path

Searched refs:f_path (Results 1 - 25 of 308) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/fs/sharefs/
H A Dfile.c18 struct dentry *dentry = file->f_path.dentry; in sharefs_readdir()
36 if (d_unhashed(file->f_path.dentry)) { in sharefs_open()
49 sharefs_get_lower_path(file->f_path.dentry, &lower_path); in sharefs_open()
113 struct dentry *dentry = file->f_path.dentry; in sharefs_fsync()
181 fsstack_copy_attr_atime(d_inode(file->f_path.dentry), in sharefs_read_iter()
209 fsstack_copy_inode_size(d_inode(file->f_path.dentry), in sharefs_write_iter()
211 fsstack_copy_attr_times(d_inode(file->f_path.dentry), in sharefs_write_iter()
/kernel/linux/linux-6.6/fs/sharefs/
H A Dfile.c18 struct dentry *dentry = file->f_path.dentry; in sharefs_readdir()
36 if (d_unhashed(file->f_path.dentry)) { in sharefs_open()
49 sharefs_get_lower_path(file->f_path.dentry, &lower_path); in sharefs_open()
113 struct dentry *dentry = file->f_path.dentry; in sharefs_fsync()
181 fsstack_copy_attr_atime(d_inode(file->f_path.dentry), in sharefs_read_iter()
209 fsstack_copy_inode_size(d_inode(file->f_path.dentry), in sharefs_write_iter()
211 fsstack_copy_attr_times(d_inode(file->f_path.dentry), in sharefs_write_iter()
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_share.c27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()
131 if (!hmdfs_is_dst_path(&file->f_path, &item->file->f_path)) { in update_share_item()
187 path_get(&item->file->f_path); in get_path_from_share_table()
188 *src_path = item->file->f_path; in get_path_from_share_table()
235 path_name = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_close_share_item()
H A Dfile_local.c38 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local()
247 trace_hmdfs_iterate_local(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_local()
256 struct dentry *dentry = file->f_path.dentry; in hmdfs_dir_open_local()
333 dentry = src.file->f_path.dentry; in __hmdfs_ioc_set_share_path()
339 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in __hmdfs_ioc_set_share_path()
H A Dfile_remote.c162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote()
166 send_buf = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_do_open_remote()
988 struct hmdfs_dentry_info *di = hmdfs_d(file->f_path.dentry); in hmdfs_iterate_remote()
1014 trace_hmdfs_iterate_remote(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_remote()
1027 file->f_path.dentry)) in hmdfs_dir_open_remote()
1028 get_remote_dentry_file_sync(file->f_path.dentry, in hmdfs_dir_open_remote()
1031 file->f_path.dentry); in hmdfs_dir_open_remote()
H A Dfile_merge.c372 trace_hmdfs_iterate_merge(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_merge()
381 struct hmdfs_dentry_info_merge *dim = hmdfs_dm(file->f_path.dentry); in do_dir_open_merge()
384 struct path lo_p = { .mnt = file->f_path.mnt }; in do_dir_open_merge()
544 struct path lo_p = { .mnt = file->f_path.mnt }; in hmdfs_file_open_merge()
550 lo_p.dentry = hmdfs_get_fst_lo_d(file->f_path.dentry); in hmdfs_file_open_merge()
562 parent = dget_parent(file->f_path.dentry); in hmdfs_file_open_merge()
780 old_cred = change_cred(filp->f_path.dentry, data->bundle_name); in hmdfs_ioc_get_dst_path()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_share.c27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()
131 if (!hmdfs_is_dst_path(&file->f_path, &item->file->f_path)) { in update_share_item()
187 path_get(&item->file->f_path); in get_path_from_share_table()
188 *src_path = item->file->f_path; in get_path_from_share_table()
235 path_name = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_close_share_item()
H A Dfile_local.c38 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local()
247 trace_hmdfs_iterate_local(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_local()
256 struct dentry *dentry = file->f_path.dentry; in hmdfs_dir_open_local()
333 dentry = src.file->f_path.dentry; in __hmdfs_ioc_set_share_path()
339 dir_path = hmdfs_get_dentry_relative_path(file->f_path.dentry); in __hmdfs_ioc_set_share_path()
H A Dfile_remote.c162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote()
166 send_buf = hmdfs_get_dentry_relative_path(file->f_path.dentry); in hmdfs_do_open_remote()
994 struct hmdfs_dentry_info *di = hmdfs_d(file->f_path.dentry); in hmdfs_iterate_remote()
1020 trace_hmdfs_iterate_remote(file->f_path.dentry, start_pos, ctx->pos, in hmdfs_iterate_remote()
1033 file->f_path.dentry)) in hmdfs_dir_open_remote()
1034 get_remote_dentry_file_sync(file->f_path.dentry, in hmdfs_dir_open_remote()
1037 file->f_path.dentry); in hmdfs_dir_open_remote()
/kernel/linux/linux-5.10/fs/
H A Dopen.c174 dentry = f.file->f_path.dentry; in do_sys_ftruncate()
193 error = security_path_truncate(&f.file->f_path); in do_sys_ftruncate()
521 if (!d_can_lookup(f.file->f_path.dentry)) in SYSCALL_DEFINE1()
526 set_fs_pwd(current->fs, &f.file->f_path); in SYSCALL_DEFINE1()
598 return chmod_common(&file->f_path, mode); in vfs_fchmod()
741 error = chown_common(&file->f_path, user, group); in vfs_fchown()
770 path_get(&f->f_path); in do_dentry_open()
786 error = __mnt_want_write(f->f_path.mnt); in do_dentry_open()
857 __mnt_drop_write(f->f_path.mnt); in do_dentry_open()
860 path_put(&f->f_path); in do_dentry_open()
[all...]
H A Dfile_table.c197 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()
/kernel/linux/linux-6.6/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()
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()
/kernel/linux/linux-6.6/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 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/fs/cachefiles/
H A Dinterface.c141 ret = notify_change(&nop_mnt_idmap, file->f_path.dentry, in cachefiles_adjust_size()
151 ret = notify_change(&nop_mnt_idmap, file->f_path.dentry, in cachefiles_adjust_size()
242 ret = vfs_truncate(&file->f_path, dio_size); in cachefiles_shorten_object()
247 cachefiles_remove_object_xattr(cache, object, file->f_path.dentry); in cachefiles_shorten_object()
262 cachefiles_remove_object_xattr(cache, object, file->f_path.dentry); in cachefiles_shorten_object()
423 old_file->f_path.dentry, in cachefiles_invalidate_cookie()
/kernel/linux/linux-5.10/security/tomoyo/
H A Dtomoyo.c110 &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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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);
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dreaddir.c326 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 in ovl_dir_release()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
2239 struct dentry *dentry = file->f_path in ocfs2_prepare_inode_for_write()
[all...]
/kernel/linux/linux-5.10/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()

Completed in 27 milliseconds

12345678910>>...13