Lines Matching refs:req_class

181 static int vm_page_reclaim_run(int req_class, int domain, u_long npages,
1960 _vm_domain_allocate(struct vm_domain *vmd, int req_class, int npages) in _vm_domain_allocate() argument
1964 if (req_class == VM_ALLOC_INTERRUPT) in _vm_domain_allocate()
1966 else if (req_class == VM_ALLOC_SYSTEM) in _vm_domain_allocate()
1997 int req_class; in vm_domain_allocate() local
2002 req_class = req & VM_ALLOC_CLASS_MASK; in vm_domain_allocate()
2003 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT) in vm_domain_allocate()
2004 req_class = VM_ALLOC_SYSTEM; in vm_domain_allocate()
2005 return (_vm_domain_allocate(vmd, req_class, npages)); in vm_domain_allocate()
2807 vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run, in vm_page_reclaim_run() argument
2817 KASSERT((req_class & VM_ALLOC_CLASS_MASK) == req_class, in vm_page_reclaim_run()
2869 req = req_class; in vm_page_reclaim_run()
3035 int error, i, min_reclaim, nruns, options, req_class, segind; in vm_page_reclaim_contig_domain_ext() local
3078 req_class = req & VM_ALLOC_CLASS_MASK; in vm_page_reclaim_contig_domain_ext()
3079 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT) in vm_page_reclaim_contig_domain_ext()
3080 req_class = VM_ALLOC_SYSTEM; in vm_page_reclaim_contig_domain_ext()
3089 vmd->vmd_interrupt_free_min && req_class == VM_ALLOC_SYSTEM) || in vm_page_reclaim_contig_domain_ext()
3090 (count < npages && req_class == VM_ALLOC_INTERRUPT)) in vm_page_reclaim_contig_domain_ext()
3126 error = vm_page_reclaim_run(req_class, domain, npages, in vm_page_reclaim_contig_domain_ext()