Searched refs:log_blocks_per_seg (Results 1 – 11 of 11) sorted by relevance
99 return free_segments(sbi) << sbi->log_blocks_per_seg; in free_segs_blk_count()107 ovp_blks = overprovision_segments(sbi) << sbi->log_blocks_per_seg; in free_user_blocks()
359 avail_user_block_count >> sbi->log_blocks_per_seg); in adjust_reserved_segment()3385 u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_area_boundary() local3387 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()3389 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()3397 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()3401 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()3405 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()3409 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()3413 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()3417 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()[all …]
80 #define TOTAL_BLKS(sbi) (TOTAL_SEGS(sbi) << (sbi)->log_blocks_per_seg)84 (sbi)->log_blocks_per_seg))87 (GET_R2L_SEGNO(FREE_I(sbi), segno) << (sbi)->log_blocks_per_seg))94 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> (sbi)->log_blocks_per_seg)109 (sbi)->log_blocks_per_seg))
179 si->util_free = (int)(free_user_blocks(sbi) >> sbi->log_blocks_per_seg) in update_general_status()180 * 100 / (int)(sbi->user_block_count >> sbi->log_blocks_per_seg) in update_general_status()183 sbi->log_blocks_per_seg) in update_general_status()184 * 100 / (int)(sbi->user_block_count >> sbi->log_blocks_per_seg) in update_general_status()
225 block_addr ^= BIT(sbi->log_blocks_per_seg); in next_nat_addr()
943 le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()979 cp_blk_no += BIT(le32_to_cpu(fsb->log_blocks_per_seg)); in f2fs_get_valid_checkpoint()
875 block_t ovp_holes = ovp_hole_segs << sbi->log_blocks_per_seg; in f2fs_get_unusable_blocks()2182 (end - start) << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()2191 sbi->segs_per_sec << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()2292 dcc->max_discards = MAIN_SEGS(sbi) << sbi->log_blocks_per_seg; in create_discard_cmd_control()4467 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()
1610 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member2503 sbi->log_blocks_per_seg; in get_blocktype_secs()
351 u = (vblocks * 100) >> sbi->log_blocks_per_seg; in get_cb_cost()
3233 nm_i->nat_blocks = nat_segs << le32_to_cpu(sb_raw->log_blocks_per_seg); in init_node_manager()
120 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member