Lines Matching refs:req_class

183 static int vm_page_reclaim_run(int req_class, int domain, u_long npages,
1957 _vm_domain_allocate(struct vm_domain *vmd, int req_class, int npages) in _vm_domain_allocate() argument
1961 if (req_class == VM_ALLOC_INTERRUPT) in _vm_domain_allocate()
1963 else if (req_class == VM_ALLOC_SYSTEM) in _vm_domain_allocate()
1994 int req_class; in vm_domain_allocate() local
1999 req_class = req & VM_ALLOC_CLASS_MASK; in vm_domain_allocate()
2000 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT) in vm_domain_allocate()
2001 req_class = VM_ALLOC_SYSTEM; in vm_domain_allocate()
2002 return (_vm_domain_allocate(vmd, req_class, npages)); in vm_domain_allocate()
2766 vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run, in vm_page_reclaim_run() argument
2776 KASSERT((req_class & VM_ALLOC_CLASS_MASK) == req_class, in vm_page_reclaim_run()
2829 req = req_class; in vm_page_reclaim_run()
2997 int error, i, options, req_class; in vm_page_reclaim_contig_domain() local
3018 req_class = req & VM_ALLOC_CLASS_MASK; in vm_page_reclaim_contig_domain()
3019 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT) in vm_page_reclaim_contig_domain()
3020 req_class = VM_ALLOC_SYSTEM; in vm_page_reclaim_contig_domain()
3029 vmd->vmd_interrupt_free_min && req_class == VM_ALLOC_SYSTEM) || in vm_page_reclaim_contig_domain()
3030 (count < npages && req_class == VM_ALLOC_INTERRUPT)) in vm_page_reclaim_contig_domain()
3065 error = vm_page_reclaim_run(req_class, domain, npages, in vm_page_reclaim_contig_domain()