Searched refs:cnt_adj (Results 1 – 1 of 1) sorted by relevance
1026 long *cnt_adj; in _vm_page_rem_queue_spinlocked() local1055 cnt_adj = (long *)((char *)&mycpu->gd_vmstats_adj + in _vm_page_rem_queue_spinlocked()1059 atomic_add_long(cnt_adj, -1); in _vm_page_rem_queue_spinlocked()1062 if (*cnt_adj < -1024 && vm_paging_start(-1024 * ncpus)) { in _vm_page_rem_queue_spinlocked()1063 u_long copy = atomic_swap_long(cnt_adj, 0); in _vm_page_rem_queue_spinlocked()1064 cnt_adj = (long *)((char *)&vmstats + pq->cnt_offset); in _vm_page_rem_queue_spinlocked()1065 atomic_add_long(cnt_adj, copy); in _vm_page_rem_queue_spinlocked()1090 u_long *cnt_adj; in _vm_page_add_queue_spinlocked() local1106 cnt_adj = (long *)((char *)&mycpu->gd_vmstats_adj + in _vm_page_add_queue_spinlocked()1110 atomic_add_long(cnt_adj, 1); in _vm_page_add_queue_spinlocked()