Struct fio_ioengine_sys::ioengine_ops[][src]

#[repr(C)]
pub struct ioengine_ops {
Show fields pub list: flist_head, pub name: *const c_char, pub version: c_int, pub flags: c_int, pub dlhandle: *mut c_void, pub setup: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>, pub init: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>, pub post_init: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>, pub prep: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> c_int>, pub queue: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> fio_q_status>, pub commit: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>, pub getevents: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: c_uint, arg3: c_uint, arg4: *const timespec) -> c_int>, pub event: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: c_int) -> *mut io_u>, pub errdetails: Option<unsafe extern "C" fn(arg1: *mut io_u) -> *mut c_char>, pub cancel: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> c_int>, pub cleanup: Option<unsafe extern "C" fn(arg1: *mut thread_data)>, pub open_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>, pub close_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>, pub invalidate: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>, pub unlink_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>, pub get_file_size: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>, pub prepopulate_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>, pub terminate: Option<unsafe extern "C" fn(arg1: *mut thread_data)>, pub iomem_alloc: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: size_t) -> c_int>, pub iomem_free: Option<unsafe extern "C" fn(arg1: *mut thread_data)>, pub io_u_init: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> c_int>, pub io_u_free: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u)>, pub get_zoned_model: Option<unsafe extern "C" fn(td: *mut thread_data, f: *mut fio_file, arg1: *mut zbd_zoned_model) -> c_int>, pub report_zones: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file, arg3: u64, arg4: *mut zbd_zone, arg5: c_uint) -> c_int>, pub reset_wp: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file, arg3: u64, arg4: u64) -> c_int>, pub option_struct_size: c_int, pub options: *mut fio_option,
}

Fields

list: flist_headname: *const c_charversion: c_intflags: c_intdlhandle: *mut c_voidsetup: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>init: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>post_init: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>prep: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> c_int>queue: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> fio_q_status>commit: Option<unsafe extern "C" fn(arg1: *mut thread_data) -> c_int>getevents: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: c_uint, arg3: c_uint, arg4: *const timespec) -> c_int>event: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: c_int) -> *mut io_u>errdetails: Option<unsafe extern "C" fn(arg1: *mut io_u) -> *mut c_char>cancel: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> c_int>cleanup: Option<unsafe extern "C" fn(arg1: *mut thread_data)>open_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>close_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>invalidate: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>unlink_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>get_file_size: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>prepopulate_file: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file) -> c_int>terminate: Option<unsafe extern "C" fn(arg1: *mut thread_data)>iomem_alloc: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: size_t) -> c_int>iomem_free: Option<unsafe extern "C" fn(arg1: *mut thread_data)>io_u_init: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u) -> c_int>io_u_free: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut io_u)>get_zoned_model: Option<unsafe extern "C" fn(td: *mut thread_data, f: *mut fio_file, arg1: *mut zbd_zoned_model) -> c_int>report_zones: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file, arg3: u64, arg4: *mut zbd_zone, arg5: c_uint) -> c_int>reset_wp: Option<unsafe extern "C" fn(arg1: *mut thread_data, arg2: *mut fio_file, arg3: u64, arg4: u64) -> c_int>option_struct_size: c_intoptions: *mut fio_option

Trait Implementations

impl Clone for ioengine_ops[src]

fn clone(&self) -> ioengine_ops[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ioengine_ops[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for ioengine_ops[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

impl Copy for ioengine_ops[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.