Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_command_ctx_t Struct Reference

HAL command context. More...

#include <ocs_hal.h>

Detailed Description

HAL command context.

Stores the state for the asynchronous commands sent to the hardware.

Definition at line 475 of file ocs_hal.h.

Data Fields

ocs_list_t link
 
int32_t(* cb )(struct ocs_hal_s *, int32_t, uint8_t *, void *)
 
void * arg
 
uint8_t * buf
 
void * ctx
 

Field Documentation

void* ocs_command_ctx_t::arg

Argument for callback

Definition at line 479 of file ocs_hal.h.

uint8_t* ocs_command_ctx_t::buf

buffer holding command / results

Definition at line 480 of file ocs_hal.h.

int32_t(* ocs_command_ctx_t::cb)(struct ocs_hal_s *, int32_t, uint8_t *, void *)

Definition at line 478 of file ocs_hal.h.

void* ocs_command_ctx_t::ctx

upper layer context

Definition at line 481 of file ocs_hal.h.

ocs_list_t ocs_command_ctx_t::link

Callback function

Definition at line 476 of file ocs_hal.h.


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