Lines Matching refs:gc_level
42 u8 gc_level = (__force u8)__gc_level; in root_distance() local
44 switch (gc_level) { in root_distance()
50 return super->s_ifile_levels + super->s_iblock_levels - gc_level; in root_distance()
56 return super->s_ifile_levels - (gc_level - 6); in root_distance()
59 gc_level); in root_distance()
97 gc_level_t *gc_level) in logfs_valid_bytes() argument
109 *gc_level = GC_LEVEL(ec_level & 0xf); in logfs_valid_bytes()
114 u64 bix, gc_level_t gc_level) in logfs_cleanse_block() argument
120 err = logfs_rewrite_block(inode, bix, ofs, gc_level, 0); in logfs_cleanse_block()
133 gc_level_t gc_level; in logfs_gc_segment() local
140 gc_level = GC_LEVEL(sh.level); in logfs_gc_segment()
167 valid = logfs_is_valid_block(sb, ofs, ino, bix, gc_level); in logfs_gc_segment()
169 logfs_cleanse_block(sb, ofs, ino, bix, gc_level); in logfs_gc_segment()
333 gc_level_t gc_level = 0; in scan_segment() local
340 valid = logfs_valid_bytes(sb, segno, &ec, &gc_level); in scan_segment()
344 dist = root_distance(sb, gc_level); in scan_segment()
387 gc_level_t gc_level; in __logfs_gc_once() local
398 valid = logfs_valid_bytes(sb, segno, &ec, &gc_level); in __logfs_gc_once()
635 gc_level_t gc_level; in check_area() local
656 valid = logfs_valid_bytes(sb, segno, &ec, &gc_level); in check_area()