Searched refs:cq (Results 1 – 1 of 1) sorted by relevance
103 static CQ_ITEM *cqi_new(CQ *cq);273 static void cq_init(CQ *cq) { in cq_init() argument275 STAILQ_INIT(&cq->head); in cq_init()277 if (cq->cache == NULL) { in cq_init()288 static CQ_ITEM *cq_pop(CQ *cq) { in cq_pop() argument291 pthread_mutex_lock(&cq->lock); in cq_pop()292 item = STAILQ_FIRST(&cq->head); in cq_pop()296 pthread_mutex_unlock(&cq->lock); in cq_pop()305 pthread_mutex_lock(&cq->lock); in cq_push()313 static CQ_ITEM *cqi_new(CQ *cq) { in cqi_new() argument[all …]