Lines Matching defs:ni
142 struct node_info ni;
166 get_node_info(sbi, nid, &ni);
169 dev_read_block(node_blk, ni.blk_addr);
227 void dump_file(struct f2fs_sb_info *sbi, struct node_info *ni,
260 dump_inode_blk(sbi, ni->ino, node_blk);
272 struct node_info ni;
275 get_node_info(sbi, nid, &ni);
278 dev_read_block(node_blk, ni.blk_addr);
281 DBG(1, "nat_entry.block_addr [0x%x]\n", ni.blk_addr);
282 DBG(1, "nat_entry.version [0x%x]\n", ni.version);
283 DBG(1, "nat_entry.ino [0x%x]\n", ni.ino);
285 if (ni.blk_addr == 0x0)
291 if (le32_to_cpu(node_blk->footer.ino) == ni.ino &&
292 le32_to_cpu(node_blk->footer.nid) == ni.nid) {
294 dump_file(sbi, &ni, node_blk);
379 struct node_info ni, ino_ni;
414 get_node_info(sbi, nid, &ni);
424 DBG(1, "NAT.blkaddr [0x%x]\n", ni.blk_addr);
425 DBG(1, "NAT.ino [0x%x]\n", ni.ino);
427 get_node_info(sbi, ni.ino, &ino_ni);
430 if (ni.blk_addr == NULL_ADDR || ino_ni.blk_addr == NULL_ADDR) {
443 nid, ni.blk_addr);
445 ni.ino, ino_ni.blk_addr);
447 dump_data_offset(ni.blk_addr,
451 if (ni.ino == ni.nid) {
453 ni.ino, ino_ni.blk_addr);
457 nid, ni.blk_addr);
459 ni.ino, ino_ni.blk_addr);
461 dump_node_offset(ni.blk_addr);