Lines Matching refs:SCpnt
32 struct scsi_cmnd *SCpnt; member
77 q->SCpnt = NULL; in queue_initialise()
106 int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head) in __queue_add() argument
124 q->SCpnt = SCpnt; in __queue_add()
151 return q->SCpnt; in __queue_remove()
165 struct scsi_cmnd *SCpnt = NULL; in queue_remove_exclude() local
170 if (!test_bit(q->SCpnt->device->id * 8 + in queue_remove_exclude()
171 (u8)(q->SCpnt->device->lun & 0x7), exclude)) { in queue_remove_exclude()
172 SCpnt = __queue_remove(queue, l); in queue_remove_exclude()
178 return SCpnt; in queue_remove_exclude()
190 struct scsi_cmnd *SCpnt = NULL; in queue_remove() local
194 SCpnt = __queue_remove(queue, queue->head.next); in queue_remove()
197 return SCpnt; in queue_remove()
214 struct scsi_cmnd *SCpnt = NULL; in queue_remove_tgtluntag() local
219 if (q->SCpnt->device->id == target && q->SCpnt->device->lun == lun && in queue_remove_tgtluntag()
220 q->SCpnt->tag == tag) { in queue_remove_tgtluntag()
221 SCpnt = __queue_remove(queue, l); in queue_remove_tgtluntag()
227 return SCpnt; in queue_remove_tgtluntag()
245 if (q->SCpnt->device->id == target) in queue_remove_all_target()
269 if (q->SCpnt->device->id == target && q->SCpnt->device->lun == lun) { in queue_probetgtlun()
286 int queue_remove_cmd(Queue_t *queue, struct scsi_cmnd *SCpnt) in queue_remove_cmd() argument
295 if (q->SCpnt == SCpnt) { in queue_remove_cmd()