Lines Matching refs:block_addr
285 pgoff_t block_addr; in shrink_nats() local
300 block_addr = (pgoff_t)(old_nat_blkaddr + in shrink_nats()
305 block_addr += sbi->blocks_per_seg; in shrink_nats()
307 ret = dev_read_block(nat_block, block_addr); in shrink_nats()
334 pgoff_t block_addr; in migrate_nat() local
343 block_addr = (pgoff_t)(old_nat_blkaddr + in migrate_nat()
349 block_addr += sbi->blocks_per_seg; in migrate_nat()
353 ret = dev_read_block(nat_block, block_addr); in migrate_nat()
356 block_addr = (pgoff_t)(new_nat_blkaddr + in migrate_nat()
361 ret = dev_write_block(nat_block, block_addr); in migrate_nat()
379 block_addr = (pgoff_t)(new_nat_blkaddr + in migrate_nat()
382 ret = dev_write_block(nat_block, block_addr); in migrate_nat()
384 DBG(3, "Write NAT: %lx\n", block_addr); in migrate_nat()