Home
last modified time | relevance | path

Searched refs:gc_level (Results 1 – 6 of 6) sorted by relevance

/fs/logfs/
Dgc.c42 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
[all …]
Dlogfs.h98 #define GC_LEVEL(gc_level) ((__force gc_level_t)(gc_level)) argument
256 gc_level_t gc_level; member
552 gc_level_t gc_level, long flags);
554 gc_level_t gc_level);
569 gc_level_t gc_level);
725 gc_level_t gc_level) in get_area() argument
727 return logfs_super(sb)->s_area[(__force u8)gc_level]; in get_area()
Dsegment.c301 if (shadow->gc_level == 0) in __logfs_segment_write()
306 area = get_area(sb, shadow->gc_level); in __logfs_segment_write()
374 if (shadow->gc_level != 0) { in logfs_segment_write()
379 type = obj_type(inode, shrink_level(shadow->gc_level)); in logfs_segment_write()
391 shadow->ino, shadow->bix, shadow->gc_level, in logfs_segment_write()
693 shadow->ino, shadow->bix, shadow->gc_level, in logfs_segment_delete()
700 shrink_level(shadow->gc_level)), sb); in logfs_segment_delete()
702 if (shadow->gc_level == 0) in logfs_segment_delete()
Djournal.c118 struct logfs_area *area = super->s_area[a->gc_level]; in read_area()
122 if (a->gc_level >= LOGFS_NO_AREAS) in read_area()
485 shadow->ino, shadow->bix, shadow->gc_level, in account_shadow()
582 a->gc_level = super->s_sum_index; in logfs_write_area()
Dreadwrite.c1032 gc_level_t gc_level) in logfs_is_valid_block() argument
1227 shadow->gc_level = expand_level(inode->i_ino, level); in alloc_shadow()
1612 gc_level_t gc_level, long flags) in logfs_rewrite_block() argument
1614 level_t level = shrink_level(gc_level); in logfs_rewrite_block()
1627 if (!err && shrink_level(gc_level) == 0) { in logfs_rewrite_block()
2094 gc_level_t gc_level) in logfs_set_segment_erased() argument
2096 u32 ec_level = ec << 4 | (__force u8)gc_level; in logfs_set_segment_erased()
Dlogfs_abi.h467 __u8 gc_level; member