Searched refs:sit_blk (Results 1 – 3 of 3) sorted by relevance
/external/f2fs-tools/fsck/ |
D | resize.c | 397 struct f2fs_sit_block *sit_blk = calloc(BLOCK_SZ, 1); in migrate_sit() local 404 ASSERT(sit_blk); in migrate_sit() 408 ret = dev_write_block(sit_blk, get_newsb(sit_blkaddr) + index); in migrate_sit() 426 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit() 431 memset(sit_blk, 0, BLOCK_SZ); in migrate_sit() 434 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno - offset)]; in migrate_sit() 440 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit() 444 free(sit_blk); in migrate_sit()
|
D | mount.c | 2016 unsigned int segno, struct f2fs_sit_block *sit_blk) in get_current_sit_page() argument 2020 ASSERT(dev_read_block(sit_blk, blk_addr) >= 0); in get_current_sit_page() 2024 unsigned int segno, struct f2fs_sit_block *sit_blk) in rewrite_current_sit_page() argument 2028 ASSERT(dev_write_block(sit_blk, blk_addr) >= 0); in rewrite_current_sit_page() 2315 struct f2fs_sit_block *sit_blk; in build_sit_entries() local 2322 sit_blk = calloc(BLOCK_SZ, 1); in build_sit_entries() 2323 if (!sit_blk) { in build_sit_entries() 2338 get_current_sit_page(sbi, segno, sit_blk); in build_sit_entries() 2339 sit = sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in build_sit_entries() 2348 free(sit_blk); in build_sit_entries() [all …]
|
D | fsck.c | 2114 struct f2fs_sit_block *sit_blk; in flush_curseg_sit_entries() local 2117 sit_blk = calloc(BLOCK_SZ, 1); in flush_curseg_sit_entries() 2118 ASSERT(sit_blk); in flush_curseg_sit_entries() 2128 get_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries() 2129 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries() 2132 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries() 2135 free(sit_blk); in flush_curseg_sit_entries()
|