Lines Matching refs:old_blkaddr
3216 block_t old_blkaddr, block_t *new_blkaddr, in f2fs_allocate_data_block() argument
3232 f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO); in f2fs_allocate_data_block()
3233 se = get_seg_entry(sbi, GET_SEGNO(sbi, old_blkaddr)); in f2fs_allocate_data_block()
3255 old_mtime = get_segment_mtime(sbi, old_blkaddr); in f2fs_allocate_data_block()
3257 update_segment_mtime(sbi, old_blkaddr, 0); in f2fs_allocate_data_block()
3267 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) in f2fs_allocate_data_block()
3268 update_sit_entry(sbi, old_blkaddr, -1); in f2fs_allocate_data_block()
3282 locate_dirty_segment(sbi, GET_SEGNO(sbi, old_blkaddr)); in f2fs_allocate_data_block()
3347 f2fs_allocate_data_block(fio->sbi, fio->page, fio->old_blkaddr, in do_write_page()
3349 if (GET_SEGNO(fio->sbi, fio->old_blkaddr) != NULL_SEGNO) { in do_write_page()
3351 fio->old_blkaddr, fio->old_blkaddr); in do_write_page()
3352 f2fs_invalidate_compress_page(fio->sbi, fio->old_blkaddr); in do_write_page()
3358 fio->old_blkaddr = fio->new_blkaddr; in do_write_page()
3377 .old_blkaddr = page->index, in f2fs_do_write_meta_page()
3425 fio->new_blkaddr = fio->old_blkaddr; in f2fs_inplace_write_data()
3487 block_t old_blkaddr, block_t new_blkaddr, in f2fs_do_replace_block() argument
3508 if (old_blkaddr == NULL_ADDR) in f2fs_do_replace_block()
3547 if (GET_SEGNO(sbi, old_blkaddr) != NULL_SEGNO) { in f2fs_do_replace_block()
3549 old_blkaddr, old_blkaddr); in f2fs_do_replace_block()
3550 f2fs_invalidate_compress_page(sbi, old_blkaddr); in f2fs_do_replace_block()
3552 update_segment_mtime(sbi, old_blkaddr, 0); in f2fs_do_replace_block()
3553 update_sit_entry(sbi, old_blkaddr, -1); in f2fs_do_replace_block()
3556 locate_dirty_segment(sbi, GET_SEGNO(sbi, old_blkaddr)); in f2fs_do_replace_block()