Searched refs:sit_blk (Results 1 – 3 of 3) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | resize.c | 396 struct f2fs_sit_block *sit_blk = calloc(BLOCK_SZ, 1); in migrate_sit() local 403 ASSERT(sit_blk); in migrate_sit() 407 ret = dev_write_block(sit_blk, get_newsb(sit_blkaddr) + index); in migrate_sit() 425 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit() 430 memset(sit_blk, 0, BLOCK_SZ); in migrate_sit() 433 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno - offset)]; in migrate_sit() 439 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit() 443 free(sit_blk); in migrate_sit()
|
D | mount.c | 1997 unsigned int segno, struct f2fs_sit_block *sit_blk) in get_current_sit_page() argument 2001 ASSERT(dev_read_block(sit_blk, blk_addr) >= 0); in get_current_sit_page() 2005 unsigned int segno, struct f2fs_sit_block *sit_blk) in rewrite_current_sit_page() argument 2009 ASSERT(dev_write_block(sit_blk, blk_addr) >= 0); in rewrite_current_sit_page() 2296 struct f2fs_sit_block *sit_blk; in build_sit_entries() local 2303 sit_blk = calloc(BLOCK_SZ, 1); in build_sit_entries() 2304 if (!sit_blk) { in build_sit_entries() 2319 get_current_sit_page(sbi, segno, sit_blk); in build_sit_entries() 2320 sit = sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in build_sit_entries() 2329 free(sit_blk); in build_sit_entries() [all …]
|
D | fsck.c | 2092 struct f2fs_sit_block *sit_blk; in flush_curseg_sit_entries() local 2095 sit_blk = calloc(BLOCK_SZ, 1); in flush_curseg_sit_entries() 2096 ASSERT(sit_blk); in flush_curseg_sit_entries() 2106 get_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries() 2107 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries() 2110 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries() 2113 free(sit_blk); in flush_curseg_sit_entries()
|