Lines Matching refs:blks_per_seg
236 log_blks_per_seg = log_base_2(c.blks_per_seg); in f2fs_prepare_super_block()
248 segment_size_bytes = blk_size_bytes * c.blks_per_seg; in f2fs_prepare_super_block()
251 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()
306 c.blks_per_seg - 1 + in f2fs_prepare_super_block()
311 (c.sectors_per_blk * c.blks_per_seg); in f2fs_prepare_super_block()
316 c.blks_per_seg - 1; in f2fs_prepare_super_block()
331 get_sb(segment_count_ckpt) * c.blks_per_seg); in f2fs_prepare_super_block()
340 c.blks_per_seg); in f2fs_prepare_super_block()
344 get_sb(segment_count_sit))) * c.blks_per_seg; in f2fs_prepare_super_block()
408 c.blks_per_seg); in f2fs_prepare_super_block()
414 c.blks_per_seg; in f2fs_prepare_super_block()
420 c.blks_per_seg + 1; in f2fs_prepare_super_block()
434 c.blks_per_seg); in f2fs_prepare_super_block()
437 c.segs_per_zone * c.blks_per_seg); in f2fs_prepare_super_block()
781 get_cp(overprov_segment_count)) * c.blks_per_seg)); in f2fs_write_check_point_pack()
785 get_cp(overprov_segment_count)) * c.blks_per_seg)); in f2fs_write_check_point_pack()
871 get_cp(cur_node_segno[0]) * c.blks_per_seg); in f2fs_write_check_point_pack()
882 c.blks_per_seg + i); in f2fs_write_check_point_pack()
893 c.blks_per_seg + i); in f2fs_write_check_point_pack()
1084 cp_seg_blk = get_sb(segment0_blkaddr) + c.blks_per_seg; in f2fs_write_check_point_pack()
1173 offset += c.cur_seg[CURSEG_WARM_NODE] * c.blks_per_seg; in f2fs_discard_obsolete_dnode()
1176 c.cur_seg[CURSEG_HOT_NODE] * c.blks_per_seg + c.quota_inum + c.lpf_inum; in f2fs_discard_obsolete_dnode()
1226 c.blks_per_seg + 1); in f2fs_write_root_inode()
1272 c.cur_seg[CURSEG_HOT_DATA] * c.blks_per_seg; in f2fs_write_root_inode()
1281 c.blks_per_seg; in f2fs_write_root_inode()
1286 c.blks_per_seg, main_area_node_seg_blk_offset); in f2fs_write_root_inode()
1386 c.blks_per_seg + 1 + qtype + 1); in f2fs_write_qf_inode()
1390 c.cur_seg[CURSEG_HOT_DATA] * c.blks_per_seg + 1 in f2fs_write_qf_inode()
1414 c.blks_per_seg + offset + 1; in f2fs_write_qf_inode()
1419 c.blks_per_seg, main_area_node_seg_blk_offset); in f2fs_write_qf_inode()
1451 c.blks_per_seg + i + 1); in f2fs_update_nat_root()
1459 c.cur_seg[CURSEG_HOT_NODE] * c.blks_per_seg); in f2fs_update_nat_root()
1511 data_blk_offset += c.cur_seg[CURSEG_HOT_DATA] * c.blks_per_seg + in f2fs_add_default_dentry_lpf()
1547 c.cur_seg[CURSEG_HOT_NODE] * c.blks_per_seg + in f2fs_write_lpf_inode()
1603 c.blks_per_seg + c.quota_inum + 1; in f2fs_write_lpf_inode()
1608 c.blks_per_seg, main_area_node_seg_blk_offset); in f2fs_write_lpf_inode()
1667 c.blks_per_seg; in f2fs_add_default_dentry_root()