valid_blocks 834 fs/f2fs/segment.c unsigned short valid_blocks, ckpt_valid_blocks; valid_blocks 841 fs/f2fs/segment.c valid_blocks = get_valid_blocks(sbi, segno, false); valid_blocks 844 fs/f2fs/segment.c if (valid_blocks == 0 && (!is_sbi_flag_set(sbi, SBI_CP_DISABLED) || valid_blocks 848 fs/f2fs/segment.c } else if (valid_blocks < sbi->blocks_per_seg) { valid_blocks 891 fs/f2fs/segment.c holes[NODE] += sbi->blocks_per_seg - se->valid_blocks; valid_blocks 893 fs/f2fs/segment.c holes[DATA] += sbi->blocks_per_seg - se->valid_blocks; valid_blocks 1857 fs/f2fs/segment.c if (se->valid_blocks == max_blocks || !f2fs_hw_support_discard(sbi)) valid_blocks 1861 fs/f2fs/segment.c if (!f2fs_realtime_discard_enable(sbi) || !se->valid_blocks || valid_blocks 2132 fs/f2fs/segment.c new_vblocks = se->valid_blocks + del; valid_blocks 2138 fs/f2fs/segment.c se->valid_blocks = new_vblocks; valid_blocks 2159 fs/f2fs/segment.c se->valid_blocks--; valid_blocks 2189 fs/f2fs/segment.c se->valid_blocks++; valid_blocks 2217 fs/f2fs/segment.c get_sec_entry(sbi, segno)->valid_blocks += del; valid_blocks 3310 fs/f2fs/segment.c if (se->valid_blocks == 0 && !IS_CURSEG(sbi, segno)) { valid_blocks 4150 fs/f2fs/segment.c total_node_blocks += se->valid_blocks; valid_blocks 4162 fs/f2fs/segment.c se->valid_blocks; valid_blocks 4166 fs/f2fs/segment.c get_sec_entry(sbi, start)->valid_blocks += valid_blocks 4167 fs/f2fs/segment.c se->valid_blocks; valid_blocks 4187 fs/f2fs/segment.c old_valid_blocks = se->valid_blocks; valid_blocks 4196 fs/f2fs/segment.c total_node_blocks += se->valid_blocks; valid_blocks 4204 fs/f2fs/segment.c sbi->discard_blks -= se->valid_blocks; valid_blocks 4208 fs/f2fs/segment.c get_sec_entry(sbi, start)->valid_blocks += valid_blocks 4209 fs/f2fs/segment.c se->valid_blocks; valid_blocks 4210 fs/f2fs/segment.c get_sec_entry(sbi, start)->valid_blocks -= valid_blocks 4232 fs/f2fs/segment.c if (!sentry->valid_blocks) valid_blocks 4236 fs/f2fs/segment.c sentry->valid_blocks; valid_blocks 4251 fs/f2fs/segment.c unsigned short valid_blocks; valid_blocks 4259 fs/f2fs/segment.c valid_blocks = get_valid_blocks(sbi, segno, false); valid_blocks 4260 fs/f2fs/segment.c if (valid_blocks == sbi->blocks_per_seg || !valid_blocks) valid_blocks 4262 fs/f2fs/segment.c if (valid_blocks > sbi->blocks_per_seg) { valid_blocks 179 fs/f2fs/segment.h unsigned int valid_blocks:10; /* # of valid blocks */ valid_blocks 196 fs/f2fs/segment.h unsigned int valid_blocks; /* # of valid blocks in a section */ valid_blocks 341 fs/f2fs/segment.h return get_sec_entry(sbi, segno)->valid_blocks; valid_blocks 343 fs/f2fs/segment.h return get_seg_entry(sbi, segno)->valid_blocks; valid_blocks 355 fs/f2fs/segment.h se->valid_blocks = GET_SIT_VBLOCKS(rs); valid_blocks 370 fs/f2fs/segment.h se->valid_blocks; valid_blocks 401 fs/f2fs/segment.h se->ckpt_valid_blocks = se->valid_blocks; valid_blocks 681 fs/f2fs/segment.h int valid_blocks = 0; valid_blocks 690 fs/f2fs/segment.h valid_blocks += next_pos - cur_pos; valid_blocks 699 fs/f2fs/segment.h if (unlikely(GET_SIT_VBLOCKS(raw_sit) != valid_blocks)) { valid_blocks 701 fs/f2fs/segment.h GET_SIT_VBLOCKS(raw_sit), valid_blocks); valid_blocks 621 fs/f2fs/sysfs.c seq_printf(seq, "%d|%-3u", se->type, se->valid_blocks); valid_blocks 647 fs/f2fs/sysfs.c seq_printf(seq, "%d|%-3u|", se->type, se->valid_blocks);