Searched refs:q_next (Results 1 – 6 of 6) sorted by relevance
245 element->q_next = element->q_prev = *queue = element; in enqueue_first()251 element->q_next = (*queue); in enqueue_first()252 (*queue)->q_prev->q_next = element; in enqueue_first()281 } else if ( (*queue)->q_next == *queue ) { in dequeue_first()291 (*queue)->q_prev->q_next = (*queue)->q_next; in dequeue_first()292 (*queue)->q_next->q_prev = (*queue)->q_prev; in dequeue_first()293 *queue = (*queue)->q_next; in dequeue_first()322 } else if ( (*queue)->q_next == *queue ) { in dequeue_general()333 element->q_prev->q_next = element->q_next; in dequeue_general()334 element->q_next->q_prev = element->q_prev; in dequeue_general()[all …]
60 struct irda_queue *q_next; member
566 if((irnet_server.running) && (self->q.q_next == NULL)) in irda_irnet_connect()624 if((irnet_server.running) && (self->q.q_next != NULL)) in irda_irnet_destroy()630 self->q.q_next = NULL; in irda_irnet_destroy()
2852 item->q_next = queue->head; in ips_putq_scb_head()2885 queue->head = item->q_next; in ips_removeq_scb_head()2886 item->q_next = NULL; in ips_removeq_scb_head()2923 while ((p) && (item != p->q_next)) in ips_removeq_scb()2924 p = p->q_next; in ips_removeq_scb()2928 p->q_next = item->q_next; in ips_removeq_scb()2930 if (!item->q_next) in ips_removeq_scb()2933 item->q_next = NULL; in ips_removeq_scb()4437 scb_p->q_next = ha->scb_freelist; in ips_allocatescbs()4512 ha->scb_freelist = scb->q_next; in ips_getscb()[all …]
1111 struct ips_scb *q_next; member1137 struct ips_scb *q_next; member
784 struct aic7xxx_scb *q_next; /* next scb in queue */ member2281 scb->q_next = queue->head; in scbq_insert_head()2302 queue->head = queue->head->q_next; in scbq_remove_head()2332 while ((curscb != NULL) && (curscb->q_next != scb)) in scbq_remove()2334 curscb = curscb->q_next; in scbq_remove()2339 curscb->q_next = scb->q_next; in scbq_remove()2340 if (scb->q_next == NULL) in scbq_remove()2360 scb->q_next = NULL; in scbq_insert_tail()2362 queue->tail->q_next = scb; in scbq_insert_tail()3177 scbp = scbp->q_next; in aic7xxx_reset_device()[all …]