Lines Matching refs:orphan_blk
686 struct f2fs_orphan_block *orphan_blk; in f2fs_recover_orphan_inodes() local
694 orphan_blk = (struct f2fs_orphan_block *)page_address(page); in f2fs_recover_orphan_inodes()
695 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in f2fs_recover_orphan_inodes()
696 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in f2fs_recover_orphan_inodes()
723 struct f2fs_orphan_block *orphan_blk = NULL; in write_orphan_inodes() local
744 orphan_blk = in write_orphan_inodes()
746 memset(orphan_blk, 0, sizeof(*orphan_blk)); in write_orphan_inodes()
749 orphan_blk->ino[nentries++] = cpu_to_le32(orphan->ino); in write_orphan_inodes()
757 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes()
758 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
759 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
769 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes()
770 orphan_blk->blk_count = cpu_to_le16(orphan_blocks); in write_orphan_inodes()
771 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()