Searched refs:log_blocks_per_seg (Results 1 – 10 of 10) sorted by relevance
362 avail_user_block_count >> sbi->log_blocks_per_seg); in adjust_reserved_segment()3198 u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_area_boundary() local3200 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()3202 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()3210 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()3214 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()3218 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()3222 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()3226 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()3230 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()[all …]
107 return free_segments(sbi) << sbi->log_blocks_per_seg; in free_segs_blk_count()115 ovp_blks = overprovision_segments(sbi) << sbi->log_blocks_per_seg; in free_user_blocks()
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))
172 si->util_free = (int)(free_user_blocks(sbi) >> sbi->log_blocks_per_seg) in update_general_status()173 * 100 / (int)(sbi->user_block_count >> sbi->log_blocks_per_seg) in update_general_status()176 sbi->log_blocks_per_seg) in update_general_status()177 * 100 / (int)(sbi->user_block_count >> sbi->log_blocks_per_seg) in update_general_status()
228 block_addr ^= 1 << sbi->log_blocks_per_seg; in next_nat_addr()
952 le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()988 cp_blk_no += 1 << le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()
960 block_t ovp_holes = ovp_hole_segs << sbi->log_blocks_per_seg; in f2fs_get_unusable_blocks()2081 (end - start) << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()2090 sbi->segs_per_sec << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()2189 dcc->max_discards = MAIN_SEGS(sbi) << sbi->log_blocks_per_seg; in create_discard_cmd_control()4473 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()
1685 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member2458 sbi->log_blocks_per_seg; in get_blocktype_secs()
340 u = (vblocks * 100) >> sbi->log_blocks_per_seg; in get_cb_cost()
3225 nm_i->nat_blocks = nat_segs << le32_to_cpu(sb_raw->log_blocks_per_seg); in init_node_manager()