Lines Matching refs:nat_block
808 struct f2fs_nat_block *nat_block; in get_nat_entry() local
822 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in get_nat_entry()
835 ret = dev_read_block(nat_block, block_addr); in get_nat_entry()
838 memcpy(raw_nat, &nat_block->entries[entry_off], sizeof(struct f2fs_nat_entry)); in get_nat_entry()
839 free(nat_block); in get_nat_entry()
993 struct f2fs_nat_block *nat_block; in build_nat_area_bitmap() local
1003 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in build_nat_area_bitmap()
1023 ret = dev_read_block(nat_block, block_addr); in build_nat_area_bitmap()
1033 ASSERT(nat_block->entries[i].block_addr != 0x0); in build_nat_area_bitmap()
1045 node_info_from_raw_nat(&ni, &nat_block->entries[i]); in build_nat_area_bitmap()
1060 free(nat_block); in build_nat_area_bitmap()