Lines Matching refs:node_blk
43 struct f2fs_node *node_blk = dn->node_blk; in set_data_blkaddr() local
46 addr_array = blkaddr_in_node(node_blk); in set_data_blkaddr()
48 if (dn->node_blk != dn->inode_blk) in set_data_blkaddr()
62 struct f2fs_node *node_blk; in new_node_block() local
71 node_blk = calloc(BLOCK_SZ, 1); in new_node_block()
72 ASSERT(node_blk); in new_node_block()
74 node_blk->footer.nid = cpu_to_le32(dn->nid); in new_node_block()
75 node_blk->footer.ino = f2fs_inode->footer.ino; in new_node_block()
76 node_blk->footer.flag = cpu_to_le32(ofs << OFFSET_BIT_SHIFT); in new_node_block()
77 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
80 if (IS_DNODE(node_blk)) { in new_node_block()
95 dn->node_blk = node_blk; in new_node_block()
201 dn->node_blk = dn->inode_blk; in get_dnode_of_data()
229 dn->node_blk = calloc(BLOCK_SZ, 1); in get_dnode_of_data()
230 ASSERT(dn->node_blk); in get_dnode_of_data()
232 ret = dev_read_block(dn->node_blk, ni.blk_addr); in get_dnode_of_data()
247 parent = dn->node_blk; in get_dnode_of_data()
254 dn->data_blkaddr = datablock_addr(dn->node_blk, dn->ofs_in_node); in get_dnode_of_data()