Lines Matching refs:logical

54 	u64			logical;  member
91 static int reada_add_block(struct reada_control *rc, u64 logical,
229 static struct reada_zone *reada_find_zone(struct btrfs_device *dev, u64 logical, in reada_find_zone() argument
243 logical >> fs_info->sectorsize_bits, 1); in reada_find_zone()
244 if (ret == 1 && logical >= zone->start && logical <= zone->end) { in reada_find_zone()
252 cache = btrfs_lookup_block_group(fs_info, logical); in reada_find_zone()
292 logical >> fs_info->sectorsize_bits, 1); in reada_find_zone()
293 if (ret == 1 && logical >= zone->start && logical <= zone->end) in reada_find_zone()
305 u64 logical, in reada_find_extent() argument
318 unsigned long index = logical >> fs_info->sectorsize_bits; in reada_find_extent()
335 re->logical = logical; in reada_find_extent()
347 ret = btrfs_map_block(fs_info, BTRFS_MAP_GET_READ_MIRRORS, logical, in reada_find_extent()
369 zone = reada_find_zone(dev, logical, bioc); in reada_find_extent()
500 unsigned long index = re->logical >> fs_info->sectorsize_bits; in reada_extent_put()
559 static int reada_add_block(struct reada_control *rc, u64 logical, in reada_add_block() argument
568 re = reada_find_extent(fs_info, logical, top, owner_root, level); in reada_add_block()
695 u64 logical; in reada_start_machine_dev() local
714 if (ret == 0 || re->logical > dev->reada_curr_zone->end) { in reada_start_machine_dev()
728 dev->reada_next = re->logical + fs_info->nodesize; in reada_start_machine_dev()
751 logical = re->logical; in reada_start_machine_dev()
754 ret = reada_tree_block_flagged(fs_info, logical, re->owner_root, in reada_start_machine_dev()
901 re->logical, fs_info->nodesize, in dump_devs()
914 index = (re->logical >> fs_info->sectorsize_bits) + 1; in dump_devs()
930 index = (re->logical >> fs_info->sectorsize_bits) + 1; in dump_devs()
934 re->logical, fs_info->nodesize, in dump_devs()
946 index = (re->logical >> fs_info->sectorsize_bits) + 1; in dump_devs()