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

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

@return none
@brief This user callback will inform the user that a task management request completed . @param [ in ] controller This parameter specifies the controller on which the task management request is completing . @param [ in ] remote_device This parameter specifies the remote device on which this task management request is completing . @param [ in ] task_request This parameter specifies the task management request that has completed . @param [ in ] completion_status This parameter specifies the results of the IO request operation . SCI_TASK_SUCCESS indicates successful completion . @return none
void
scif_cb_task_request_complete(SCI_CONTROLLER_HANDLE_T controller,
    SCI_REMOTE_DEVICE_HANDLE_T remote_device,
    SCI_TASK_REQUEST_HANDLE_T task_request, SCI_TASK_STATUS completion_status)
{
	scif_controller_complete_task(controller, remote_device, task_request);
	isci_task_request_complete(controller, remote_device, task_request,
	    completion_status);
}
void scif_cb_task_request_complete ( SCI_CONTROLLER_HANDLE_T controller , SCI_REMOTE_DEVICE_HANDLE_T remote_device , SCI_TASK_REQUEST_HANDLE_T task_request , SCI_TASK_STATUS completion_status ) { scif_controller_complete_task ( controller , remote_device , task_request ) ; isci_task_request_complete ( controller , remote_device , task_request , completion_status ) ; }
@brief This user callback will inform the user that a task management
        request completed.
@brief This user callback will inform the user that a task management request completed .