Lines Matching refs:next_blkoff
2543 return curseg->next_blkoff; in f2fs_curseg_valid_blocks()
2735 curseg->next_blkoff = 0; in reset_curseg()
2833 return __next_free_blkoff(sbi, seg->segno, seg->next_blkoff + 1); in f2fs_find_next_ssr_block()
2864 curseg->next_blkoff = __next_free_blkoff(sbi, curseg->segno, 0); in change_curseg()
3091 !curseg->next_blkoff && in __allocate_new_segment()
3408 seg->next_blkoff += in f2fs_randomize_chunk()
3437 f2fs_bug_on(sbi, curseg->next_blkoff >= sbi->blocks_per_seg); in f2fs_allocate_data_block()
3441 curseg->sum_blk->entries[curseg->next_blkoff] = *sum; in f2fs_allocate_data_block()
3443 curseg->next_blkoff = f2fs_find_next_ssr_block(sbi, curseg); in f2fs_allocate_data_block()
3445 curseg->next_blkoff++; in f2fs_allocate_data_block()
3449 if (curseg->next_blkoff >= f2fs_usable_blks_in_seg(sbi, curseg->segno)) in f2fs_allocate_data_block()
3742 old_blkoff = curseg->next_blkoff; in f2fs_do_replace_block()
3751 curseg->next_blkoff = GET_BLKOFF_FROM_SEG0(sbi, new_blkaddr); in f2fs_do_replace_block()
3752 curseg->sum_blk->entries[curseg->next_blkoff] = *sum; in f2fs_do_replace_block()
3778 curseg->next_blkoff = old_blkoff; in f2fs_do_replace_block()
3890 seg_i->next_blkoff = blk_off; in read_compacted_summaries()
3986 curseg->next_blkoff = blk_off; in read_normal_summaries()
4541 array[i].next_blkoff = 0; in build_curseg()
4825 unsigned int blkofs = curseg->next_blkoff; in sanity_check_curseg()
4854 curseg->next_blkoff, blkofs); in sanity_check_curseg()
5028 if (cs->segno == wp_segno && cs->next_blkoff == wp_blkoff && in fix_curseg_write_pointer()
5034 type, cs->segno, cs->next_blkoff, wp_segno, wp_blkoff); in fix_curseg_write_pointer()
5037 "curseg[0x%x,0x%x]", type, cs->segno, cs->next_blkoff); in fix_curseg_write_pointer()
5070 type, cs->segno, cs->next_blkoff); in fix_curseg_write_pointer()