Open CAS Framework
Open source framework of Cache Acceleration Software
Data Fields
ocf_io_ops Struct Reference

OCF IO operations set structure. More...

#include <ocf_io.h>

Data Fields

int(* set_data )(struct ocf_io *io, ctx_data_t *data, uint32_t offset)
 Set up data vector in OCF IO. More...
 
ctx_data_t *(* get_data )(struct ocf_io *io)
 Get context data from OCF IO. More...
 

Detailed Description

OCF IO operations set structure.

Field Documentation

◆ get_data

ctx_data_t*(* get_data) (struct ocf_io *io)

Get context data from OCF IO.

Parameters
[in]ioOCF IO to get data
Returns
Data vector from IO

◆ set_data

int(* set_data) (struct ocf_io *io, ctx_data_t *data, uint32_t offset)

Set up data vector in OCF IO.

Parameters
[in]ioOCF IO to set up
[in]dataSource context data
[in]offsetData offset in source context data
Return values
0Data set up successfully
Non-zeroData set up failure

The documentation for this struct was generated from the following file: