FreeBSD/sys/dev/isci/scil/scif_sas_request.c
/**
 * @brief This method will request the SCI core to terminate the supplied
 *        request.
 *
 * @param[in] fw_request This parameter specifies the request to be terminated.
 * @param[in] core_request This parameter specifies the core request (IO or
 *            task) to be terminated.
 *
 * @return This method returns the status of the core termination operation.
 */
@brief This method will request the SCI core to terminate the supplied
request.

@param[in] fw_request This parameter specifies the request to be terminated.
@param[in] core_request This parameter specifies the core request (IO or
task) to be terminated.

@return This method returns the status of the core termination operation.
@brief This method will request the SCI core to terminate the supplied request . @param [ in ] fw_request This parameter specifies the request to be terminated . @param [ in ] core_request This parameter specifies the core request ( IO or task ) to be terminated . @return This method returns the status of the core termination operation .
SCI_STATUS scif_sas_request_terminate_start(
   SCIF_SAS_REQUEST_T      * fw_request,
   SCI_IO_REQUEST_HANDLE_T   core_request
)
{
   SCIF_LOG_TRACE((
      sci_base_object_get_logger(fw_request),
      SCIF_LOG_OBJECT_TASK_MANAGEMENT,
      "scif_sas_request_terminate_start(0x%x) enter\n",
      fw_request
   ));
   if (fw_request->terminate_requestor != NULL)
      fw_request->terminate_requestor->affected_request_count++;
   return scic_controller_terminate_request(
             fw_request->device->domain->controller->core_object,
             fw_request->device->core_object,
             core_request
          );
}
SCI_STATUS scif_sas_request_terminate_start ( SCIF_SAS_REQUEST_T * fw_request , SCI_IO_REQUEST_HANDLE_T core_request ) { SCIF_LOG_TRACE ( ( sci_base_object_get_logger ( fw_request ) , SCIF_LOG_OBJECT_TASK_MANAGEMENT , " \n " , fw_request ) ) ; if ( fw_request -> terminate_requestor != NULL ) fw_request -> terminate_requestor -> affected_request_count ++ ; return scic_controller_terminate_request ( fw_request -> device -> domain -> controller -> core_object , fw_request -> device -> core_object , core_request ) ; }
@brief This method will request the SCI core to terminate the supplied
        request.
@brief This method will request the SCI core to terminate the supplied request .
// Only increment the affected request count if this request is being // terminated at the behest of a task management request.