Searched refs:sum_entry (Results 1 – 4 of 4) sorted by relevance
/external/f2fs-tools/fsck/ |
D | dump.c | 378 struct f2fs_summary sum_entry; in dump_info_from_blkaddr() local 411 type = get_sum_entry(sbi, blk_addr, &sum_entry); in dump_info_from_blkaddr() 412 nid = le32_to_cpu(sum_entry.nid); in dump_info_from_blkaddr() 422 DBG(1, "SUM.version [%d]\n", sum_entry.version); in dump_info_from_blkaddr() 423 DBG(1, "SUM.ofs_in_node [0x%x]\n", sum_entry.ofs_in_node); in dump_info_from_blkaddr() 448 le16_to_cpu(sum_entry.ofs_in_node)); in dump_info_from_blkaddr()
|
D | fsck.c | 131 struct f2fs_summary sum_entry; in is_valid_ssa_node_blk() local 133 ret = get_sum_entry(sbi, blk_addr, &sum_entry); in is_valid_ssa_node_blk() 140 if (le32_to_cpu(sum_entry.nid) != nid) { in is_valid_ssa_node_blk() 150 le32_to_cpu(sum_entry.nid)); in is_valid_ssa_node_blk() 162 struct f2fs_summary sum_entry; in is_valid_ssa_data_blk() local 164 ret = get_sum_entry(sbi, blk_addr, &sum_entry); in is_valid_ssa_data_blk() 171 if (le32_to_cpu(sum_entry.nid) != parent_nid || in is_valid_ssa_data_blk() 172 sum_entry.version != version || in is_valid_ssa_data_blk() 173 le16_to_cpu(sum_entry.ofs_in_node) != idx_in_node) { in is_valid_ssa_data_blk() 176 le32_to_cpu(sum_entry.nid)); in is_valid_ssa_data_blk() [all …]
|
D | mount.c | 623 struct f2fs_summary *sum_entry; in restore_node_summary() local 633 sum_entry = &sum_blk->entries[0]; in restore_node_summary() 635 for (i = 0; i < sbi->blocks_per_seg; i++, sum_entry++) { in restore_node_summary() 638 sum_entry->nid = node_blk->footer.nid; in restore_node_summary() 872 struct f2fs_summary *sum_entry) in get_sum_entry() argument 884 memcpy(sum_entry, &(sum_blk->entries[offset]), in get_sum_entry()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 447 struct f2fs_summary *sum_entry; in f2fs_write_check_point_pack() local 593 sum_entry = (struct f2fs_summary *)sum_compact_p; in f2fs_write_check_point_pack() 594 sum_entry->nid = sb.root_ino; in f2fs_write_check_point_pack() 595 sum_entry->ofs_in_node = 0; in f2fs_write_check_point_pack()
|