Home
last modified time | relevance | path

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

/freebsd/sys/vm/
H A Dvm_domainset.c214 *req = (di->di_flags & ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) | in vm_domainset_iter_page_init()
244 if ((di->di_flags & (VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) == 0) in vm_domainset_iter_page()
256 if ((di->di_flags & VM_ALLOC_WAITFAIL) != 0) in vm_domainset_iter_page()
H A Dvm_page.c954 if ((allocflags & VM_ALLOC_WAITFAIL) != 0) in vm_page_busy_acquire()
2092 VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL | \ in vm_page_alloc_domain_iter()
2155 if ((req & VM_ALLOC_WAITFAIL) != 0) in vm_page_alloc_domain_iter()
2201 if (req & VM_ALLOC_WAITFAIL) { in vm_page_alloc_domain_iter()
2413 if (req & VM_ALLOC_WAITFAIL) { in vm_page_alloc_contig_domain()
3581 if (req & (VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) { in vm_domain_alloc_fail()
4688 if ((allocflags & VM_ALLOC_WAITFAIL) != 0) in vm_page_grab_sleep()
4719 ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL | in vm_page_grab_pflags()
4722 pflags |= VM_ALLOC_WAITFAIL; in vm_page_grab_pflags()
4779 (allocflags & (VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL)) != 0) in vm_page_grab_iter()
[all …]
H A Dsg_pager.c133 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in sg_pager_dealloc()
H A Ddevice_pager.c311 if (!vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL)) { in cdev_mgtdev_pager_free_pages()
351 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in dev_pager_dealloc()
H A Dvm_kern.c236 pflags &= ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in kmem_alloc_contig_pages()
551 pflags &= ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL); in kmem_back_domain()
553 pflags |= VM_ALLOC_WAITFAIL; in kmem_back_domain()
H A Dvm_page.h491 #define VM_ALLOC_WAITFAIL 0x0010 /* (acgnp) Sleep and return error */ macro
H A Dswap_pager.c1935 if (!vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL)) in swap_pager_swapoff_object()
1939 VM_ALLOC_NORMAL | VM_ALLOC_WAITFAIL, in swap_pager_swapoff_object()
H A Dvm_fault.c2290 dst_m, VM_ALLOC_WAITFAIL) == 0) { in vm_fault_copy_entry()
H A Dvm_object.c1084 if (!vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL)) { in vm_object_page_clean()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_page.c348 if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) { in lkpi_vmf_insert_pfn_prot_locked()
358 vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) { in lkpi_vmf_insert_pfn_prot_locked()
/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo_vm.c235 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) { in ttm_bo_vm_fault()
/freebsd/sys/x86/iommu/
H A Diommu_utils.c85 ((flags & IOMMU_PGF_WAITOK) != 0 ? VM_ALLOC_WAITFAIL : in iommu_pgalloc()
/freebsd/sys/amd64/sgx/
H A Dsgx.c402 if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) { in sgx_enclave_remove()
/freebsd/sys/kern/
H A Duipc_shm.c825 aflags |= VM_ALLOC_WAITFAIL; in shm_dotruncate_largepage()