/freebsd/sys/powerpc/powernv/ |
H A D | opal_async.c | 65 M_WAITOK | M_FIRSTFIT); in opal_init_async_tokens() 80 vmem_alloc(async_token_pool, 1, M_FIRSTFIT | M_WAITOK, &token); in opal_alloc_async_token()
|
/freebsd/sys/dev/xdma/ |
H A D | xdma_iommu.c | 110 M_FIRSTFIT | M_NOWAIT, &addr)) { in xdma_iommu_add_entry() 143 PAGE_SIZE, M_FIRSTFIT | M_WAITOK); in xdma_iommu_init()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | resource.c | 261 M_FIRSTFIT|M_NOWAIT, &addr); in c4iw_pblpool_alloc() 288 1, 0, M_FIRSTFIT| M_NOWAIT); in c4iw_pblpool_create() 311 M_FIRSTFIT|M_NOWAIT, &addr); in c4iw_rqtpool_alloc() 343 1, 0, M_FIRSTFIT| M_NOWAIT); in c4iw_rqtpool_create()
|
/freebsd/sys/x86/iommu/ |
H A D | intel_intrmap.c | 82 error = vmem_alloc(unit->irtids, count, M_FIRSTFIT | M_NOWAIT, in iommu_alloc_msi_intr() 169 error = vmem_alloc(unit->irtids, 1, M_FIRSTFIT | M_NOWAIT, &vmem_res); in iommu_map_ioapic_intr() 351 M_FIRSTFIT | M_NOWAIT); in dmar_init_irt()
|
/freebsd/sys/arm/annapurna/alpine/ |
H A D | alpine_pci_msix.c | 215 1, 0, M_FIRSTFIT | M_WAITOK); in al_msix_attach() 305 if (vmem_alloc(sc->irq_alloc, count, M_FIRSTFIT | M_NOWAIT, in al_msix_alloc_msi()
|
/freebsd/sys/kern/ |
H A D | subr_vmem.c | 88 #define VMEM_FITMASK (M_BESTFIT | M_FIRSTFIT | M_NEXTFIT) 91 M_BESTFIT | M_FIRSTFIT | M_NEXTFIT) 430 if (strat == M_FIRSTFIT && ORDER2SIZE(idx) != qsize) { in bt_freehead_toalloc() 1331 MPASS(strat == M_BESTFIT || strat == M_FIRSTFIT || strat == M_NEXTFIT); in vmem_alloc() 1370 MPASS(strat == M_BESTFIT || strat == M_FIRSTFIT || strat == M_NEXTFIT); in vmem_xalloc() 1428 if (strat == M_FIRSTFIT) in vmem_xalloc() 1436 if (strat == M_FIRSTFIT) { in vmem_xalloc()
|
/freebsd/sys/arm64/intel/ |
H A D | stratix10-svc.c | 142 M_FIRSTFIT | M_NOWAIT, &mem->paddr)) { in s10_svc_allocate_memory()
|
/freebsd/sys/sys/ |
H A D | malloc.h | 59 #define M_FIRSTFIT 0x1000 /* only for vmem, fast fit */ macro
|
/freebsd/sys/amd64/sgx/ |
H A D | sgx.c | 172 if (vmem_alloc(sc->vmem_epc, PAGE_SIZE, M_FIRSTFIT | M_NOWAIT, in sgx_get_epc_page() 1098 PAGE_SIZE, PAGE_SIZE, M_FIRSTFIT | M_WAITOK); in sgx_get_epc_area()
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_keyctx.c | 643 if (vmem_alloc(sc->key_map, TLS_KEY_CONTEXT_SZ, M_NOWAIT | M_FIRSTFIT, in t4_alloc_tls_keyid()
|
/freebsd/sys/dev/xilinx/ |
H A D | axidma.c | 354 if (vmem_alloc(xchan->vmem, chan->mem_size, M_FIRSTFIT | M_NOWAIT, in axidma_desc_alloc()
|
/freebsd/sys/arm64/arm64/ |
H A D | gicv3_its.c | 1103 gicv3_get_nirqs(dev), 1, 0, M_FIRSTFIT | M_WAITOK); in gicv3_its_attach() 1439 if (vmem_alloc(sc->sc_irq_alloc, nvecs, M_FIRSTFIT | M_NOWAIT, in its_device_get()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_ddp.c | 1358 if (vmem_alloc(pr->pr_arena, PPOD_SZ(nppods), M_NOWAIT | M_FIRSTFIT, in alloc_page_pods() 2134 M_FIRSTFIT | M_NOWAIT); in t4_init_ppod_region()
|
/freebsd/sys/i386/i386/ |
H A D | pmap.c | 6025 0, 0, VMEM_ADDR_MIN, VMEM_ADDR_MAX, flags | M_FIRSTFIT, &res); in __CONCAT()
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 4246 vmem_alloc(asid_arena, 1, M_FIRSTFIT|M_WAITOK, &pid); in mmu_radix_pinit()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_main.c | 1529 sc->vres.key.size, 32, 0, M_FIRSTFIT | M_WAITOK); in t4_attach()
|