Home
last modified time | relevance | path

Searched refs:cq (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.1.9/osfmk/kern/
H A Dcircle_queue.h50 circle_queue_empty(circle_queue_t cq) in circle_queue_empty() argument
52 return cq->head == NULL; in circle_queue_empty()
56 circle_queue_first(circle_queue_t cq) in circle_queue_first() argument
58 return cq->head; in circle_queue_first()
62 circle_queue_last(circle_queue_t cq) in circle_queue_last() argument
64 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() argument
75 return elt->next == cq->head ? NULL : elt->next; in circle_queue_next()
79 circle_queue_length(circle_queue_t cq) in circle_queue_length() argument
81 queue_entry_t elt = circle_queue_first(cq); in circle_queue_length()
[all …]
/xnu-12377.1.9/tests/ktrace/
H A Dkperf_tests.c435 cirq_get(struct cirq *cq, unsigned int i) in cirq_get() argument
437 return (char *)cq + sizeof(*cq) + (cq->slot_size * i); in cirq_get()
443 struct cirq *cq = vcq; in cirq_top() local
444 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() local
453 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 …]
/xnu-12377.1.9/osfmk/vm/
H A Dvm_pageout.c4148 vm_pageout_select_filling_chead(struct pgo_iothread_state *cq, vm_page_t m) argument
4161 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) argument
4202 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 …]