VM_ALLOC_WAITFAIL
if (vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL) == 0) {
if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) {
vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) {
if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0) {
aflags |= VM_ALLOC_WAITFAIL;
if (!vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL)) {
if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0)
if (vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL) == 0)
if (!vm_page_busy_acquire(m, VM_ALLOC_WAITFAIL))
VM_ALLOC_NORMAL | VM_ALLOC_WAITFAIL,
*req = (di->di_flags & ~(VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) |
if ((di->di_flags & (VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) == 0)
if ((di->di_flags & VM_ALLOC_WAITFAIL) != 0)
dst_m, VM_ALLOC_WAITFAIL) == 0) {
pflags &= ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL);
pflags &= ~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL);
pflags |= VM_ALLOC_WAITFAIL;
if (!vm_page_busy_acquire(p, VM_ALLOC_WAITFAIL)) {
VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL | \
if ((req & VM_ALLOC_WAITFAIL) != 0)
if (req & VM_ALLOC_WAITFAIL) {
if (req & VM_ALLOC_WAITFAIL) {
if (req & (VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL)) {
if ((allocflags & VM_ALLOC_WAITFAIL) != 0)
~(VM_ALLOC_NOWAIT | VM_ALLOC_WAITOK | VM_ALLOC_WAITFAIL |
pflags |= VM_ALLOC_WAITFAIL;
(allocflags & (VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL)) != 0)
(VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL)) != 0)
(VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL | VM_ALLOC_ZERO)) == 0,
pflags |= VM_ALLOC_WAITFAIL;
allocflags = VM_ALLOC_NOCREAT | VM_ALLOC_NORMAL | VM_ALLOC_WAITFAIL;
(VM_ALLOC_NOWAIT | VM_ALLOC_WAITFAIL | VM_ALLOC_ZERO)) == 0,
VM_ALLOC_WAITFAIL)) != 0)
if ((allocflags & VM_ALLOC_WAITFAIL) != 0)
((flags & IOMMU_PGF_WAITOK) != 0 ? VM_ALLOC_WAITFAIL :