/kernel/linux/linux-6.6/fs/erofs/ |
H A D | sysfs.c | 97 static unsigned char *__struct_ptr(struct erofs_sb_info *sbi, in __struct_ptr() 110 struct erofs_sb_info *sbi = container_of(kobj, struct erofs_sb_info, in erofs_attr_show() 133 struct erofs_sb_info *sbi = container_of(kobj, struct erofs_sb_info, in erofs_attr_store() 172 struct erofs_sb_info *sbi = container_of(kobj, struct erofs_sb_info, in erofs_sb_release() 207 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_register_sysfs() 241 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_unregister_sysfs()
|
H A D | utils.c | 55 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_find_workgroup() 77 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_insert_workgroup() 118 static bool erofs_try_to_release_workgroup(struct erofs_sb_info *sbi, in erofs_try_to_release_workgroup() 151 static unsigned long erofs_shrink_workstation(struct erofs_sb_info *sbi, in erofs_shrink_workstation() 183 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_shrinker_register() 194 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_shrinker_unregister() 215 struct erofs_sb_info *sbi; in erofs_shrink_scan() 230 sbi = list_entry(p, struct erofs_sb_info, list); in erofs_shrink_scan()
|
H A D | internal.h | 123 struct erofs_sb_info { struct 188 #define EROFS_SB(sb) ((struct erofs_sb_info *)(sb)->s_fs_info) 189 #define EROFS_I_SB(inode) ((struct erofs_sb_info *)(inode)->i_sb->s_fs_info) 239 static inline bool erofs_sb_has_##name(struct erofs_sb_info *sbi) \ 309 struct erofs_sb_info *sbi = EROFS_I_SB(inode); in erofs_iloc() 469 int erofs_try_to_free_all_cached_pages(struct erofs_sb_info *sbi,
|
H A D | super.c | 174 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_init_device() 220 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_scan_devices() 281 struct erofs_sb_info *sbi; in erofs_read_superblock() 581 struct erofs_sb_info *sbi; in erofs_fc_fill_super() 717 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fc_reconfigure() 799 struct erofs_sb_info *sbi; in erofs_kill_sb() 821 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_put_super() 922 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_statfs() 944 struct erofs_sb_info *sbi = EROFS_SB(root->d_sb); in erofs_show_options()
|
H A D | xattr.c | 217 struct erofs_sb_info *sbi = EROFS_SB(it->sb); in erofs_listxattr_foreach() 269 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_getxattr_foreach() 371 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_xattr_iter_shared() 400 struct erofs_sb_info *sbi = EROFS_SB(inode->i_sb); in erofs_getxattr() 468 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_xattr_prefixes_cleanup() 481 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_xattr_prefixes_init()
|
H A D | fscache.c | 353 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fscache_register_volume() 380 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fscache_init_domain() 420 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fscache_register_domain() 581 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fscache_register_fs() 614 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fscache_unregister_fs()
|
H A D | compress.h | 86 static inline bool erofs_page_is_managed(const struct erofs_sb_info *sbi, in erofs_page_is_managed()
|
H A D | decompressor.c | 30 struct erofs_sb_info *sbi = EROFS_SB(sb); in z_erofs_load_lz4_config() 396 struct erofs_sb_info *sbi = EROFS_SB(sb); in z_erofs_parse_cfgs()
|
H A D | zdata.c | 624 int erofs_try_to_free_all_cached_pages(struct erofs_sb_info *sbi, in erofs_try_to_free_all_cached_pages() 1067 static bool z_erofs_is_sync_decompress(struct erofs_sb_info *sbi, in z_erofs_is_sync_decompress() 1242 struct erofs_sb_info *const sbi = EROFS_SB(be->sb); in z_erofs_decompress_pcluster() 1401 struct erofs_sb_info *const sbi = EROFS_SB(io->sb); in z_erofs_decompress_kickoff() 1829 struct erofs_sb_info *const sbi = EROFS_I_SB(inode); in z_erofs_read_folio() 1856 struct erofs_sb_info *const sbi = EROFS_I_SB(inode); in z_erofs_readahead()
|
H A D | inode.c | 15 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_read_inode()
|
/kernel/linux/linux-5.10/fs/erofs/ |
H A D | utils.c | 61 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_find_workgroup() 83 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_insert_workgroup() 130 static bool erofs_try_to_release_workgroup(struct erofs_sb_info *sbi, in erofs_try_to_release_workgroup() 165 static unsigned long erofs_shrink_workstation(struct erofs_sb_info *sbi, in erofs_shrink_workstation() 197 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_shrinker_register() 208 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_shrinker_unregister() 229 struct erofs_sb_info *sbi; in erofs_shrink_scan() 244 sbi = list_entry(p, struct erofs_sb_info, list); in erofs_shrink_scan()
|
H A D | super.c | 127 struct erofs_sb_info *sbi; in erofs_read_superblock() 320 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_init_managed_cache() 342 struct erofs_sb_info *sbi; in erofs_fc_fill_super() 414 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_fc_reconfigure() 462 struct erofs_sb_info *sbi; in erofs_kill_sb() 478 struct erofs_sb_info *const sbi = EROFS_SB(sb); in erofs_put_super() 552 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_statfs() 571 struct erofs_sb_info *sbi __maybe_unused = EROFS_SB(root->d_sb); in erofs_show_options()
|
H A D | internal.h | 60 struct erofs_sb_info { struct 99 #define EROFS_SB(sb) ((struct erofs_sb_info *)(sb)->s_fs_info) 100 #define EROFS_I_SB(inode) ((struct erofs_sb_info *)(inode)->i_sb->s_fs_info) 214 static inline erofs_off_t iloc(struct erofs_sb_info *sbi, erofs_nid_t nid) in iloc() 419 int erofs_try_to_free_all_cached_pages(struct erofs_sb_info *sbi,
|
H A D | xattr.h | 23 static inline erofs_blk_t xattrblock_addr(struct erofs_sb_info *sbi, in xattrblock_addr() 34 static inline unsigned int xattrblock_offset(struct erofs_sb_info *sbi, in xattrblock_offset()
|
H A D | xattr.c | 46 struct erofs_sb_info *sbi; in init_inode_xattrs() 197 struct erofs_sb_info *const sbi = EROFS_SB(inode->i_sb); in inline_xattr_iter_begin() 399 struct erofs_sb_info *const sbi = EROFS_SB(sb); in shared_getxattr() 476 struct erofs_sb_info *const sbi = EROFS_I_SB(inode); in erofs_xattr_generic_get() 620 struct erofs_sb_info *const sbi = EROFS_SB(sb); in shared_listxattr()
|
H A D | zdata.h | 99 static inline bool erofs_page_is_managed(const struct erofs_sb_info *sbi, in erofs_page_is_managed()
|
H A D | zdata.c | 201 int erofs_try_to_free_all_cached_pages(struct erofs_sb_info *sbi, in erofs_try_to_free_all_cached_pages() 566 struct erofs_sb_info *const sbi = EROFS_I_SB(inode); in z_erofs_do_read_page() 745 struct erofs_sb_info *const sbi = EROFS_SB(sb); in z_erofs_decompress_pcluster() 1161 struct erofs_sb_info *const sbi = EROFS_SB(sb); in z_erofs_submit_queue() 1308 struct erofs_sb_info *const sbi = EROFS_I_SB(inode); in z_erofs_readahead()
|
H A D | data.c | 78 struct erofs_sb_info *sbi = EROFS_SB(inode->i_sb); in erofs_map_blocks_flatmode()
|
H A D | inode.c | 20 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_read_inode()
|