| /netbsd-src/sys/arch/evbarm/tsarm/isa/ |
| H A D | isa_io.c | 252 VM_NOSLEEP | VM_PRIVTAGS, in isa_io_init() 257 error = vmem_add(isaio_arena, 0x0, 0x10000, VM_NOSLEEP); in isa_io_init() 269 VM_NOSLEEP | VM_PRIVTAGS, in isa_io_init() 274 error = vmem_add(isamem_arena, 0x0, 0x100000, VM_NOSLEEP); in isa_io_init() 306 err = vmem_xalloc_addr(vm, bpa, size, VM_NOSLEEP); in isa_bs_map() 354 VM_BESTFIT | VM_NOSLEEP, in isa_bs_alloc()
|
| /netbsd-src/sys/arch/alpha/pci/ |
| H A D | irongate_bus_mem.c | 97 start, (IOM_BEGIN - start), VM_NOSLEEP); in irongate_bus_mem_init2() 107 IOM_END, (end - IOM_END), VM_NOSLEEP); in irongate_bus_mem_init2() 117 start, size, VM_NOSLEEP); in irongate_bus_mem_init2()
|
| H A D | pci_swiz_bus_mem_chipdep.c | 378 VM_NOSLEEP | VM_PRIVTAGS, in __C() 391 VM_NOSLEEP); in __C() 410 VM_NOSLEEP | VM_PRIVTAGS, in __C() 423 VM_NOSLEEP); in __C() 434 VM_NOSLEEP); in __C() 452 VM_NOSLEEP); in __C() 734 VM_NOSLEEP); in __C() 740 VM_NOSLEEP); in __C()
|
| H A D | pci_swiz_bus_io_chipdep.c | 341 VM_NOSLEEP | VM_PRIVTAGS, in __C() 353 CHIP_IO_W1_BUS_END(v) - CHIP_IO_W1_BUS_START(v) + 1, VM_NOSLEEP); in __C() 363 CHIP_IO_W2_BUS_END(v) - CHIP_IO_W2_BUS_START(v) + 1, VM_NOSLEEP); in __C() 472 error = vmem_xalloc_addr(CHIP_IO_ARENA(v), ioaddr, iosize, VM_NOSLEEP); in __C() 576 VM_BESTFIT | VM_NOSLEEP, in __C()
|
| H A D | tsp_bus_mem.c | 92 VM_NOSLEEP); in tsp_bus_mem_init2()
|
| H A D | pci_bwx_bus_io_chipdep.c | 321 VM_NOSLEEP | VM_PRIVTAGS, in __C() 326 error = vmem_add(vm, 0, 0x100000000UL, VM_NOSLEEP); in __C() 402 error = vmem_xalloc_addr(CHIP_IO_ARENA(v), ioaddr, iosize, VM_NOSLEEP); in __C() 489 VM_BESTFIT | VM_NOSLEEP, in __C()
|
| H A D | pci_bwx_bus_mem_chipdep.c | 321 VM_NOSLEEP | VM_PRIVTAGS, in __C() 326 error = vmem_add(vm, 0, 0x100000000UL, VM_NOSLEEP); in __C() 390 VM_NOSLEEP); in __C() 470 VM_BESTFIT | VM_NOSLEEP, in __C()
|
| /netbsd-src/sys/arch/arc/arc/ |
| H A D | wired_map_machdep.c | 70 VM_NOSLEEP | VM_PRIVTAGS, in arc_init_wired_map() 78 VM_NOSLEEP); in arc_init_wired_map() 97 error = vmem_xalloc_addr(arc_wired_map_arena, va, pg_size, VM_NOSLEEP); in arc_wired_enter_page() 216 VM_BESTFIT | VM_NOSLEEP, in arc_map_wired()
|
| H A D | bus_space.c | 354 VM_NOSLEEP | VM_PRIVTAGS, in arc_bus_space_init_arena() 360 VM_NOSLEEP); in arc_bus_space_init_arena() 456 err = vmem_xalloc_addr(bst->bs_arena, addr, size, VM_NOSLEEP); in arc_bus_space_map() 533 VM_BESTFIT | VM_NOSLEEP, in arc_bus_space_alloc()
|
| /netbsd-src/sys/arch/atari/atari/ |
| H A D | bus.c | 111 VM_NOSLEEP | VM_PRIVTAGS, in bootm_init() 115 vmem_add(bootm_arena, va, size, VM_NOSLEEP); in bootm_init() 126 if (vmem_alloc(bootm_arena, size, VM_NOSLEEP, &rva) != 0) { in bootm_alloc() 190 VM_NOSLEEP | VM_PRIVTAGS, in atari_bus_space_arena_init() 200 vmem_add(iomem_arena, startpa, size, VM_NOSLEEP); in atari_bus_space_arena_init() 208 VM_NOSLEEP); in atari_bus_space_alloc_physmem() 222 VM_NOSLEEP); in bus_space_map() 250 VM_BESTFIT | VM_NOSLEEP, in bus_space_alloc()
|
| /netbsd-src/sys/kern/ |
| H A D | subr_vmem.c | 231 const vm_flag_t vflags = (flags & PR_WAITOK) ? VM_SLEEP: VM_NOSLEEP; in pool_page_free_vmem_meta() 329 if ((flags & VM_NOSLEEP) != 0) { in bt_alloc() 583 vmflags = VM_NOSLEEP; in vmf_to_prf() 731 0, VM_NOSLEEP | VM_BOOTSTRAP | VM_LARGEIMPORT, 737 0, VM_NOSLEEP | VM_BOOTSTRAP, IPL_VM); in vmem_add1() 753 KASSERT((flags & (VM_SLEEP|VM_NOSLEEP)) != 0); in vmem_add1() 754 KASSERT((~flags & (VM_SLEEP|VM_NOSLEEP)) != 0); in vmem_add1() 984 KASSERT((flags & (VM_SLEEP|VM_NOSLEEP)) != 0); in vmem_init() 985 KASSERT((~flags & (VM_SLEEP|VM_NOSLEEP)) != 0); in vmem_init() 1128 KASSERT((flags & (VM_SLEEP|VM_NOSLEEP)) ! in vmem_alloc() [all...] |
| H A D | subr_percpu.c | 178 if ((vmflags & VM_NOSLEEP) != 0) in percpu_backend_alloc()
|
| /netbsd-src/sys/arch/vax/vax/ |
| H A D | sgmap.c | 136 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in vax_sgmap_alloc() 176 return vmem_xalloc_addr(sgmap->aps_arena, ba, len, VM_NOSLEEP); in vax_sgmap_reserve()
|
| /netbsd-src/sys/arch/sun3/sun3x/ |
| H A D | dvma.c | 190 (canwait ? VM_SLEEP : VM_NOSLEEP); in dvma_mapin() 324 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in _bus_dmamap_load()
|
| /netbsd-src/sys/dev/vme/ |
| H A D | vme.c | 305 return vmem_xalloc_addr(vm, addr, len, VM_NOSLEEP); in _vme_space_alloc() 339 VM_BESTFIT | VM_NOSLEEP, in _vme_space_get()
|
| /netbsd-src/sys/arch/sun3/sun3/ |
| H A D | dvma.c | 195 (/* canwait ? VM_SLEEP : */ VM_NOSLEEP); in dvma_mapin() 312 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in _bus_dmamap_load()
|
| /netbsd-src/sys/arch/dreamcast/dev/g2/ |
| H A D | gapspci_dma.c | 183 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in gaps_dmamap_create() 252 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in gaps_dmamap_load() 305 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in gaps_dmamap_load_mbuf()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | pciconf.c | 232 r->arena = create_vmem_arena(name, start, size, VM_NOSLEEP); in init_range_resource() 883 VM_BESTFIT | VM_NOSLEEP, in pci_allocate_range() 888 VM_BESTFIT | VM_NOSLEEP, in pci_allocate_range() 893 VM_BESTFIT | VM_NOSLEEP, in pci_allocate_range() 900 VM_BESTFIT | VM_NOSLEEP, in pci_allocate_range() 1378 VM_INSTANTFIT | VM_NOSLEEP, &result) == 0) { in mem_region_ok64() 1489 VM_BESTFIT | VM_NOSLEEP, in pciconf_resource_add()
|
| /netbsd-src/sys/sys/ |
| H A D | vmem.h | 89 #define VM_NOSLEEP 0x00000002 macro
|
| /netbsd-src/sys/arch/arc/jazz/ |
| H A D | jazzdmatlb.c | 110 ((flags & BUS_DMA_WAITOK) ? VM_SLEEP : VM_NOSLEEP); in jazz_dmatlb_alloc()
|
| /netbsd-src/sys/arch/alpha/jensenio/ |
| H A D | jensenio_bus_intio.c | 157 VM_NOSLEEP); in jensenio_intio_map()
|
| /netbsd-src/sys/arch/sun2/sun2/ |
| H A D | machdep.c | 839 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in _bus_dmamap_load_raw() 929 ((flags & BUS_DMA_NOWAIT) ? VM_NOSLEEP : VM_SLEEP); in _bus_dmamap_load()
|
| /netbsd-src/sys/uvm/ |
| H A D | uvm_km.c | 349 0, VM_NOSLEEP | VM_BOOTSTRAP, IPL_VM); in uvm_km_bootstrap() 371 VM_NOSLEEP, IPL_VM);
|
| /netbsd-src/sys/external/bsd/drm2/drm/ |
| H A D | drm_vma_manager.c | 171 error = vmem_alloc(mgr->vom_vmem, npages, VM_NOSLEEP|VM_BESTFIT, in drm_vma_offset_add()
|
| H A D | drm_gem_cma_helper.c | 60 VM_BESTFIT | VM_NOSLEEP, &obj->vmem_addr); in drm_gem_cma_create_internal()
|