Lines Matching refs:req_class

183 static int vm_page_reclaim_run(int req_class, int domain, u_long npages,
2024 _vm_domain_allocate(struct vm_domain *vmd, int req_class, int npages) in _vm_domain_allocate() argument
2028 if (req_class == VM_ALLOC_INTERRUPT) in _vm_domain_allocate()
2030 else if (req_class == VM_ALLOC_SYSTEM) in _vm_domain_allocate()
2061 int req_class; in vm_domain_allocate() local
2066 req_class = req & VM_ALLOC_CLASS_MASK; in vm_domain_allocate()
2067 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT) in vm_domain_allocate()
2068 req_class = VM_ALLOC_SYSTEM; in vm_domain_allocate()
2069 return (_vm_domain_allocate(vmd, req_class, npages)); in vm_domain_allocate()
2745 vm_page_reclaim_run(int req_class, int domain, u_long npages, vm_page_t m_run, in vm_page_reclaim_run() argument
2755 KASSERT((req_class & VM_ALLOC_CLASS_MASK) == req_class, in vm_page_reclaim_run()
2808 req = req_class | VM_ALLOC_NOOBJ; in vm_page_reclaim_run()
2976 int error, i, options, req_class; in vm_page_reclaim_contig_domain() local
2981 req_class = req & VM_ALLOC_CLASS_MASK; in vm_page_reclaim_contig_domain()
2986 if (curproc == pageproc && req_class != VM_ALLOC_INTERRUPT) in vm_page_reclaim_contig_domain()
2987 req_class = VM_ALLOC_SYSTEM; in vm_page_reclaim_contig_domain()
2996 vmd->vmd_interrupt_free_min && req_class == VM_ALLOC_SYSTEM) || in vm_page_reclaim_contig_domain()
2997 (count < npages && req_class == VM_ALLOC_INTERRUPT)) in vm_page_reclaim_contig_domain()
3032 error = vm_page_reclaim_run(req_class, domain, npages, in vm_page_reclaim_contig_domain()