Home
last modified time | relevance | path

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

/fs/f2fs/
Ddebug.c89 unsigned int segno, vblocks; in update_sit_info() local
98 vblocks = get_valid_blocks(sbi, segno, sbi->segs_per_sec); in update_sit_info()
99 dist = abs(vblocks - hblks_per_sec); in update_sit_info()
102 if (vblocks > 0 && vblocks < blks_per_sec) { in update_sit_info()
103 total_vblocks += vblocks; in update_sit_info()
Dgc.c185 unsigned int vblocks; in get_cb_cost() local
192 vblocks = get_valid_blocks(sbi, segno, sbi->segs_per_sec); in get_cb_cost()
195 vblocks = div_u64(vblocks, sbi->segs_per_sec); in get_cb_cost()
197 u = (vblocks * 100) >> sbi->log_blocks_per_seg; in get_cb_cost()
Dsegment.h293 rs->vblocks = cpu_to_le16(raw_vblocks); in seg_info_to_raw_sit()
386 block_t vblocks; in written_block_count() local
389 vblocks = sit_i->written_valid_blocks; in written_block_count()
392 return vblocks; in written_block_count()