Lines Matching defs:task
5678 ExecuteSCSITask (SCSITaskInterface ** task,
5730 /* Set the actual cdb in the task */
5731 ioReturnValue = (*task)->SetCommandDescriptorBlock (task, cdb, cmd_size);
5738 /* Set the scatter-gather entry in the task */
5739 ioReturnValue = (*task)->SetScatterGatherEntries (task, &range, 1,
5749 /* Set the timeout in the task */
5750 ioReturnValue = (*task)->SetTimeoutDuration (task,
5761 ioReturnValue = (*task)->ExecuteTaskSync (task, &senseData, &taskStatus,
5765 DBG (5, "Error executing task (0x%08x)\n", ioReturnValue);
5790 SCSITaskInterface **task;
5804 /* Create a task now that we have exclusive access */
5805 task = (*interface)->CreateSCSITask (interface);
5807 if (task == NULL)
5814 returnValue = ExecuteSCSITask (task, cmd, cmd_size,
5817 /* Release the task interface */
5818 (*task)->Release (task);