Lines Matching refs:logical
1165 u64 logical = cache->start; in btrfs_load_block_group_zone_info() local
1184 logical, length, fs_info->zone_size); in btrfs_load_block_group_zone_info()
1190 em = lookup_extent_mapping(em_tree, logical, length); in btrfs_load_block_group_zone_info()
1405 logical, last_alloc, cache->alloc_offset); in btrfs_load_block_group_zone_info()
1540 u64 *logical = NULL; in btrfs_rewrite_logical_zoned() local
1549 ordered->physical, &logical, &nr, in btrfs_rewrite_logical_zoned()
1555 if (orig_logical == *logical) in btrfs_rewrite_logical_zoned()
1558 ordered->disk_bytenr = *logical; in btrfs_rewrite_logical_zoned()
1564 em->block_start = *logical; in btrfs_rewrite_logical_zoned()
1569 if (*logical < orig_logical) in btrfs_rewrite_logical_zoned()
1570 sum->bytenr -= orig_logical - *logical; in btrfs_rewrite_logical_zoned()
1572 sum->bytenr += *logical - orig_logical; in btrfs_rewrite_logical_zoned()
1576 kfree(logical); in btrfs_rewrite_logical_zoned()
1635 static int read_zone_info(struct btrfs_fs_info *fs_info, u64 logical, in read_zone_info() argument
1644 ret = btrfs_map_sblock(fs_info, BTRFS_MAP_GET_READ_MIRRORS, logical, in read_zone_info()
1680 int btrfs_sync_zone_write_pointer(struct btrfs_device *tgt_dev, u64 logical, in btrfs_sync_zone_write_pointer() argument
1692 ret = read_zone_info(fs_info, logical, &zone); in btrfs_sync_zone_write_pointer()
1709 u64 logical, u64 length) in btrfs_zoned_get_device() argument
1715 em = btrfs_get_chunk_map(fs_info, logical, length); in btrfs_zoned_get_device()
1918 void btrfs_zone_finish_endio(struct btrfs_fs_info *fs_info, u64 logical, u64 length) in btrfs_zone_finish_endio() argument
1928 block_group = btrfs_lookup_block_group(fs_info, logical); in btrfs_zone_finish_endio()
1931 if (logical + length < block_group->start + block_group->zone_capacity) in btrfs_zone_finish_endio()