FreeBSD/sys/dev/isci/isci_io_request.c
/**
 * @brief This user callback will inform the user that an IO request has
 *        completed.
 *
 * @param[in]  controller This parameter specifies the controller on
 *             which the IO request is completing.
 * @param[in]  remote_device This parameter specifies the remote device on
 *             which this request is completing.
 * @param[in]  io_request This parameter specifies the IO request that has
 *             completed.
 * @param[in]  completion_status This parameter specifies the results of
 *             the IO request operation.  SCI_IO_SUCCESS indicates
 *             successful completion.
 *
 * @return none
 */
@brief This user callback will inform the user that an IO request has
completed.

@param[in]  controller This parameter specifies the controller on
which the IO request is completing.
@param[in]  remote_device This parameter specifies the remote device on
which this request is completing.
@param[in]  io_request This parameter specifies the IO request that has
completed.
@param[in]  completion_status This parameter specifies the results of
the IO request operation.  SCI_IO_SUCCESS indicates
successful completion.

@return none
@brief This user callback will inform the user that an IO request has completed . @param [ in ] controller This parameter specifies the controller on which the IO request is completing . @param [ in ] remote_device This parameter specifies the remote device on which this request is completing . @param [ in ] io_request This parameter specifies the IO request that has completed . @param [ in ] completion_status This parameter specifies the results of the IO request operation . SCI_IO_SUCCESS indicates successful completion . @return none
void
scif_cb_io_request_complete(SCI_CONTROLLER_HANDLE_T scif_controller,
    SCI_REMOTE_DEVICE_HANDLE_T remote_device,
    SCI_IO_REQUEST_HANDLE_T io_request, SCI_IO_STATUS completion_status)
{
	struct ISCI_IO_REQUEST *isci_request =
	    (struct ISCI_IO_REQUEST *)sci_object_get_association(io_request);
	scif_controller_complete_io(scif_controller, remote_device, io_request);
	isci_io_request_complete(scif_controller, remote_device, isci_request,
	    completion_status);
}
void scif_cb_io_request_complete ( SCI_CONTROLLER_HANDLE_T scif_controller , SCI_REMOTE_DEVICE_HANDLE_T remote_device , SCI_IO_REQUEST_HANDLE_T io_request , SCI_IO_STATUS completion_status ) { struct ISCI_IO_REQUEST * isci_request = ( struct ISCI_IO_REQUEST * ) sci_object_get_association ( io_request ) ; scif_controller_complete_io ( scif_controller , remote_device , io_request ) ; isci_io_request_complete ( scif_controller , remote_device , isci_request , completion_status ) ; }
@brief This user callback will inform the user that an IO request has
        completed.
@brief This user callback will inform the user that an IO request has completed .