| /freebsd-13.1/sys/powerpc/powernv/ |
| H A D | opal_async.c | 68 M_WAITOK | M_FIRSTFIT); in opal_init_async_tokens() 83 vmem_alloc(async_token_pool, 1, M_FIRSTFIT | M_WAITOK, &token); in opal_alloc_async_token()
|
| /freebsd-13.1/sys/dev/xdma/ |
| H A D | xdma_iommu.c | 112 M_FIRSTFIT | M_NOWAIT, &addr)) { in xdma_iommu_add_entry() 145 PAGE_SIZE, M_FIRSTFIT | M_WAITOK); in xdma_iommu_init()
|
| /freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | resource.c | 263 M_FIRSTFIT|M_NOWAIT, &addr); in c4iw_pblpool_alloc() 290 1, 0, M_FIRSTFIT| M_NOWAIT); in c4iw_pblpool_create() 313 M_FIRSTFIT|M_NOWAIT, &addr); in c4iw_rqtpool_alloc() 345 1, 0, M_FIRSTFIT| M_NOWAIT); in c4iw_rqtpool_create()
|
| /freebsd-13.1/sys/x86/iommu/ |
| H A D | intel_intrmap.c | 84 error = vmem_alloc(unit->irtids, count, M_FIRSTFIT | M_NOWAIT, in iommu_alloc_msi_intr() 171 error = vmem_alloc(unit->irtids, 1, M_FIRSTFIT | M_NOWAIT, &vmem_res); in iommu_map_ioapic_intr() 353 M_FIRSTFIT | M_NOWAIT); in dmar_init_irt()
|
| /freebsd-13.1/sys/arm/annapurna/alpine/ |
| H A D | alpine_pci_msix.c | 220 1, 0, M_FIRSTFIT | M_WAITOK); in al_msix_attach() 310 if (vmem_alloc(sc->irq_alloc, count, M_FIRSTFIT | M_NOWAIT, in al_msix_alloc_msi()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_vmem.c | 90 #define VMEM_FITMASK (M_BESTFIT | M_FIRSTFIT | M_NEXTFIT) 93 M_BESTFIT | M_FIRSTFIT | M_NEXTFIT) 432 if (strat == M_FIRSTFIT && ORDER2SIZE(idx) != qsize) { in bt_freehead_toalloc() 1333 MPASS(strat == M_BESTFIT || strat == M_FIRSTFIT || strat == M_NEXTFIT); in vmem_alloc() 1372 MPASS(strat == M_BESTFIT || strat == M_FIRSTFIT || strat == M_NEXTFIT); in vmem_xalloc() 1430 if (strat == M_FIRSTFIT) in vmem_xalloc() 1438 if (strat == M_FIRSTFIT) { in vmem_xalloc()
|
| /freebsd-13.1/sys/arm64/intel/ |
| H A D | stratix10-svc.c | 145 M_FIRSTFIT | M_NOWAIT, &mem->paddr)) { in s10_svc_allocate_memory()
|
| /freebsd-13.1/sys/sys/ |
| H A D | malloc.h | 62 #define M_FIRSTFIT 0x1000 /* only for vmem, fast fit */ macro
|
| /freebsd-13.1/sys/amd64/sgx/ |
| H A D | sgx.c | 175 if (vmem_alloc(sc->vmem_epc, PAGE_SIZE, M_FIRSTFIT | M_NOWAIT, in sgx_get_epc_page() 1103 PAGE_SIZE, PAGE_SIZE, M_FIRSTFIT | M_WAITOK); in sgx_get_epc_area()
|
| /freebsd-13.1/sys/dev/xilinx/ |
| H A D | axidma.c | 358 if (vmem_alloc(xchan->vmem, chan->mem_size, M_FIRSTFIT | M_NOWAIT, in axidma_desc_alloc()
|
| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | gicv3_its.c | 912 gicv3_get_nirqs(dev), 1, 0, M_FIRSTFIT | M_WAITOK); in gicv3_its_attach() 1161 if (vmem_alloc(sc->sc_irq_alloc, nvecs, M_FIRSTFIT | M_NOWAIT, in its_device_get()
|
| /freebsd-13.1/sys/dev/cxgbe/tom/ |
| H A D | t4_ddp.c | 865 if (vmem_alloc(pr->pr_arena, PPOD_SZ(nppods), M_NOWAIT | M_FIRSTFIT, in alloc_page_pods() 1435 M_FIRSTFIT | M_NOWAIT); in t4_init_ppod_region()
|
| H A D | t4_tls.c | 448 if (vmem_alloc(sc->key_map, TLS_KEY_CONTEXT_SZ, M_NOWAIT | M_FIRSTFIT, in get_new_keyid()
|
| /freebsd-13.1/sys/dev/cxgbe/crypto/ |
| H A D | t4_kern_tls.c | 218 M_NOWAIT | M_FIRSTFIT, &addr) != 0) in get_new_keyid()
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | pmap.c | 5939 0, 0, VMEM_ADDR_MIN, VMEM_ADDR_MAX, flags | M_FIRSTFIT, &res); in __CONCAT()
|
| /freebsd-13.1/sys/powerpc/aim/ |
| H A D | mmu_radix.c | 4177 vmem_alloc(asid_arena, 1, M_FIRSTFIT|M_WAITOK, &pid); in mmu_radix_pinit()
|
| /freebsd-13.1/sys/dev/cxgbe/ |
| H A D | t4_main.c | 1467 sc->vres.key.size, 32, 0, M_FIRSTFIT | M_WAITOK); in t4_attach()
|