Home
last modified time | relevance | path

Searched refs:ofs_in_node (Results 1 – 10 of 10) sorted by relevance

/external/f2fs-tools/fsck/
Dnode.c44 unsigned int ofs_in_node = dn->ofs_in_node; in set_data_blkaddr() local
47 addr_array[ofs_in_node] = cpu_to_le32(dn->data_blkaddr); in set_data_blkaddr()
247 dn->ofs_in_node = offset[level]; in get_dnode_of_data()
248 dn->data_blkaddr = datablock_addr(dn->node_blk, dn->ofs_in_node); in get_dnode_of_data()
Dsegment.c56 set_summary(&sum, dn->nid, dn->ofs_in_node, ni.version); in new_data_block()
112 while (dn.ofs_in_node < end_offset && len) { in f2fs_write_block()
115 blkaddr = datablock_addr(dn.node_blk, dn.ofs_in_node); in f2fs_write_block()
139 dn.ofs_in_node++; in f2fs_write_block()
Df2fs.h158 unsigned int ofs_in_node; member
429 unsigned int ofs_in_node, unsigned char version) in set_summary() argument
432 sum->ofs_in_node = cpu_to_le16(ofs_in_node); in set_summary()
Ddump.c451 static void dump_data_offset(u32 blk_addr, int ofs_in_node) in dump_data_offset() argument
481 bidx += ofs_in_node; in dump_data_offset()
555 DBG(1, "SUM.ofs_in_node [0x%x]\n", sum_entry.ofs_in_node); in dump_info_from_blkaddr()
580 le16_to_cpu(sum_entry.ofs_in_node)); in dump_info_from_blkaddr()
Ddefrag.c52 le16_to_cpu(sum.ofs_in_node), to); in migrate_block()
Dfsck.c203 u16 ofs_in_node = le16_to_cpu(sum->ofs_in_node); in is_valid_summary() local
230 target_blk_addr = node_blk->i.i_addr[ofs_in_node]; in is_valid_summary()
232 target_blk_addr = node_blk->dn.addr[ofs_in_node]; in is_valid_summary()
279 le16_to_cpu(sum_entry->ofs_in_node) != idx_in_node) { in is_valid_ssa_data_blk()
286 le16_to_cpu(sum_entry->ofs_in_node)); in is_valid_ssa_data_blk()
304 sum_entry->ofs_in_node = cpu_to_le16(idx_in_node); in is_valid_ssa_data_blk()
Dmount.c1342 u16 ofs_in_node, block_t newaddr) in update_data_blkaddr() argument
1360 oldaddr = le32_to_cpu(node_blk->i.i_addr[ofs_in_node]); in update_data_blkaddr()
1361 node_blk->i.i_addr[ofs_in_node] = cpu_to_le32(newaddr); in update_data_blkaddr()
1363 oldaddr = le32_to_cpu(node_blk->dn.addr[ofs_in_node]); in update_data_blkaddr()
1364 node_blk->dn.addr[ofs_in_node] = cpu_to_le32(newaddr); in update_data_blkaddr()
Dresize.c166 le16_to_cpu(sum.ofs_in_node), to); in migrate_main()
/external/f2fs-tools/mkfs/
Df2fs_format.c691 sum_entry->ofs_in_node = 0; in f2fs_write_check_point_pack()
708 sum->entries[0].ofs_in_node = 0; in f2fs_write_check_point_pack()
/external/f2fs-tools/include/
Df2fs_fs.h778 __le16 ofs_in_node; /* block index in parent node */ member