Home
last modified time | relevance | path

Searched refs:log_blocks_per_seg (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dgc.h107 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()
Dsuper.c354 avail_user_block_count >> sbi->log_blocks_per_seg); in adjust_reserved_segment()
3184 u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_area_boundary() local
3186 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3188 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
3196 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
3200 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
3204 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
3208 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
3212 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
3216 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
[all …]
Dsegment.h80 #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)
Ddebug.c168 si->util_free = (int)(free_user_blocks(sbi) >> sbi->log_blocks_per_seg) in update_general_status()
169 * 100 / (int)(sbi->user_block_count >> sbi->log_blocks_per_seg) in update_general_status()
172 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()
Dnode.h227 block_addr ^= 1 << sbi->log_blocks_per_seg; in next_nat_addr()
Dsegment.c840 block_t ovp_holes = ovp_hole_segs << sbi->log_blocks_per_seg; in f2fs_get_unusable_blocks()
1958 (end - start) << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()
1967 sbi->segs_per_sec << sbi->log_blocks_per_seg); in f2fs_clear_prefree_segments()
2066 dcc->max_discards = MAIN_SEGS(sbi) << sbi->log_blocks_per_seg; in create_discard_cmd_control()
4265 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()
4949 sbi->log_blocks_per_seg); in f2fs_usable_zone_segs_in_sec()
Dcheckpoint.c944 le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()
980 cp_blk_no += 1 << le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()
Df2fs.h1687 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member
2490 sbi->log_blocks_per_seg; in get_blocktype_secs()
Dgc.c350 u = (vblocks * 100) >> sbi->log_blocks_per_seg; in get_cb_cost()
Dnode.c3213 nm_i->nat_blocks = nat_segs << le32_to_cpu(sb_raw->log_blocks_per_seg); in init_node_manager()
/linux-6.1.9/include/linux/
Df2fs_fs.h119 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member