MAIN_SECS
si->base_mem += MAIN_SECS(sbi) * sizeof(struct sec_entry);
si->base_mem += f2fs_bitmap_size(MAIN_SECS(sbi));
si->base_mem += f2fs_bitmap_size(MAIN_SECS(sbi));
dist = div_u64(MAIN_SECS(sbi) * hblks_per_sec * hblks_per_sec, 100);
MAIN_SECS(sbi) -= secs;
start = MAIN_SECS(sbi) * SEGS_PER_SEC(sbi);
MAIN_SECS(sbi) += secs;
MAIN_SECS(sbi) += secs;
if (sbi->allocate_section_hint > MAIN_SECS(sbi))
sbi->allocate_section_hint = MAIN_SECS(sbi);
0, MAIN_SECS(sbi));
p->offset = get_random_u32_below(MAIN_SECS(sbi) *
for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) {
unsigned int bitmap_size = f2fs_bitmap_size(MAIN_SECS(sbi));
last_segment = MAIN_SECS(sbi) * SEGS_PER_SEC(sbi);
(MAIN_SECS(sbi) * SEGS_PER_SEC(sbi));
unsigned int total_zones = MAIN_SECS(sbi) / sbi->secs_per_zone;
alloc_hint > MAIN_SECS(sbi))
alloc_hint = MAIN_SECS(sbi);
secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint);
if (secno >= MAIN_SECS(sbi) && f2fs_sb_has_blkzoned(sbi)) {
secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint);
MAIN_SECS(sbi));
if (secno >= MAIN_SECS(sbi)) {
if (secno >= MAIN_SECS(sbi)) {
MAIN_SECS(sbi));
if (secno >= MAIN_SECS(sbi)) {
return get_random_u32_below(MAIN_SECS(sbi) * SEGS_PER_SEC(sbi));
MAIN_SECS(sbi)),
sec_bitmap_size = f2fs_bitmap_size(MAIN_SECS(sbi));
unsigned int bitmap_size = f2fs_bitmap_size(MAIN_SECS(sbi));
bitmap_size = f2fs_bitmap_size(MAIN_SECS(sbi));
for (i = 0; i < MAIN_SECS(sbi); i++) {
if ((i % 10) == 9 || i == (MAIN_SECS(sbi) - 1))
if (t < 0 || t > MAIN_SECS(sbi))