Lines Matching refs:nid
38 nid_t nid; in nat_dump() local
51 for (nid = start_nat; nid < end_nat; nid++) { in nat_dump()
54 if(nid == 0 || nid == F2FS_NODE_INO(sbi) || in nat_dump()
55 nid == F2FS_META_INO(sbi)) in nat_dump()
58 ni.nid = nid; in nat_dump()
59 block_addr = current_nat_addr(sbi, nid, &pack); in nat_dump()
61 if (lookup_nat_in_journal(sbi, nid, &raw_nat) >= 0) { in nat_dump()
70 ni.nid, ni.ino, in nat_dump()
81 &nat_block->entries[nid % NAT_ENTRY_PER_BLOCK]); in nat_dump()
91 ni.nid, ni.ino, in nat_dump()
219 le32_to_cpu(sum_blk->entries[i].nid)); in ssa_dump()
251 u32 nid, u64 *ofs) in dump_node_blk() argument
272 if (nid == 0) { in dump_node_blk()
277 get_node_info(sbi, nid, &ni); in dump_node_blk()
292 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
296 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
371 static void dump_inode_blk(struct f2fs_sb_info *sbi, u32 nid, in dump_inode_blk() argument
378 DBG(3, "ino[0x%x] has inline data!\n", nid); in dump_inode_blk()
472 void dump_node(struct f2fs_sb_info *sbi, nid_t nid, int force) in dump_node() argument
477 get_node_info(sbi, nid, &ni); in dump_node()
484 DBG(1, "Node ID [0x%x]\n", nid); in dump_node()
495 DBG(1, "node_blk.footer.nid [0x%x]\n", le32_to_cpu(node_blk->footer.nid)); in dump_node()
498 le32_to_cpu(node_blk->footer.nid) == ni.nid) { in dump_node()
501 if (ni.ino == ni.nid) in dump_node()
676 nid_t nid; in dump_info_from_blkaddr() local
716 nid = le32_to_cpu(sum_entry.nid); in dump_info_from_blkaddr()
718 get_node_info(sbi, nid, &ni); in dump_info_from_blkaddr()
724 DBG(1, "SUM.nid [0x%x]\n", nid); in dump_info_from_blkaddr()
749 nid, ni.blk_addr); in dump_info_from_blkaddr()
760 if (ni.ino == ni.nid) { in dump_info_from_blkaddr()
769 nid, ni.blk_addr); in dump_info_from_blkaddr()