Lines Matching refs:orphan_blocks
653 block_t start_blk, orphan_blocks, i, j; in f2fs_recover_orphan_inodes() local
680 orphan_blocks = __start_sum_addr(sbi) - 1 - __cp_payload(sbi); in f2fs_recover_orphan_inodes()
682 f2fs_ra_meta_pages(sbi, start_blk, orphan_blocks, META_CP, true); in f2fs_recover_orphan_inodes()
684 for (i = 0; i < orphan_blocks; i++) { in f2fs_recover_orphan_inodes()
726 unsigned short orphan_blocks; in write_orphan_inodes() local
731 orphan_blocks = GET_ORPHAN_BLOCKS(im->ino_num); in write_orphan_inodes()
758 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
770 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
1290 unsigned int data_sum_blocks, orphan_blocks; in do_checkpoint() local
1338 orphan_blocks = GET_ORPHAN_BLOCKS(orphan_num); in do_checkpoint()
1340 orphan_blocks); in do_checkpoint()
1345 orphan_blocks + NR_CURSEG_NODE_TYPE); in do_checkpoint()
1349 orphan_blocks); in do_checkpoint()
1396 start_blk += orphan_blocks; in do_checkpoint()