Home
last modified time | relevance | path

Searched refs:vblocks (Results 1 – 4 of 4) sorted by relevance

/linux/fs/f2fs/
H A Dgc.c367 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 Ddebug.c37 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 Dsegment.h385 rs->vblocks = cpu_to_le16(raw_vblocks); in __seg_info_to_raw_sit()
/linux/include/linux/
H A Df2fs_fs.h409 (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