Lines Matching full:logical
13 u64 logical; member
43 if (key->offset < this->logical) { in add_chunk_mapping()
45 } else if (key->offset > this->logical) { in add_chunk_mapping()
48 debug("%s: Logical address %llu already in map!\n", in add_chunk_mapping()
58 map_item->logical = key->offset; in add_chunk_mapping()
64 debug("%s: Mapping %llu to %llu\n", __func__, map_item->logical, in add_chunk_mapping()
70 u64 btrfs_map_logical_to_physical(u64 logical) in btrfs_map_logical_to_physical() argument
79 if (item->logical > logical) in btrfs_map_logical_to_physical()
81 else if (logical >= item->logical + item->length) in btrfs_map_logical_to_physical()
84 return item->physical + logical - item->logical; in btrfs_map_logical_to_physical()
87 printf("%s: Cannot map logical address %llu to physical\n", __func__, in btrfs_map_logical_to_physical()
88 logical); in btrfs_map_logical_to_physical()