Lines Matching defs:req_class
182 static int vm_page_reclaim_run(int req_class, int domain, u_long npages,
2201 _vm_domain_allocate(struct vm_domain *vmd, int req_class, int npages)
2205 if (req_class == VM_ALLOC_INTERRUPT)
2207 else if (req_class == VM_ALLOC_SYSTEM)
2238 int req_class;
2243 req_class = req & VM_ALLOC_CLASS_MASK;
2244 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT)
2245 req_class = VM_ALLOC_SYSTEM;
2246 return (_vm_domain_allocate(vmd, req_class, npages));
3087 * "req_class" must be an allocation class.
3090 vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run,
3100 KASSERT((req_class & VM_ALLOC_CLASS_MASK) == req_class,
3101 ("req_class is not an allocation class"));
3152 req = req_class;
3320 int error, i, min_reclaim, nruns, options, req_class;
3364 req_class = req & VM_ALLOC_CLASS_MASK;
3365 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT)
3366 req_class = VM_ALLOC_SYSTEM;
3377 vmd->vmd_interrupt_free_min && req_class == VM_ALLOC_SYSTEM) ||
3378 (count < npages && req_class == VM_ALLOC_INTERRUPT))
3422 error = vm_page_reclaim_run(req_class, domain, npages,