Lines Matching refs:orphan_blk
738 struct f2fs_orphan_block *orphan_blk; in f2fs_recover_orphan_inodes() local
746 orphan_blk = (struct f2fs_orphan_block *)page_address(page); in f2fs_recover_orphan_inodes()
747 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in f2fs_recover_orphan_inodes()
748 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in f2fs_recover_orphan_inodes()
776 struct f2fs_orphan_block *orphan_blk = NULL; in write_orphan_inodes() local
797 orphan_blk = in write_orphan_inodes()
799 memset(orphan_blk, 0, sizeof(*orphan_blk)); in write_orphan_inodes()
802 orphan_blk->ino[nentries++] = cpu_to_le32(orphan->ino); in write_orphan_inodes()
810 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes()
811 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
812 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
822 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes()
823 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
824 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()