Lines Matching defs:sb
27 #define erofs_err(sb, fmt, ...) \ argument
31 #define erofs_info(sb, fmt, ...) \ argument
181 #define EROFS_SB(sb) ((struct erofs_sb_info *)(sb)->s_fs_info) argument
194 static inline bool erofs_is_fscache_mode(struct super_block *sb) in erofs_is_fscache_mode()
224 #define ROOT_NID(sb) ((sb)->root_nid) argument
226 #define erofs_blknr(sb, addr) ((addr) >> (sb)->s_blocksize_bits) argument
227 #define erofs_blkoff(sb, addr) ((addr) & ((sb)->s_blocksize - 1)) argument
228 #define erofs_pos(sb, blk) ((erofs_off_t)(blk) << (sb)->s_blocksize_bits) argument
474 static inline void erofs_shrinker_register(struct super_block *sb) {} in erofs_shrinker_register()
475 static inline void erofs_shrinker_unregister(struct super_block *sb) {} in erofs_shrinker_unregister()
482 static inline int erofs_init_managed_cache(struct super_block *sb) { return 0; } in erofs_init_managed_cache()
509 static inline int erofs_fscache_register_fs(struct super_block *sb) in erofs_fscache_register_fs()
513 static inline void erofs_fscache_unregister_fs(struct super_block *sb) {} in erofs_fscache_unregister_fs()
516 struct erofs_fscache *erofs_fscache_register_cookie(struct super_block *sb, in erofs_fscache_register_cookie()