Home
last modified time | relevance | path

Searched refs:inode_blk (Results 1 – 5 of 5) sorted by relevance

/third_party/f2fs-tools/fsck/
Dnode.h27 struct f2fs_node *node_blk, struct f2fs_node *inode_blk) in ADDRS_PER_PAGE() argument
35 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 …]
Dnode.c98 if (dn->node_blk != dn->inode_blk) in set_data_blkaddr()
121 f2fs_inode = dn->inode_blk; in new_node_block()
255 level = get_node_path(dn->inode_blk, index, offset, noffset); in get_dnode_of_data()
258 parent = dn->inode_blk; in get_dnode_of_data()
262 dn->node_blk = dn->inode_blk; in get_dnode_of_data()
Dsegment.c201 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()
510 index_node = (dn.node_blk == dn.inode_blk) ? in update_largest_extent()
513 dn.node_blk, dn.inode_blk); in update_largest_extent()
Ddir.c140 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()
Df2fs.h233 struct f2fs_node *inode_blk; /* inode page */ member