Searched refs:ofs_in_node (Results 1 – 10 of 10) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | node.c | 94 unsigned int ofs_in_node = dn->ofs_in_node; in set_data_blkaddr() local 97 addr_array[ofs_in_node] = cpu_to_le32(dn->data_blkaddr); in set_data_blkaddr() 312 dn->ofs_in_node = offset[level]; in get_dnode_of_data() 313 dn->data_blkaddr = datablock_addr(dn->node_blk, dn->ofs_in_node); in get_dnode_of_data()
|
D | segment.c | 110 unsigned int blkaddr = datablock_addr(dn->node_blk, dn->ofs_in_node); in new_data_block() 121 set_summary(&sum, dn->nid, dn->ofs_in_node, ni.version); in new_data_block() 208 blkaddr = datablock_addr(dn.node_blk, dn.ofs_in_node); in f2fs_read() 231 dn.ofs_in_node++; in f2fs_read() 302 dn.ofs_in_node; in f2fs_write_ex() 317 blkaddr = datablock_addr(dn.node_blk, dn.ofs_in_node); in f2fs_write_ex() 347 dn.ofs_in_node++; in f2fs_write_ex() 517 blkaddr = datablock_addr(dn.node_blk, dn.ofs_in_node); in update_largest_extent() 538 dn.ofs_in_node += count; in update_largest_extent()
|
D | f2fs.h | 236 unsigned int ofs_in_node; member 582 unsigned int ofs_in_node, unsigned char version) in set_summary() argument 585 sum->ofs_in_node = cpu_to_le16(ofs_in_node); in set_summary()
|
D | dump.c | 630 static void dump_data_offset(u32 blk_addr, int ofs_in_node) in dump_data_offset() argument 646 bidx += ofs_in_node; in dump_data_offset() 813 DBG(1, "SUM.ofs_in_node [0x%x]\n", sum_entry.ofs_in_node); in dump_info_from_blkaddr() 838 le16_to_cpu(sum_entry.ofs_in_node)); in dump_info_from_blkaddr()
|
D | defrag.c | 52 le16_to_cpu(sum.ofs_in_node), to); in migrate_block()
|
D | fsck.c | 224 u16 ofs_in_node = le16_to_cpu(sum->ofs_in_node); in is_valid_summary() local 253 if (ofs + ofs_in_node >= DEF_ADDRS_PER_INODE) in is_valid_summary() 255 target_blk_addr = node_blk->i.i_addr[ofs + ofs_in_node]; in is_valid_summary() 257 if (ofs_in_node >= DEF_ADDRS_PER_BLOCK) in is_valid_summary() 259 target_blk_addr = node_blk->dn.addr[ofs_in_node]; in is_valid_summary() 311 le16_to_cpu(sum_entry->ofs_in_node) != idx_in_node) { in is_valid_ssa_data_blk() 318 le16_to_cpu(sum_entry->ofs_in_node)); in is_valid_ssa_data_blk() 336 sum_entry->ofs_in_node = cpu_to_le16(idx_in_node); in is_valid_ssa_data_blk()
|
D | mount.c | 2288 u16 ofs_in_node, block_t newaddr) in update_data_blkaddr() argument 2308 oldaddr = le32_to_cpu(node_blk->i.i_addr[ofs + ofs_in_node]); in update_data_blkaddr() 2309 node_blk->i.i_addr[ofs + ofs_in_node] = cpu_to_le32(newaddr); in update_data_blkaddr() 2313 oldaddr = le32_to_cpu(node_blk->dn.addr[ofs_in_node]); in update_data_blkaddr() 2314 node_blk->dn.addr[ofs_in_node] = cpu_to_le32(newaddr); in update_data_blkaddr() 3441 unsigned int ofs_in_node = 0; in do_record_fsync_data() local 3478 for (; start < end; start++, ofs_in_node++) { in do_record_fsync_data() 3479 blkaddr = datablock_addr(node_blk, ofs_in_node); in do_record_fsync_data()
|
D | resize.c | 197 le16_to_cpu(sum.ofs_in_node), to); in migrate_main()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 961 sum_entry->ofs_in_node = 0; in f2fs_write_check_point_pack() 972 (sum_entry + off + j)->ofs_in_node = cpu_to_le16(j); in f2fs_write_check_point_pack() 979 (sum_entry + off)->ofs_in_node = 0; in f2fs_write_check_point_pack() 998 sum->entries[0].ofs_in_node = 0; in f2fs_write_check_point_pack() 1003 sum->entries[1 + i].ofs_in_node = 0; in f2fs_write_check_point_pack() 1009 sum->entries[i].ofs_in_node = 0; in f2fs_write_check_point_pack()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 1183 __le16 ofs_in_node; /* block index in parent node */ member
|