Home
last modified time | relevance | path

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

/freebsd-14.2/sys/powerpc/powernv/
H A Dopal_async.c66 M_WAITOK | M_FIRSTFIT); in opal_init_async_tokens()
81 vmem_alloc(async_token_pool, 1, M_FIRSTFIT | M_WAITOK, &token); in opal_alloc_async_token()
/freebsd-14.2/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-14.2/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-14.2/sys/x86/iommu/
H A Dintel_intrmap.c84 error = vmem_alloc(unit->irtids, count, M_FIRSTFIT | M_NOWAIT, in dmar_alloc_msi_intr()
171 error = vmem_alloc(unit->irtids, 1, M_FIRSTFIT | M_NOWAIT, &vmem_res); in dmar_map_ioapic_intr()
367 M_FIRSTFIT | M_NOWAIT); in dmar_init_irt()
/freebsd-14.2/sys/arm/annapurna/alpine/
H A Dalpine_pci_msix.c216 1, 0, M_FIRSTFIT | M_WAITOK); in al_msix_attach()
306 if (vmem_alloc(sc->irq_alloc, count, M_FIRSTFIT | M_NOWAIT, in al_msix_alloc_msi()
/freebsd-14.2/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-14.2/sys/arm64/intel/
H A Dstratix10-svc.c143 M_FIRSTFIT | M_NOWAIT, &mem->paddr)) { in s10_svc_allocate_memory()
/freebsd-14.2/sys/sys/
H A Dmalloc.h61 #define M_FIRSTFIT 0x1000 /* only for vmem, fast fit */ macro
/freebsd-14.2/sys/amd64/sgx/
H A Dsgx.c173 if (vmem_alloc(sc->vmem_epc, PAGE_SIZE, M_FIRSTFIT | M_NOWAIT, in sgx_get_epc_page()
1099 PAGE_SIZE, PAGE_SIZE, M_FIRSTFIT | M_WAITOK); in sgx_get_epc_area()
/freebsd-14.2/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c644 if (vmem_alloc(sc->key_map, TLS_KEY_CONTEXT_SZ, M_NOWAIT | M_FIRSTFIT, in t4_alloc_tls_keyid()
/freebsd-14.2/sys/dev/xilinx/
H A Daxidma.c354 if (vmem_alloc(xchan->vmem, chan->mem_size, M_FIRSTFIT | M_NOWAIT, in axidma_desc_alloc()
/freebsd-14.2/sys/arm64/arm64/
H A Dgicv3_its.c1105 gicv3_get_nirqs(dev), 1, 0, M_FIRSTFIT | M_WAITOK); in gicv3_its_attach()
1443 if (vmem_alloc(sc->sc_irq_alloc, nvecs, M_FIRSTFIT | M_NOWAIT, in its_device_get()
/freebsd-14.2/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-14.2/sys/i386/i386/
H A Dpmap.c5926 0, 0, VMEM_ADDR_MIN, VMEM_ADDR_MAX, flags | M_FIRSTFIT, &res); in __CONCAT()
/freebsd-14.2/sys/powerpc/aim/
H A Dmmu_radix.c4214 vmem_alloc(asid_arena, 1, M_FIRSTFIT|M_WAITOK, &pid); in mmu_radix_pinit()
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_main.c1545 sc->vres.key.size, 32, 0, M_FIRSTFIT | M_WAITOK); in t4_attach()