Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_ioctl.c File Reference
#include "ocs.h"
#include "ocs_os.h"
#include "ocs_ioctl.h"
#include "ocs_ioctl_xport.h"
#include "ocs_vpd.h"
#include "ocs_gendump.h"
#include "ocs_elxu.h"

Go to the source code of this file.

Functions

int32_t ocs_device_ioctl (ocs_t *ocs, unsigned int cmd, unsigned long arg)
 ocs driver ioctl method More...
 

Function Details

int32_t ocs_device_ioctl ( ocs_t *  ocs,
unsigned int  cmd,
unsigned long  arg 
)

ocs driver ioctl method

Called from ocs_ioctl

Parameters
ocspointer to ocs structure
cmdioctl command to execute
argioctl command specitic data
Returns
returns 0 for success, a negative error code value for failure.

Definition at line 57 of file ocs_ioctl.c.