Searched refs:circular_queue (Results 1 – 2 of 2) sorted by relevance
1460 * The circular_queue and helpers are used to implement graph1469 struct circular_queue { struct 1474 static struct circular_queue lock_cq; argument 1480 static inline void __cq_init(struct circular_queue *cq) in __cq_init() 1486 static inline int __cq_empty(struct circular_queue *cq) in __cq_empty() 1491 static inline int __cq_full(struct circular_queue *cq) in __cq_full() 1496 static inline int __cq_enqueue(struct circular_queue *cq, struct lock_list *elem) in __cq_enqueue() 1507 * Dequeue an element from the circular_queue, return a lock_list if1510 static inline struct lock_list * __cq_dequeue(struct circular_queue *cq) in __cq_dequeue() 1523 static inline unsigned int __cq_get_elem_count(struct circular_queue *c[all...]
1558 int "Size for elements in circular_queue struct (as Nth power of 2)"