Searched refs:vblocks (Results 1 – 4 of 4) sorted by relevance
/linux/fs/f2fs/ |
H A 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() 636 unsigned int vblocks; in atssr_lookup_victim() local 662 f2fs_bug_on(sbi, !vblocks); in atssr_lookup_victim() 665 if (vblocks == BLKS_PER_SEG(sbi)) in atssr_lookup_victim() [all …]
|
H A 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()
|
H A D | segment.h | 385 rs->vblocks = cpu_to_le16(raw_vblocks); in __seg_info_to_raw_sit()
|
/linux/include/linux/ |
H A 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
|