FreeBSD kernel pms device code
smapi.h File Reference
Include dependency graph for smapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

osGLOBAL bit32 smRegisterDevice (smRoot_t *smRoot, agsaDevHandle_t *agDevHandle, smDeviceHandle_t *smDeviceHandle, agsaDevHandle_t *agExpDevHandle, bit32 phyID, bit32 DeviceType)
 
osGLOBAL bit32 smDeregisterDevice (smRoot_t *smRoot, agsaDevHandle_t *agDevHandle, smDeviceHandle_t *smDeviceHandle)
 
osGLOBAL void smGetRequirements (smRoot_t *smRoot, smSwConfig_t *swConfig, smMemoryRequirement_t *memoryRequirement, bit32 *usecsPerTick, bit32 *maxNumLocks)
 
osGLOBAL bit32 smIDStart (smRoot_t *smRoot, smIORequest_t *smIORequest, smDeviceHandle_t *smDeviceHandle)
 
osGLOBAL bit32 smInitialize (smRoot_t *smRoot, agsaRoot_t *agRoot, smMemoryRequirement_t *memoryAllocated, smSwConfig_t *swConfig, bit32 usecsPerTick)
 
osGLOBAL bit32 smIOAbort (smRoot_t *smRoot, smIORequest_t *tasktag)
 
osGLOBAL bit32 smIOAbortAll (smRoot_t *smRoot, smDeviceHandle_t *smDeviceHandle)
 
osGLOBAL FORCEINLINE bit32 smIOStart (smRoot_t *smRoot, smIORequest_t *smIORequest, smDeviceHandle_t *smDeviceHandle, smScsiInitiatorRequest_t *smSCSIRequest, bit32 interruptContext)
 
osGLOBAL bit32 smSuperIOStart (smRoot_t *smRoot, smIORequest_t *smIORequest, smDeviceHandle_t *smDeviceHandle, smSuperScsiInitiatorRequest_t *smSCSIRequest, bit32 AddrHi, bit32 AddrLo, bit32 interruptContext)
 
osGLOBAL bit32 smTaskManagement (smRoot_t *smRoot, smDeviceHandle_t *smDeviceHandle, bit32 task, smLUN_t *lun, smIORequest_t *taskTag, smIORequest_t *currentTaskTag)
 

Function Documentation

◆ smDeregisterDevice()

osGLOBAL bit32 smDeregisterDevice ( smRoot_t smRoot,
agsaDevHandle_t agDevHandle,
smDeviceHandle_t smDeviceHandle 
)

Definition at line 85 of file smsat.c.

References agNULL, SM_DBG1, SM_DBG2, SM_RC_FAILURE, smRemoveFromSharedcontext(), and status.

Referenced by ossaDeregisterDeviceHandleCB().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smGetRequirements()

◆ smIDStart()

◆ smInitialize()

◆ smIOAbort()

◆ smIOAbortAll()

◆ smIOStart()

◆ smRegisterDevice()

osGLOBAL bit32 smRegisterDevice ( smRoot_t smRoot,
agsaDevHandle_t agDevHandle,
smDeviceHandle_t smDeviceHandle,
agsaDevHandle_t agExpDevHandle,
bit32  phyID,
bit32  DeviceType 
)

Definition at line 46 of file smsat.c.

References agNULL, smDeviceData_s::satDeviceType, SM_DBG1, SM_DBG2, SM_RC_FAILURE, SM_RC_SUCCESS, and smAddToSharedcontext().

Referenced by ossaDeviceRegistrationCB().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ smSuperIOStart()

osGLOBAL bit32 smSuperIOStart ( smRoot_t smRoot,
smIORequest_t smIORequest,
smDeviceHandle_t smDeviceHandle,
smSuperScsiInitiatorRequest_t smSCSIRequest,
bit32  AddrHi,
bit32  AddrLo,
bit32  interruptContext 
)

◆ smTaskManagement()