Lines Matching refs:sum_entry
149 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()
270 struct f2fs_summary *sum_entry; in is_valid_ssa_data_blk() local
303 sum_entry = &(sum_blk->entries[offset]); in is_valid_ssa_data_blk()
305 if (le32_to_cpu(sum_entry->nid) != parent_nid || in is_valid_ssa_data_blk()
306 sum_entry->version != version || in is_valid_ssa_data_blk()
307 le16_to_cpu(sum_entry->ofs_in_node) != idx_in_node) { in is_valid_ssa_data_blk()
310 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_data_blk()
312 sum_entry->version); in is_valid_ssa_data_blk()
314 le16_to_cpu(sum_entry->ofs_in_node)); in is_valid_ssa_data_blk()
324 } else if (is_valid_summary(sbi, sum_entry, blk_addr)) { in is_valid_ssa_data_blk()
330 sum_entry->nid = cpu_to_le32(parent_nid); in is_valid_ssa_data_blk()
331 sum_entry->version = version; in is_valid_ssa_data_blk()
332 sum_entry->ofs_in_node = cpu_to_le16(idx_in_node); in is_valid_ssa_data_blk()