Searched refs:cq (Results 1 – 3 of 3) sorted by relevance
50 circle_queue_empty(circle_queue_t cq) in circle_queue_empty() argument52 return cq->head == NULL; in circle_queue_empty()56 circle_queue_first(circle_queue_t cq) in circle_queue_first() argument58 return cq->head; in circle_queue_first()62 circle_queue_last(circle_queue_t cq) in circle_queue_last() argument64 queue_entry_t elt = circle_queue_first(cq); in circle_queue_last()73 circle_queue_next(circle_queue_t cq, queue_entry_t elt) in circle_queue_next() argument75 return elt->next == cq->head ? NULL : elt->next; in circle_queue_next()79 circle_queue_length(circle_queue_t cq) in circle_queue_length() argument81 queue_entry_t elt = circle_queue_first(cq); in circle_queue_length()[all …]
435 cirq_get(struct cirq *cq, unsigned int i) in cirq_get() argument437 return (char *)cq + sizeof(*cq) + (cq->slot_size * i); in cirq_get()443 struct cirq *cq = vcq; in cirq_top() local444 unsigned int tail_slot = cq->tail_slot; in cirq_top()445 unsigned int top_slot = (tail_slot > 0 ? tail_slot : cq->nslots) - 1; in cirq_top()446 return cirq_get(cq, top_slot); in cirq_top()452 struct cirq *cq = vcq; in cirq_push() local453 unsigned int tail_slot = cq->tail_slot; in cirq_push()454 unsigned int next_slot = tail_slot == cq->nslots - 1 ? 0 : tail_slot + 1; in cirq_push()455 cq->tail_slot = next_slot; in cirq_push()[all …]
4148 vm_pageout_select_filling_chead(struct pgo_iothread_state *cq, vm_page_t m) argument4161 donate_queue_head = &cq->current_early_swapout_chead;4163 donate_queue_head = &cq->current_late_swapout_chead;4176 return &cq->current_regular_swapout_cheads[sel_i];4183 vm_pageout_iothread_internal_continue(struct pgo_iothread_state *cq, __unused wait_result_t w) argument4202 sched_cond_ack(&(cq->pgo_wakeup));4204 q = cq->q;4212 q = cq->benchmark_q;4216 q = cq->q;4250 vmct_state[cq->id] = VMCT_ACTIVE;[all …]