Lines Matching refs:SCpnt
29 struct scsi_cmnd *SCpnt; member
74 q->SCpnt = NULL; in queue_initialise()
103 int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head) in __queue_add() argument
121 q->SCpnt = SCpnt; in __queue_add()
148 return q->SCpnt; in __queue_remove()
162 struct scsi_cmnd *SCpnt = NULL; in queue_remove_exclude() local
167 if (!test_bit(q->SCpnt->device->id * 8 + in queue_remove_exclude()
168 (u8)(q->SCpnt->device->lun & 0x7), exclude)) { in queue_remove_exclude()
169 SCpnt = __queue_remove(queue, l); in queue_remove_exclude()
175 return SCpnt; in queue_remove_exclude()
187 struct scsi_cmnd *SCpnt = NULL; in queue_remove() local
191 SCpnt = __queue_remove(queue, queue->head.next); in queue_remove()
194 return SCpnt; in queue_remove()
211 struct scsi_cmnd *SCpnt = NULL; in queue_remove_tgtluntag() local
216 if (q->SCpnt->device->id == target && q->SCpnt->device->lun == lun && in queue_remove_tgtluntag()
217 scsi_cmd_to_rq(q->SCpnt)->tag == tag) { in queue_remove_tgtluntag()
218 SCpnt = __queue_remove(queue, l); in queue_remove_tgtluntag()
224 return SCpnt; in queue_remove_tgtluntag()
242 if (q->SCpnt->device->id == target) in queue_remove_all_target()
266 if (q->SCpnt->device->id == target && q->SCpnt->device->lun == lun) { in queue_probetgtlun()
283 int queue_remove_cmd(Queue_t *queue, struct scsi_cmnd *SCpnt) in queue_remove_cmd() argument
292 if (q->SCpnt == SCpnt) { in queue_remove_cmd()