23 #ifndef STORAGE_STRAY_BLK_DEVICE_H 24 #define STORAGE_STRAY_BLK_DEVICE_H 27 #include "storage/Devices/BlkDevice.h" 56 unsigned long long size);
88 const Impl& get_impl()
const;
99 bool is_stray_blk_device(
const Device* device);
A start/length pair with a block size.
Definition: Region.h:73
The master container of the libstorage.
Definition: Devicegraph.h:153
An abstract Block Device.
Definition: BlkDevice.h:41
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
StrayBlkDevice * to_stray_blk_device(Device *device)
Converts pointer to Device to pointer to StrayBlkDevice.
static StrayBlkDevice * find_by_name(Devicegraph *devicegraph, const std::string &name)
Find a StrayBlkDevice by its name.
The storage namespace.
Definition: Actiongraph.h:37
static std::vector< StrayBlkDevice * > get_all(Devicegraph *devicegraph)
Get all StrayBlkDevices.
This class represents stray block devices.
Definition: StrayBlkDevice.h:48