Lines Matching defs:mapping
445 struct rbd_mapping mapping;
461 RBD_DEV_FLAG_REMOVING, /* this mapping is being removed */
1267 rbd_dev->mapping.size = size;
1273 rbd_dev->mapping.size = 0;
1904 rbd_dev->mapping.size);
4797 mapping_size = rbd_dev->mapping.size;
4859 rbd_warn(rbd_dev, "%s on read-only mapping",
4996 size = (sector_t)rbd_dev->mapping.size / SECTOR_SIZE;
5102 (unsigned long long)rbd_dev->mapping.size);
5471 * Create a mapping rbd_dev.
6467 * mapping) request. These arrive via a write to /sys/bus/rbd/add,
6501 * An optional snapshot id. If provided, the mapping will
6884 /* Set up the blkdev mapping. */
6890 set_capacity(rbd_dev->disk, rbd_dev->mapping.size / SECTOR_SIZE);
7071 rbd_dev->mapping.size = header->image_size;
7208 /* if we are mapping a snapshot it will be a read-only mapping */