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()73 f2fs_inode = dn->inode_blk; in new_node_block()202 level = get_node_path(dn->inode_blk, index, offset, noffset); in get_dnode_of_data()205 parent = dn->inode_blk; in get_dnode_of_data()209 dn->node_blk = dn->inode_blk; in get_dnode_of_data()
171 index_node = (dn.node_blk == dn.inode_blk) ? in f2fs_read()174 dn.node_blk, dn.inode_blk); in f2fs_read()250 index_node = (dn.node_blk == dn.inode_blk) ? in f2fs_write()253 dn.node_blk, dn.inode_blk); in f2fs_write()295 ASSERT(inode == dn.inode_blk); in f2fs_write()
139 if (dn.node_blk && dn.node_blk != dn.inode_blk) in find_in_level()159 if (dn.node_blk && dn.node_blk != dn.inode_blk) in find_in_level()268 if (dn.node_blk && dn.node_blk != dn.inode_blk) in f2fs_add_link()324 ASSERT(parent == dn.inode_blk); in f2fs_add_link()325 ret = write_inode(dn.inode_blk, p_blkaddr); in f2fs_add_link()329 if (dn.node_blk != dn.inode_blk) in f2fs_add_link()
228 struct f2fs_node *inode_blk; /* inode page */ member