Lines Matching refs:orphan_blk
744 struct f2fs_orphan_block *orphan_blk; in f2fs_recover_orphan_inodes() local
752 orphan_blk = (struct f2fs_orphan_block *)page_address(page); in f2fs_recover_orphan_inodes()
753 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in f2fs_recover_orphan_inodes()
754 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in f2fs_recover_orphan_inodes()
775 struct f2fs_orphan_block *orphan_blk = NULL; in write_orphan_inodes() local
796 orphan_blk = in write_orphan_inodes()
798 memset(orphan_blk, 0, sizeof(*orphan_blk)); in write_orphan_inodes()
801 orphan_blk->ino[nentries++] = cpu_to_le32(orphan->ino); in write_orphan_inodes()
809 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes()
810 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
811 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
821 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes()
822 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
823 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()