Home | History | Annotate | Download | only in btrfs

Lines Matching defs:map_item

23 	struct chunk_map_item *map_item;
54 map_item = malloc(sizeof(struct chunk_map_item));
55 if (!map_item)
58 map_item->logical = key->offset;
59 map_item->length = chunk->length;
60 map_item->physical = le64_to_cpu(chunk->stripe.offset);
61 rb_link_node(&map_item->node, prnt, new);
62 rb_insert_color(&map_item->node, &btrfs_info.chunks_root);
64 debug("%s: Mapping %llu to %llu\n", __func__, map_item->logical,
65 map_item->physical);