Searched refs:gc_level (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/fs/logfs/ |
D | gc.c | 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 [all …]
|
D | logfs.h | 98 #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); 723 gc_level_t gc_level) in get_area() argument 725 return logfs_super(sb)->s_area[(__force u8)gc_level]; in get_area()
|
D | segment.c | 291 if (shadow->gc_level == 0) in __logfs_segment_write() 296 area = get_area(sb, shadow->gc_level); in __logfs_segment_write() 364 if (shadow->gc_level != 0) { in logfs_segment_write() 369 type = obj_type(inode, shrink_level(shadow->gc_level)); in logfs_segment_write() 381 shadow->ino, shadow->bix, shadow->gc_level, in logfs_segment_write() 675 shadow->ino, shadow->bix, shadow->gc_level, in logfs_segment_delete() 682 shrink_level(shadow->gc_level)), sb); in logfs_segment_delete() 684 if (shadow->gc_level == 0) in logfs_segment_delete()
|
D | journal.c | 118 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()
|
D | logfs_abi.h | 467 __u8 gc_level; member
|
D | readwrite.c | 1026 gc_level_t gc_level) in logfs_is_valid_block() argument 1221 shadow->gc_level = expand_level(inode->i_ino, level); in alloc_shadow() 1602 gc_level_t gc_level, long flags) in logfs_rewrite_block() argument 1604 level_t level = shrink_level(gc_level); in logfs_rewrite_block() 1617 if (!err && shrink_level(gc_level) == 0) { in logfs_rewrite_block() 2077 gc_level_t gc_level) in logfs_set_segment_erased() argument 2079 u32 ec_level = ec << 4 | (__force u8)gc_level; in logfs_set_segment_erased()
|