Lines Matching refs:block_addr
1429 pgoff_t block_addr; in current_nat_addr() local
1435 block_addr = (pgoff_t)(nm_i->nat_blkaddr + in current_nat_addr()
1442 block_addr += sbi->blocks_per_seg; in current_nat_addr()
1447 return block_addr; in current_nat_addr()
1482 addr = le32_to_cpu(nat_in_journal(journal, i).block_addr); in f2fs_early_init_nid_bitmap()
1531 if (nat_block->entries[nid % NAT_ENTRY_PER_BLOCK].block_addr) in f2fs_late_init_nid_bitmap()
1605 nat_block->entries[j].block_addr != NULL_ADDR) in write_nat_bits()
2266 pgoff_t block_addr; in get_nat_entry() local
2277 block_addr = current_nat_addr(sbi, nid, NULL); in get_nat_entry()
2279 ret = dev_read_block(nat_block, block_addr); in get_nat_entry()
2343 pgoff_t block_addr; in update_nat_blkaddr() local
2351 block_addr = current_nat_addr(sbi, nid, NULL); in update_nat_blkaddr()
2353 ret = dev_read_block(nat_block, block_addr); in update_nat_blkaddr()
2358 nat_block->entries[entry_off].block_addr = cpu_to_le32(newaddr); in update_nat_blkaddr()
2362 ret = dev_write_block(nat_block, block_addr); in update_nat_blkaddr()
2630 pgoff_t block_addr; in flush_nat_journal_entries() local
2648 block_addr = current_nat_addr(sbi, nid, NULL); in flush_nat_journal_entries()
2650 ret = dev_read_block(nat_block, block_addr); in flush_nat_journal_entries()
2656 ret = dev_write_block(nat_block, block_addr); in flush_nat_journal_entries()
2968 pgoff_t block_addr; in nullify_nat_entry() local
2986 block_addr = current_nat_addr(sbi, nid, NULL); in nullify_nat_entry()
2988 ret = dev_read_block(nat_block, block_addr); in nullify_nat_entry()
2993 le32_to_cpu(nat_block->entries[entry_off].block_addr)); in nullify_nat_entry()
2994 nat_block->entries[entry_off].block_addr = cpu_to_le32(0x1); in nullify_nat_entry()
3001 ret = dev_write_block(nat_block, block_addr); in nullify_nat_entry()
3159 pgoff_t block_addr; in build_nat_area_bitmap() local
3183 block_addr = (pgoff_t)(nm_i->nat_blkaddr + in build_nat_area_bitmap()
3188 block_addr += sbi->blocks_per_seg; in build_nat_area_bitmap()
3190 ret = dev_read_block(nat_block, block_addr); in build_nat_area_bitmap()
3203 if (le32_to_cpu(nat_block->entries[i].block_addr) != 0x1) { in build_nat_area_bitmap()
3205 nid + i, le32_to_cpu(nat_block->entries[i].block_addr)); in build_nat_area_bitmap()
3252 if (fsck->entries[nid].block_addr != 0x0) { in build_nat_area_bitmap()