FreeBSD/sys/dev/isci/isci_task_request.c
/**
 * @brief This callback method asks the user to provide the virtual
 *        address of the response data buffer for the supplied IO request.
 *
 * @param[in] scif_user_task_request This parameter points to the user's
 *            task request object.  It is a cookie that allows the user to
 *            provide the necessary information for this callback.
 *
 * @return This method returns the virtual address for the response data buffer
 *         associated with this IO request.
 */
@brief This callback method asks the user to provide the virtual
address of the response data buffer for the supplied IO request.

@param[in] scif_user_task_request This parameter points to the user's
task request object.  It is a cookie that allows the user to
provide the necessary information for this callback.

@return This method returns the virtual address for the response data buffer
associated with this IO request.
@brief This callback method asks the user to provide the virtual address of the response data buffer for the supplied IO request . @param [ in ] scif_user_task_request This parameter points to the user ' s task request object . It is a cookie that allows the user to provide the necessary information for this callback . @return This method returns the virtual address for the response data buffer associated with this IO request .
void *
scif_cb_task_request_get_response_data_address(void * scif_user_task_request)
{
	struct ISCI_TASK_REQUEST *task_request =
	    (struct ISCI_TASK_REQUEST *)scif_user_task_request;
	return (&task_request->sense_data);
}
void * scif_cb_task_request_get_response_data_address ( void * scif_user_task_request ) { struct ISCI_TASK_REQUEST * task_request = ( struct ISCI_TASK_REQUEST * ) scif_user_task_request ; return ( & task_request -> sense_data ) ; }
@brief This callback method asks the user to provide the virtual
        address of the response data buffer for the supplied IO request.
@brief This callback method asks the user to provide the virtual address of the response data buffer for the supplied IO request .