#[repr(C)]pub struct devstat {Show 21 fields
pub sequence0: u_int,
pub allocated: c_int,
pub start_count: u_int,
pub end_count: u_int,
pub busy_from: bintime,
pub dev_links: __c_anonymous_stailq_entry_devstat,
pub device_number: u32,
pub device_name: [c_char; 16],
pub unit_number: c_int,
pub bytes: [u64; 4],
pub operations: [u64; 4],
pub duration: [bintime; 4],
pub busy_time: bintime,
pub creation_time: bintime,
pub block_size: u32,
pub tag_types: [u64; 3],
pub flags: devstat_support_flags,
pub device_type: devstat_type_flags,
pub priority: devstat_priority,
pub id: *const c_void,
pub sequence1: u_int,
}Fields§
§sequence0: u_intUpdate sequence
allocated: c_intAllocated entry
start_count: u_intstarted ops
end_count: u_intcompleted ops
busy_from: bintimebusy time unaccounted for since this time
dev_links: __c_anonymous_stailq_entry_devstat§device_number: u32Devstat device number.
device_name: [c_char; 16]§unit_number: c_int§bytes: [u64; 4]§operations: [u64; 4]§duration: [bintime; 4]§busy_time: bintime§creation_time: bintimeTime the device was created.
block_size: u32Block size, bytes
tag_types: [u64; 3]The number of simple, ordered, and head of queue tags sent.
flags: devstat_support_flagsWhich statistics are supported by a given device.
device_type: devstat_type_flagsDevice type
priority: devstat_priorityControls list pos.
id: *const c_voidIdentification for GEOM nodes
sequence1: u_intUpdate sequence
Trait Implementations§
Auto Trait Implementations§
impl Freeze for devstat
impl RefUnwindSafe for devstat
impl !Send for devstat
impl !Sync for devstat
impl Unpin for devstat
impl UnwindSafe for devstat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more