Lines Matching defs:mapping
445 struct rbd_mapping mapping;
461 RBD_DEV_FLAG_REMOVING, /* this mapping is being removed */
1215 rbd_dev->mapping.size = size;
1221 rbd_dev->mapping.size = 0;
1841 rbd_dev->mapping.size);
4741 mapping_size = rbd_dev->mapping.size;
4803 rbd_warn(rbd_dev, "%s on read-only mapping",
4939 size = (sector_t)rbd_dev->mapping.size / SECTOR_SIZE;
5029 (unsigned long long)rbd_dev->mapping.size);
5398 * Create a mapping rbd_dev.
6394 * mapping) request. These arrive via a write to /sys/bus/rbd/add,
6428 * An optional snapshot id. If provided, the mapping will
6812 /* Set up the blkdev mapping. */
6818 set_capacity(rbd_dev->disk, rbd_dev->mapping.size / SECTOR_SIZE);
6999 rbd_dev->mapping.size = header->image_size;
7134 /* if we are mapping a snapshot it will be a read-only mapping */