Home
last modified time | relevance | path

Searched refs:sum_entry (Results 1 – 4 of 4) sorted by relevance

/third_party/f2fs-tools/fsck/
Ddump.c795 struct f2fs_summary sum_entry; in dump_info_from_blkaddr() local
832 type = get_sum_entry(sbi, blk_addr, &sum_entry); in dump_info_from_blkaddr()
833 nid = le32_to_cpu(sum_entry.nid); in dump_info_from_blkaddr()
845 DBG(1, "SUM.version [%d]\n", sum_entry.version); in dump_info_from_blkaddr()
846 DBG(1, "SUM.ofs_in_node [0x%x]\n", sum_entry.ofs_in_node); in dump_info_from_blkaddr()
871 le16_to_cpu(sum_entry.ofs_in_node)); in dump_info_from_blkaddr()
Dfsck.c149 struct f2fs_summary *sum_entry; in is_valid_ssa_node_blk() local
182 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_node_blk()
184 if (le32_to_cpu(sum_entry->nid) != nid) { in is_valid_ssa_node_blk()
195 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_node_blk()
202 sum_entry->nid = cpu_to_le32(nid); in is_valid_ssa_node_blk()
274 struct f2fs_summary *sum_entry; in is_valid_ssa_data_blk() local
307 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_data_blk()
309 if (le32_to_cpu(sum_entry->nid) != parent_nid || in is_valid_ssa_data_blk()
310 sum_entry->version != version || in is_valid_ssa_data_blk()
311 le16_to_cpu(sum_entry->ofs_in_node) != idx_in_node) { in is_valid_ssa_data_blk()
[all …]
Dmount.c1968 struct f2fs_summary *sum_entry; in restore_node_summary() local
1978 sum_entry = &sum_blk->entries[0]; in restore_node_summary()
1980 for (i = 0; i < sbi->blocks_per_seg; i++, sum_entry++) { in restore_node_summary()
1983 sum_entry->nid = node_blk->footer.nid; in restore_node_summary()
2301 struct f2fs_summary *sum_entry) in get_sum_entry() argument
2311 memcpy(sum_entry, &(sum_blk->entries[offset]), in get_sum_entry()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c703 struct f2fs_summary *sum_entry; in f2fs_write_check_point_pack() local
967 sum_entry = (struct f2fs_summary *)sum_compact_p; in f2fs_write_check_point_pack()
968 sum_entry->nid = sb->root_ino; in f2fs_write_check_point_pack()
969 sum_entry->ofs_in_node = 0; in f2fs_write_check_point_pack()
979 (sum_entry + off + j)->nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
980 (sum_entry + off + j)->ofs_in_node = cpu_to_le16(j); in f2fs_write_check_point_pack()
986 (sum_entry + off)->nid = cpu_to_le32(c.lpf_ino); in f2fs_write_check_point_pack()
987 (sum_entry + off)->ofs_in_node = 0; in f2fs_write_check_point_pack()