Lines Matching refs:head
64 INIT_LIST_HEAD(&queue->head); in queue_initialise()
92 if (!list_empty(&queue->head)) in queue_free()
106 int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head) in __queue_add() argument
126 if (head) in __queue_add()
127 list_add(l, &queue->head); in __queue_add()
129 list_add_tail(l, &queue->head); in __queue_add()
168 list_for_each(l, &queue->head) { in queue_remove_exclude()
193 if (!list_empty(&queue->head)) in queue_remove()
194 SCpnt = __queue_remove(queue, queue->head.next); in queue_remove()
217 list_for_each(l, &queue->head) { in queue_remove_tgtluntag()
243 list_for_each(l, &queue->head) { in queue_remove_all_target()
267 list_for_each(l, &queue->head) { in queue_probetgtlun()
293 list_for_each(l, &queue->head) { in queue_remove_cmd()