Searched refs:inode_blk (Results 1 – 5 of 5) sorted by relevance
27 struct f2fs_node *node_blk, struct f2fs_node *inode_blk) in ADDRS_PER_PAGE() argument35 if (!inode_blk) { in ADDRS_PER_PAGE()38 inode_blk = calloc(BLOCK_SZ, 2); in ADDRS_PER_PAGE()39 ASSERT(inode_blk); in ADDRS_PER_PAGE()42 ASSERT(dev_read_block(inode_blk, ni.blk_addr) >= 0); in ADDRS_PER_PAGE()43 nblocks = ADDRS_PER_BLOCK(&inode_blk->i); in ADDRS_PER_PAGE()44 free(inode_blk); in ADDRS_PER_PAGE()46 nblocks = ADDRS_PER_BLOCK(&inode_blk->i); in ADDRS_PER_PAGE()97 dn->inode_blk = iblk; in set_new_dnode()106 u64 blocks = le64_to_cpu(dn->inode_blk->i.i_blocks); in inc_inode_blocks()[all …]
51 if (dn->node_blk != dn->inode_blk) in set_data_blkaddr()74 f2fs_inode = dn->inode_blk; in new_node_block()208 level = get_node_path(dn->inode_blk, index, offset, noffset); in get_dnode_of_data()211 parent = dn->inode_blk; in get_dnode_of_data()215 dn->node_blk = dn->inode_blk; in get_dnode_of_data()
201 index_node = (dn.node_blk == dn.inode_blk) ? in f2fs_read()204 dn.node_blk, dn.inode_blk); in f2fs_read()298 index_node = (dn.node_blk == dn.inode_blk) ? in f2fs_write_ex()301 dn.node_blk, dn.inode_blk) - in f2fs_write_ex()357 ASSERT(inode == dn.inode_blk); in f2fs_write_ex()
140 if (dn.node_blk && dn.node_blk != dn.inode_blk) in find_in_level()160 if (dn.node_blk && dn.node_blk != dn.inode_blk) in find_in_level()269 if (dn.node_blk && dn.node_blk != dn.inode_blk) in f2fs_add_link()325 ASSERT(parent == dn.inode_blk); in f2fs_add_link()326 ret = write_inode(dn.inode_blk, p_blkaddr); in f2fs_add_link()330 if (dn.node_blk != dn.inode_blk) in f2fs_add_link()
229 struct f2fs_node *inode_blk; /* inode page */ member