• Home
  • Raw
  • Download

Lines Matching defs:sbi

160 static inline struct f2fs_super_block *F2FS_RAW_SUPER(struct f2fs_sb_info *sbi)  in F2FS_RAW_SUPER()
165 static inline struct f2fs_checkpoint *F2FS_CKPT(struct f2fs_sb_info *sbi) in F2FS_CKPT()
170 static inline struct f2fs_fsck *F2FS_FSCK(struct f2fs_sb_info *sbi) in F2FS_FSCK()
175 static inline struct f2fs_nm_info *NM_I(struct f2fs_sb_info *sbi) in NM_I()
180 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I()
185 static inline struct sit_info *SIT_I(struct f2fs_sb_info *sbi) in SIT_I()
190 static inline unsigned long __bitmap_size(struct f2fs_sb_info *sbi, int flag) in __bitmap_size()
203 static inline void *__bitmap_ptr(struct f2fs_sb_info *sbi, int flag) in __bitmap_ptr()
225 static inline block_t __start_cp_addr(struct f2fs_sb_info *sbi) in __start_cp_addr()
243 static inline block_t __start_sum_addr(struct f2fs_sb_info *sbi) in __start_sum_addr()
248 #define GET_ZONENO_FROM_SEGNO(sbi, segno) \ argument
259 #define GET_SUM_BLKADDR(sbi, segno) \ argument
262 #define GET_SEGOFF_FROM_SEG0(sbi, blk_addr) \ argument
265 #define GET_SEGNO_FROM_SEG0(sbi, blk_addr) \ argument
268 #define FREE_I_START_SEGNO(sbi) GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr) argument
269 #define GET_R2L_SEGNO(sbi, segno) (segno + FREE_I_START_SEGNO(sbi)) argument
271 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + (segno << sbi->log_blocks_per_seg)) argument
273 static inline struct curseg_info *CURSEG_I(struct f2fs_sb_info *sbi, int type) in CURSEG_I()
278 static inline block_t start_sum_block(struct f2fs_sb_info *sbi) in start_sum_block()
283 static inline block_t sum_blk_addr(struct f2fs_sb_info *sbi, int base, int type) in sum_blk_addr()
302 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments) argument
304 #define IS_VALID_NID(sbi, nid) \ argument
311 #define IS_VALID_BLK_ADDR(sbi, addr) \ argument
322 static inline u64 BLKOFF_FROM_MAIN(struct f2fs_sb_info *sbi, u64 blk_addr) in BLKOFF_FROM_MAIN()
328 static inline u32 GET_SEGNO(struct f2fs_sb_info *sbi, u64 blk_addr) in GET_SEGNO()
334 static inline u32 OFFSET_IN_SEG(struct f2fs_sb_info *sbi, u64 blk_addr) in OFFSET_IN_SEG()