Home
last modified time | relevance | path

Searched refs:VM_ALLOC_WAITFAIL (Results 1 – 14 of 14) sorted by relevance

/f-stack/freebsd/vm/
H A Dvm_domainset.c215 *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()
H A Dvm_kern.c185 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()
H A Dsg_pager.c132 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in sg_pager_dealloc()
H A Dvm_page.c899 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 …]
H A Dvm_glue.c433 req_class | VM_ALLOC_WIRED | VM_ALLOC_WAITFAIL, in vm_thread_stack_back()
H A Ddevice_pager.c274 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in dev_pager_dealloc()
H A Dvm_page.h541 #define VM_ALLOC_WAITFAIL 0x0010 /* (acf) Sleep and return error */ macro
H A Dswap_pager.c1821 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()
H A Dvm_fault.c2026 if (vm_page_busy_acquire(dst_m, VM_ALLOC_WAITFAIL) == 0) in vm_fault_copy_entry()
H A Dvm_object.c1053 if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) { in vm_object_page_clean()
/f-stack/freebsd/mips/mips/
H A Duma_machdep.c54 pflags &= ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in uma_small_alloc()
/f-stack/freebsd/x86/iommu/
H A Dintel_utils.c267 ((flags & IOMMU_PGF_WAITOK) != 0 ? VM_ALLOC_WAITFAIL : in dmar_pgalloc()
/f-stack/freebsd/kern/
H A Duipc_shm.c670 VM_ALLOC_NORMAL | VM_ALLOC_WAITFAIL); in shm_dotruncate_locked()
773 aflags |= VM_ALLOC_WAITFAIL; in shm_dotruncate_largepage()
/f-stack/freebsd/amd64/sgx/
H A Dsgx.c396 if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) in sgx_enclave_remove()