Home
last modified time | relevance | path

Searched refs:M_FIRSTFIT (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/powerpc/powernv/
H A Dopal_async.c65 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 Dxdma_iommu.c110 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 Dresource.c261 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 Dintel_intrmap.c82 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 Dalpine_pci_msix.c215 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 Dsubr_vmem.c88 #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 Dstratix10-svc.c142 M_FIRSTFIT | M_NOWAIT, &mem->paddr)) { in s10_svc_allocate_memory()
/freebsd/sys/sys/
H A Dmalloc.h59 #define M_FIRSTFIT 0x1000 /* only for vmem, fast fit */ macro
/freebsd/sys/amd64/sgx/
H A Dsgx.c172 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 Dt4_keyctx.c643 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 Daxidma.c354 if (vmem_alloc(xchan->vmem, chan->mem_size, M_FIRSTFIT | M_NOWAIT, in axidma_desc_alloc()
/freebsd/sys/arm64/arm64/
H A Dgicv3_its.c1103 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 Dt4_ddp.c1358 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 Dpmap.c6025 0, 0, VMEM_ADDR_MIN, VMEM_ADDR_MAX, flags | M_FIRSTFIT, &res); in __CONCAT()
/freebsd/sys/powerpc/aim/
H A Dmmu_radix.c4246 vmem_alloc(asid_arena, 1, M_FIRSTFIT|M_WAITOK, &pid); in mmu_radix_pinit()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c1529 sc->vres.key.size, 32, 0, M_FIRSTFIT | M_WAITOK); in t4_attach()