Searched refs:circular_queue (Results 1 – 1 of 1) sorted by relevance
1451 struct circular_queue { struct1456 static struct circular_queue lock_cq; argument1462 static inline void __cq_init(struct circular_queue *cq) in __cq_init()1468 static inline int __cq_empty(struct circular_queue *cq) in __cq_empty()1473 static inline int __cq_full(struct circular_queue *cq) in __cq_full()1478 static inline int __cq_enqueue(struct circular_queue *cq, struct lock_list *elem) in __cq_enqueue()1492 static inline struct lock_list * __cq_dequeue(struct circular_queue *cq) in __cq_dequeue()1505 static inline unsigned int __cq_get_elem_count(struct circular_queue *cq) in __cq_get_elem_count()1722 struct circular_queue *cq = &lock_cq; in __bfs()