Searched refs:VM_ALLOC_WAITFAIL (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/vm/ |
H A D | vm_domainset.c | 214 *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 D | vm_page.c | 954 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 D | sg_pager.c | 133 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) in sg_pager_dealloc()
|
H A D | device_pager.c | 311 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 D | vm_kern.c | 236 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 D | vm_page.h | 491 #define VM_ALLOC_WAITFAIL 0x0010 /* (acgnp) Sleep and return error */ macro
|
H A D | swap_pager.c | 1935 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 D | vm_fault.c | 2290 dst_m, VM_ALLOC_WAITFAIL) == 0) { in vm_fault_copy_entry()
|
H A D | vm_object.c | 1084 if (!vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL)) { in vm_object_page_clean()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_page.c | 348 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 D | ttm_bo_vm.c | 235 if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) { in ttm_bo_vm_fault()
|
/freebsd/sys/x86/iommu/ |
H A D | iommu_utils.c | 85 ((flags & IOMMU_PGF_WAITOK) != 0 ? VM_ALLOC_WAITFAIL : in iommu_pgalloc()
|
/freebsd/sys/amd64/sgx/ |
H A D | sgx.c | 402 if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) { in sgx_enclave_remove()
|
/freebsd/sys/kern/ |
H A D | uipc_shm.c | 825 aflags |= VM_ALLOC_WAITFAIL; in shm_dotruncate_largepage()
|