Searched refs:VM_ALLOC_WAITFAIL (Results 1 – 14 of 14) sorted by relevance
215 *req = (di->di_flags & ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) | in vm_domainset_iter_page_init()242 if ((di->di_flags & (VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) == 0) in vm_domainset_iter_page()251 if ((di->di_flags & VM_ALLOC_WAITFAIL) != 0) in vm_domainset_iter_page()
185 pflags &= ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in kmem_alloc_contig_pages()467 pflags &= ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in kmem_back_domain()469 pflags |= VM_ALLOC_WAITFAIL; in kmem_back_domain()
132 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in sg_pager_dealloc()
899 if ((allocflags & VM_ALLOC_WAITFAIL) != 0) in vm_page_busy_acquire()2180 if (req & VM_ALLOC_WAITFAIL) { in vm_page_alloc_domain_after()2383 if (req & VM_ALLOC_WAITFAIL) { in vm_page_alloc_contig_domain()3299 if (req & (VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) { in vm_domain_alloc_fail()4392 if ((allocflags & VM_ALLOC_WAITFAIL) != 0) in vm_page_grab_sleep()4423 ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL | in vm_page_grab_pflags()4426 pflags |= VM_ALLOC_WAITFAIL; in vm_page_grab_pflags()4466 if ((allocflags & (VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL)) != 0) in vm_page_grab()4593 (VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL | VM_ALLOC_ZERO)) == 0, in vm_page_grab_valid()4598 pflags |= VM_ALLOC_WAITFAIL; in vm_page_grab_valid()[all …]
433 req_class | VM_ALLOC_WIRED | VM_ALLOC_WAITFAIL, in vm_thread_stack_back()
274 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in dev_pager_dealloc()
541 #define VM_ALLOC_WAITFAIL 0x0010 /* (acf) Sleep and return error */ macro
1821 VM_ALLOC_NORMAL | VM_ALLOC_WAITFAIL); in swap_pager_swapoff_object()1840 if (!vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL)) in swap_pager_swapoff_object()
2026 if (vm_page_busy_acquire(dst_m, VM_ALLOC_WAITFAIL) == 0) in vm_fault_copy_entry()
1053 if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) { in vm_object_page_clean()
54 pflags &= ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in uma_small_alloc()
267 ((flags & IOMMU_PGF_WAITOK) != 0 ? VM_ALLOC_WAITFAIL : in dmar_pgalloc()
670 VM_ALLOC_NORMAL | VM_ALLOC_WAITFAIL); in shm_dotruncate_locked()773 aflags |= VM_ALLOC_WAITFAIL; in shm_dotruncate_largepage()
396 if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) in sgx_enclave_remove()