Searched refs:vblocks (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/fs/f2fs/ |
D | gc.c | 367 unsigned int vblocks; in get_cb_cost() local 375 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost() 378 vblocks = div_u64(vblocks, usable_segs_per_sec); in get_cb_cost() 380 u = BLKS_TO_SEGS(sbi, vblocks * 100); in get_cb_cost() 567 unsigned int vblocks; in atgc_lookup_victim() local 598 vblocks = get_valid_blocks(sbi, ve->segno, true); in atgc_lookup_victim() 599 f2fs_bug_on(sbi, !vblocks || vblocks == sec_blocks); in atgc_lookup_victim() 602 u = div64_u64(accu * (sec_blocks - vblocks), sec_blocks) * in atgc_lookup_victim() 636 unsigned int vblocks; in atssr_lookup_victim() local 661 vblocks = get_seg_entry(sbi, ve->segno)->ckpt_valid_blocks; in atssr_lookup_victim() [all …]
|
D | debug.c | 37 unsigned int segno, vblocks; in f2fs_update_sit_info() local 45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info() 46 dist = abs(vblocks - hblks_per_sec); in f2fs_update_sit_info() 49 if (vblocks > 0 && vblocks < blks_per_sec) { in f2fs_update_sit_info() 50 total_vblocks += vblocks; in f2fs_update_sit_info()
|
D | segment.h | 385 rs->vblocks = cpu_to_le16(raw_vblocks); in __seg_info_to_raw_sit()
|
/linux-6.12.1/include/linux/ |
D | f2fs_fs.h | 409 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK) 411 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \ 415 __le16 vblocks; /* reference above */ member
|