Searched refs:sit_blk (Results 1 – 3 of 3) sorted by relevance
/external/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 | 1926 unsigned int segno, struct f2fs_sit_block *sit_blk) in get_current_sit_page() argument 1930 ASSERT(dev_read_block(sit_blk, blk_addr) >= 0); in get_current_sit_page() 1934 unsigned int segno, struct f2fs_sit_block *sit_blk) in rewrite_current_sit_page() argument 1938 ASSERT(dev_write_block(sit_blk, blk_addr) >= 0); in rewrite_current_sit_page() 2225 struct f2fs_sit_block *sit_blk; in build_sit_entries() local 2232 sit_blk = calloc(BLOCK_SZ, 1); in build_sit_entries() 2233 if (!sit_blk) { in build_sit_entries() 2248 get_current_sit_page(sbi, segno, sit_blk); in build_sit_entries() 2249 sit = sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno)]; in build_sit_entries() 2258 free(sit_blk); in build_sit_entries() [all …]
|
D | fsck.c | 2072 struct f2fs_sit_block *sit_blk; in flush_curseg_sit_entries() local 2075 sit_blk = calloc(BLOCK_SZ, 1); in flush_curseg_sit_entries() 2076 ASSERT(sit_blk); in flush_curseg_sit_entries() 2086 get_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries() 2087 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries() 2090 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries() 2093 free(sit_blk); in flush_curseg_sit_entries()
|