Lines Matching refs:ma
324 vm_page_t m, ma[KSTACK_MAX_PAGES]; in vm_thread_new() local
399 ma[i] = m; in vm_thread_new()
403 pmap_qenter(ks, ma, pages); in vm_thread_new()
569 vm_page_t ma[KSTACK_MAX_PAGES]; in vm_thread_swapin() local
576 ma[i] = vm_page_grab(ksobj, i, VM_ALLOC_NORMAL | in vm_thread_swapin()
581 vm_page_assert_xbusied(ma[i]); in vm_thread_swapin()
582 if (ma[i]->valid == VM_PAGE_BITS_ALL) { in vm_thread_swapin()
583 vm_page_xunbusy(ma[i]); in vm_thread_swapin()
589 if (ma[j]->valid == VM_PAGE_BITS_ALL) in vm_thread_swapin()
591 rv = vm_pager_has_page(ksobj, ma[i]->pindex, NULL, &a); in vm_thread_swapin()
592 KASSERT(rv == 1, ("%s: missing page %p", __func__, ma[i])); in vm_thread_swapin()
594 rv = vm_pager_get_pages(ksobj, ma + i, count, NULL, NULL); in vm_thread_swapin()
599 vm_page_xunbusy(ma[j]); in vm_thread_swapin()
603 pmap_qenter(td->td_kstack, ma, pages); in vm_thread_swapin()