Lines Matching refs:scsi_cmnd
32 * Function: struct scsi_cmnd *queue_remove (queue)
35 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
37 extern struct scsi_cmnd *queue_remove (Queue_t *queue);
40 * Function: struct scsi_cmnd *queue_remove_exclude_ref (queue, exclude)
44 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
46 extern struct scsi_cmnd *queue_remove_exclude(Queue_t *queue,
54 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
61 extern int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head);
64 * Function: struct scsi_cmnd *queue_remove_tgtluntag (queue, target, lun, tag)
70 * Returns : struct scsi_cmnd if successful, or NULL if no command satisfies requirements
72 extern struct scsi_cmnd *queue_remove_tgtluntag(Queue_t *queue, int target,
96 * Function: int queue_remove_cmd (Queue_t *queue, struct scsi_cmnd *SCpnt)
102 int queue_remove_cmd(Queue_t *queue, struct scsi_cmnd *SCpnt);