• Home
  • Raw
  • Download

Lines Matching refs:sit_blk

2146 			unsigned int segno, struct f2fs_sit_block *sit_blk)  in get_current_sit_page()  argument
2150 ASSERT(dev_read_block(sit_blk, blk_addr) >= 0); in get_current_sit_page()
2154 unsigned int segno, struct f2fs_sit_block *sit_blk) in rewrite_current_sit_page() argument
2158 ASSERT(dev_write_block(sit_blk, blk_addr) >= 0); in rewrite_current_sit_page()
2445 struct f2fs_sit_block *sit_blk; in build_sit_entries() local
2452 sit_blk = calloc(BLOCK_SZ, 1); in build_sit_entries()
2453 if (!sit_blk) { in build_sit_entries()
2468 get_current_sit_page(sbi, segno, sit_blk); in build_sit_entries()
2469 sit = sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in build_sit_entries()
2478 free(sit_blk); in build_sit_entries()
2602 struct f2fs_sit_block *sit_blk; in rewrite_sit_area_bitmap() local
2607 sit_blk = calloc(BLOCK_SZ, 1); in rewrite_sit_area_bitmap()
2608 ASSERT(sit_blk); in rewrite_sit_area_bitmap()
2621 get_current_sit_page(sbi, segno, sit_blk); in rewrite_sit_area_bitmap()
2622 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in rewrite_sit_area_bitmap()
2640 rewrite_current_sit_page(sbi, segno, sit_blk); in rewrite_sit_area_bitmap()
2645 free(sit_blk); in rewrite_sit_area_bitmap()
2653 struct f2fs_sit_block *sit_blk; in flush_sit_journal_entries() local
2657 sit_blk = calloc(BLOCK_SZ, 1); in flush_sit_journal_entries()
2658 ASSERT(sit_blk); in flush_sit_journal_entries()
2666 get_current_sit_page(sbi, segno, sit_blk); in flush_sit_journal_entries()
2667 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in flush_sit_journal_entries()
2674 rewrite_current_sit_page(sbi, segno, sit_blk); in flush_sit_journal_entries()
2677 free(sit_blk); in flush_sit_journal_entries()
2731 struct f2fs_sit_block *sit_blk; in flush_sit_entries() local
2734 sit_blk = calloc(BLOCK_SZ, 1); in flush_sit_entries()
2735 ASSERT(sit_blk); in flush_sit_entries()
2746 get_current_sit_page(sbi, segno, sit_blk); in flush_sit_entries()
2747 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in flush_sit_entries()
2751 rewrite_current_sit_page(sbi, segno, sit_blk); in flush_sit_entries()
2754 free(sit_blk); in flush_sit_entries()