FreeBSD/sys/dev/isci/scil/scif_sas_high_priority_request_queue.c
/**
 * @brief This method initializes the fields of the HPRQ.  It should be
 *        called during the construction of the object containing or
 *        utilizing it (i.e. SCIF_SAS_CONTROLLER).
 *
 * @param[in] fw_hprq This parameter specific the high priority request
 *            queue object being constructed.
 *
 * @return none
 */
@brief This method initializes the fields of the HPRQ.  It should be
called during the construction of the object containing or
utilizing it .

@param[in] fw_hprq This parameter specific the high priority request
queue object being constructed.

@return none
@brief This method initializes the fields of the HPRQ . It should be called during the construction of the object containing or utilizing it . @param [ in ] fw_hprq This parameter specific the high priority request queue object being constructed . @return none
void scif_sas_high_priority_request_queue_construct(
   SCIF_SAS_HIGH_PRIORITY_REQUEST_QUEUE_T * fw_hprq,
   SCI_BASE_LOGGER_T                      * logger
)
{
   SCIF_LOG_TRACE((
      logger,
      SCIF_LOG_OBJECT_CONTROLLER | SCIF_LOG_OBJECT_DOMAIN_DISCOVERY,
      "scif_sas_high_priority_request_queue_construct(0x%x,0x%x) enter\n",
      fw_hprq, logger
   ));
   sci_base_object_construct((SCI_BASE_OBJECT_T*) &fw_hprq->lock, logger);
   fw_hprq->lock.level = SCI_LOCK_LEVEL_NONE;
   sci_pool_initialize(fw_hprq->pool);
}
void scif_sas_high_priority_request_queue_construct ( SCIF_SAS_HIGH_PRIORITY_REQUEST_QUEUE_T * fw_hprq , SCI_BASE_LOGGER_T * logger ) { SCIF_LOG_TRACE ( ( logger , SCIF_LOG_OBJECT_CONTROLLER | SCIF_LOG_OBJECT_DOMAIN_DISCOVERY , " \n " , fw_hprq , logger ) ) ; sci_base_object_construct ( ( SCI_BASE_OBJECT_T * ) & fw_hprq -> lock , logger ) ; fw_hprq -> lock . level = SCI_LOCK_LEVEL_NONE ; sci_pool_initialize ( fw_hprq -> pool ) ; }
@brief This method initializes the fields of the HPRQ.
@brief This method initializes the fields of the HPRQ .