/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | dentry.c | 39 unsigned int timeout = hmdfs_sb(target->d_sb)->dcache_timeout; in hmdfs_d_remote_revalidate() 226 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in hmdfs_cmp_ci() 246 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in hmdfs_hash_ci()
|
H A D | file_local.c | 29 const struct cred *cred = hmdfs_sb(sb)->cred; in hmdfs_file_open_local() 259 const struct cred *cred = hmdfs_sb(sb)->cred; in hmdfs_dir_open_local() 308 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in __hmdfs_ioc_set_share_path()
|
H A D | inode.h | 186 const struct hmdfs_sb_info *sbi = hmdfs_sb(info->vfs_inode.i_sb); in hmdfs_inode_is_stashing()
|
H A D | file_remote.c | 349 if (!err && hmdfs_remote_need_track_file(hmdfs_sb(inode->i_sb), in hmdfs_file_open_remote() 379 hmdfs_sb(inode->i_sb)->write_cache_timeout; in hmdfs_remote_keep_writecache() 425 if (hmdfs_remote_need_track_file(hmdfs_sb(inode->i_sb), file->f_mode)) in hmdfs_file_release_remote() 721 struct hmdfs_sb_info *sbi = hmdfs_sb(inode->i_sb); in hmdfs_writepage_remote()
|
H A D | inode_cloud_merge.c | 150 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in lookup_merge_normal() 248 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in lookup_cloud_merge_root() 286 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_cloud_merge()
|
H A D | main.c | 277 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in hmdfs_put_super() 338 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_inode->i_sb); in hmdfs_remote_statfs() 405 struct hmdfs_sb_info *sbi = hmdfs_sb(root->d_sb); in hmdfs_show_options() 438 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in hmdfs_sync_fs() 1060 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in hmdfs_kill_super()
|
H A D | inode_cloud.c | 41 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in lookup_cloud_dentry() 319 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_cloud()
|
H A D | file_merge.c | 439 ret = do_dir_open_merge(file, hmdfs_sb(inode->i_sb)->cred, fi); in hmdfs_dir_open_merge() 546 const struct cred *cred = hmdfs_sb(sb)->cred; in hmdfs_file_open_merge() 663 bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), bundle_name); in change_cred()
|
H A D | hmdfs_dentryfile.c | 790 struct inode *inode, struct super_block *hmdfs_sb, in update_dentry() 801 gdi = hmdfs_sb == child_dentry->d_sb ? hmdfs_d(child_dentry) : NULL; in update_dentry() 862 hmdfs_sb(dentry->d_sb)); in create_in_cache_file() 1018 hmdfs_init_dcache_lookup_ctx(&ctx, hmdfs_sb(d->d_sb), &d->d_name, filp); in hmdfs_delete_dentry() 1032 size = cache_file_write(hmdfs_sb(d->d_sb), filp, ctx.page, in hmdfs_delete_dentry() 1318 struct hmdfs_sb_info *sbi = hmdfs_sb(new_dentry->d_sb); in hmdfs_rename_dentry() 2240 timeout = hmdfs_sb(dentry->d_sb)->dcache_timeout; in hmdfs_cache_revalidate() 2465 cache_file_destroy_by_path(hmdfs_sb(dentry->d_sb), path); in hmdfs_clear_cache_dents() 789 update_dentry(struct hmdfs_dentry_group *d, struct dentry *child_dentry, struct inode *inode, struct super_block *hmdfs_sb, __u32 name_hash, unsigned int bit_pos) update_dentry() argument
|
H A D | hmdfs.h | 225 static inline struct hmdfs_sb_info *hmdfs_sb(struct super_block *sb) in hmdfs_sb() function
|
H A D | inode_merge.c | 487 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in lookup_merge_normal() 556 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in do_lookup_merge_root() 643 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in lookup_merge_root() 703 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_merge()
|
H A D | inode_local.c | 80 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in fill_inode_local() 246 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_local() 989 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_share()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | dentry.c | 39 unsigned int timeout = hmdfs_sb(target->d_sb)->dcache_timeout; in hmdfs_d_remote_revalidate() 226 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in hmdfs_cmp_ci() 246 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in hmdfs_hash_ci()
|
H A D | file_local.c | 29 const struct cred *cred = hmdfs_sb(sb)->cred; in hmdfs_file_open_local() 259 const struct cred *cred = hmdfs_sb(sb)->cred; in hmdfs_dir_open_local() 308 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in __hmdfs_ioc_set_share_path()
|
H A D | inode.h | 186 const struct hmdfs_sb_info *sbi = hmdfs_sb(info->vfs_inode.i_sb); in hmdfs_inode_is_stashing()
|
H A D | file_remote.c | 349 if (!err && hmdfs_remote_need_track_file(hmdfs_sb(inode->i_sb), in hmdfs_file_open_remote() 379 hmdfs_sb(inode->i_sb)->write_cache_timeout; in hmdfs_remote_keep_writecache() 425 if (hmdfs_remote_need_track_file(hmdfs_sb(inode->i_sb), file->f_mode)) in hmdfs_file_release_remote() 727 struct hmdfs_sb_info *sbi = hmdfs_sb(inode->i_sb); in hmdfs_writepage_remote()
|
H A D | inode_cloud_merge.c | 150 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in lookup_merge_normal() 248 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in lookup_cloud_merge_root() 286 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_cloud_merge()
|
H A D | main.c | 277 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in hmdfs_put_super() 338 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_inode->i_sb); in hmdfs_remote_statfs() 405 struct hmdfs_sb_info *sbi = hmdfs_sb(root->d_sb); in hmdfs_show_options() 438 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in hmdfs_sync_fs() 1061 struct hmdfs_sb_info *sbi = hmdfs_sb(sb); in hmdfs_kill_super()
|
H A D | inode_cloud.c | 40 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in lookup_cloud_dentry() 315 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_cloud()
|
H A D | file_merge.c | 444 ret = do_dir_open_merge(file, hmdfs_sb(inode->i_sb)->cred, fi); in hmdfs_dir_open_merge() 551 const struct cred *cred = hmdfs_sb(sb)->cred; in hmdfs_file_open_merge() 668 bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), bundle_name); in change_cred()
|
H A D | hmdfs_dentryfile.c | 791 struct inode *inode, struct super_block *hmdfs_sb, in update_dentry() 802 gdi = hmdfs_sb == child_dentry->d_sb ? hmdfs_d(child_dentry) : NULL; in update_dentry() 863 hmdfs_sb(dentry->d_sb)); in create_in_cache_file() 1019 hmdfs_init_dcache_lookup_ctx(&ctx, hmdfs_sb(d->d_sb), &d->d_name, filp); in hmdfs_delete_dentry() 1033 size = cache_file_write(hmdfs_sb(d->d_sb), filp, ctx.page, in hmdfs_delete_dentry() 1319 struct hmdfs_sb_info *sbi = hmdfs_sb(new_dentry->d_sb); in hmdfs_rename_dentry() 2241 timeout = hmdfs_sb(dentry->d_sb)->dcache_timeout; in hmdfs_cache_revalidate() 2466 cache_file_destroy_by_path(hmdfs_sb(dentry->d_sb), path); in hmdfs_clear_cache_dents() 790 update_dentry(struct hmdfs_dentry_group *d, struct dentry *child_dentry, struct inode *inode, struct super_block *hmdfs_sb, __u32 name_hash, unsigned int bit_pos) update_dentry() argument
|
H A D | hmdfs.h | 225 static inline struct hmdfs_sb_info *hmdfs_sb(struct super_block *sb) in hmdfs_sb() function
|
H A D | inode_merge.c | 487 struct hmdfs_sb_info *sbi = hmdfs_sb(dentry->d_sb); in lookup_merge_normal() 556 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in do_lookup_merge_root() 643 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in lookup_merge_root() 703 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb); in hmdfs_lookup_merge()
|
/kernel/linux/linux-5.10/fs/hmdfs/authority/ |
H A D | authentication.c | 115 int bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), in hmdfs_override_dir_fsids() 417 int bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), in check_and_fixup_ownership_remote()
|
/kernel/linux/linux-6.6/fs/hmdfs/authority/ |
H A D | authentication.c | 115 int bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), in hmdfs_override_dir_fsids() 417 int bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), in check_and_fixup_ownership_remote()
|