• Home
  • Raw
  • Download

Lines Matching refs:sum

2379 					struct f2fs_summary *sum)  in __add_sum_entry()  argument
2385 memcpy(addr, sum, sizeof(struct f2fs_summary)); in __add_sum_entry()
3385 struct f2fs_summary *sum, int type, in f2fs_allocate_data_block() argument
3416 __add_sum_entry(sbi, type, sum); in f2fs_allocate_data_block()
3504 static void do_write_page(struct f2fs_summary *sum, struct f2fs_io_info *fio) in do_write_page() argument
3513 &fio->new_blkaddr, sum, type, fio); in do_write_page()
3562 struct f2fs_summary sum; in f2fs_do_write_node_page() local
3564 set_summary(&sum, nid, 0, 0); in f2fs_do_write_node_page()
3565 do_write_page(&sum, fio); in f2fs_do_write_node_page()
3574 struct f2fs_summary sum; in f2fs_outplace_write_data() local
3579 set_summary(&sum, dn->nid, dn->ofs_in_node, fio->version); in f2fs_outplace_write_data()
3580 do_write_page(&sum, fio); in f2fs_outplace_write_data()
3650 void f2fs_do_replace_block(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, in f2fs_do_replace_block() argument
3704 __add_sum_entry(sbi, type, sum); in f2fs_do_replace_block()
3744 struct f2fs_summary sum; in f2fs_replace_block() local
3746 set_summary(&sum, dn->nid, dn->ofs_in_node, version); in f2fs_replace_block()
3748 f2fs_do_replace_block(sbi, &sum, old_addr, new_addr, in f2fs_replace_block()
3874 struct f2fs_summary_block *sum; in read_normal_summaries() local
3906 sum = (struct f2fs_summary_block *)page_address(new); in read_normal_summaries()
3910 struct f2fs_summary *ns = &sum->entries[0]; in read_normal_summaries()
3918 err = f2fs_restore_node_summary(sbi, segno, sum); in read_normal_summaries()
3930 memcpy(curseg->journal, &sum->journal, SUM_JOURNAL_SIZE); in read_normal_summaries()
3933 memcpy(curseg->sum_blk->entries, sum->entries, SUM_ENTRY_SIZE); in read_normal_summaries()
3934 memcpy(&curseg->sum_blk->footer, &sum->footer, SUM_FOOTER_SIZE); in read_normal_summaries()