• Home
  • Raw
  • Download

Lines Matching refs:sum

3316 		struct f2fs_summary *sum, int type,  in f2fs_allocate_data_block()  argument
3343 curseg->sum_blk->entries[curseg->next_blkoff] = *sum; in f2fs_allocate_data_block()
3452 static void do_write_page(struct f2fs_summary *sum, struct f2fs_io_info *fio) in do_write_page() argument
3461 &fio->new_blkaddr, sum, type, fio); in do_write_page()
3509 struct f2fs_summary sum; in f2fs_do_write_node_page() local
3511 set_summary(&sum, nid, 0, 0); in f2fs_do_write_node_page()
3512 do_write_page(&sum, fio); in f2fs_do_write_node_page()
3521 struct f2fs_summary sum; in f2fs_outplace_write_data() local
3526 set_summary(&sum, dn->nid, dn->ofs_in_node, fio->version); in f2fs_outplace_write_data()
3527 do_write_page(&sum, fio); in f2fs_outplace_write_data()
3600 void f2fs_do_replace_block(struct f2fs_sb_info *sbi, struct f2fs_summary *sum, in f2fs_do_replace_block() argument
3654 curseg->sum_blk->entries[curseg->next_blkoff] = *sum; in f2fs_do_replace_block()
3694 struct f2fs_summary sum; in f2fs_replace_block() local
3696 set_summary(&sum, dn->nid, dn->ofs_in_node, version); in f2fs_replace_block()
3698 f2fs_do_replace_block(sbi, &sum, old_addr, new_addr, in f2fs_replace_block()
3824 struct f2fs_summary_block *sum; in read_normal_summaries() local
3856 sum = (struct f2fs_summary_block *)page_address(new); in read_normal_summaries()
3860 struct f2fs_summary *ns = &sum->entries[0]; in read_normal_summaries()
3868 err = f2fs_restore_node_summary(sbi, segno, sum); in read_normal_summaries()
3880 memcpy(curseg->journal, &sum->journal, SUM_JOURNAL_SIZE); in read_normal_summaries()
3883 memcpy(curseg->sum_blk->entries, sum->entries, SUM_ENTRY_SIZE); in read_normal_summaries()
3884 memcpy(&curseg->sum_blk->footer, &sum->footer, SUM_FOOTER_SIZE); in read_normal_summaries()