Struct vfio_bindings::bindings::vfio::vfio_device_info [−][src]
#[repr(C)]pub struct vfio_device_info {
pub argsz: __u32,
pub flags: __u32,
pub num_regions: __u32,
pub num_irqs: __u32,
}
Expand description
VFIO_DEVICE_GET_INFO - _IOR(VFIO_TYPE, VFIO_BASE + 7, struct vfio_device_info)
Retrieve information about the device. Fills in provided struct vfio_device_info. Caller sets argsz. Return: 0 on success, -errno on failure.
Fields
argsz: __u32
flags: __u32
num_regions: __u32
num_irqs: __u32
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for vfio_device_info
impl Send for vfio_device_info
impl Sync for vfio_device_info
impl Unpin for vfio_device_info
impl UnwindSafe for vfio_device_info
Blanket Implementations
Mutably borrows from an owned value. Read more