Lines Matching refs:scsi_cmnd
29 struct scsi_cmnd *SCpnt;
96 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
103 int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
134 static struct scsi_cmnd *__queue_remove(Queue_t *queue, struct list_head *ent)
152 * Function: struct scsi_cmnd *queue_remove_exclude (queue, exclude)
156 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
158 struct scsi_cmnd *queue_remove_exclude(Queue_t *queue, unsigned long *exclude)
162 struct scsi_cmnd *SCpnt = NULL;
179 * Function: struct scsi_cmnd *queue_remove (queue)
182 * Returns : struct scsi_cmnd if successful (and a reference), or NULL if no command available
184 struct scsi_cmnd *queue_remove(Queue_t *queue)
187 struct scsi_cmnd *SCpnt = NULL;
198 * Function: struct scsi_cmnd *queue_remove_tgtluntag (queue, target, lun, tag)
204 * Returns : struct scsi_cmnd if successful, or NULL if no command satisfies requirements
206 struct scsi_cmnd *queue_remove_tgtluntag(Queue_t *queue, int target, int lun,
211 struct scsi_cmnd *SCpnt = NULL;
277 * Function: int queue_remove_cmd(Queue_t *queue, struct scsi_cmnd *SCpnt)
283 int queue_remove_cmd(Queue_t *queue, struct scsi_cmnd *SCpnt)