Lines Matching defs:aq
2595 struct vm_speculative_age_q *aq;
2615 aq = &vm_page_queue_speculative[speculative_age_index];
2620 aq->age_ts.tv_sec = VM_PAGE_SPECULATIVE_Q_AGE_MS / 1000;
2621 aq->age_ts.tv_nsec = (VM_PAGE_SPECULATIVE_Q_AGE_MS % 1000) * 1000 * NSEC_PER_USEC;
2623 ADD_MACH_TIMESPEC(&aq->age_ts, &ts);
2625 aq = &vm_page_queue_speculative[speculative_age_index];
2627 if (CMP_MACH_TIMESPEC(&ts, &aq->age_ts) >= 0) {
2639 aq = &vm_page_queue_speculative[speculative_age_index];
2641 if (!queue_empty(&aq->age_q))
2642 vm_page_speculate_ageit(aq);
2644 aq->age_ts.tv_sec = VM_PAGE_SPECULATIVE_Q_AGE_MS / 1000;
2645 aq->age_ts.tv_nsec = (VM_PAGE_SPECULATIVE_Q_AGE_MS % 1000) * 1000 * NSEC_PER_USEC;
2647 ADD_MACH_TIMESPEC(&aq->age_ts, &ts);
2650 enqueue_tail(&aq->age_q, &m->pageq);
2669 vm_page_speculate_ageit(struct vm_speculative_age_q *aq)
2677 sq->age_q.next = aq->age_q.next;
2678 sq->age_q.prev = aq->age_q.prev;
2687 t->pageq.next = aq->age_q.next;
2689 t = (vm_page_t)aq->age_q.next;
2692 t = (vm_page_t)aq->age_q.prev;
2695 sq->age_q.prev = aq->age_q.prev;
2697 queue_init(&aq->age_q);