Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/cxgbe/iw_cxgbe/
H A Dresource.c263 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-12.1/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-12.1/sys/arm/annapurna/alpine/
H A Dalpine_pci_msix.c220 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-12.1/sys/kern/
H A Dsubr_vmem.c92 #define VMEM_FITMASK (M_BESTFIT | M_FIRSTFIT | M_NEXTFIT)
95 M_BESTFIT | M_FIRSTFIT | M_NEXTFIT)
397 if (strat == M_FIRSTFIT && ORDER2SIZE(idx) != qsize) { in bt_freehead_toalloc()
1285 MPASS(strat == M_BESTFIT || strat == M_FIRSTFIT || strat == M_NEXTFIT); in vmem_alloc()
1324 MPASS(strat == M_BESTFIT || strat == M_FIRSTFIT || strat == M_NEXTFIT); in vmem_xalloc()
1385 if (strat == M_FIRSTFIT) in vmem_xalloc()
1393 if (strat == M_FIRSTFIT) { in vmem_xalloc()
/freebsd-12.1/sys/sys/
H A Dmalloc.h60 #define M_FIRSTFIT 0x1000 /* only for vmem, fast fit */ macro
/freebsd-12.1/sys/amd64/sgx/
H A Dsgx.c175 if (vmem_alloc(sc->vmem_epc, PAGE_SIZE, M_FIRSTFIT | M_NOWAIT, in sgx_get_epc_page()
1096 PAGE_SIZE, PAGE_SIZE, M_FIRSTFIT | M_WAITOK); in sgx_get_epc_area()
/freebsd-12.1/sys/dev/xilinx/
H A Daxidma.c358 if (vmem_alloc(xchan->vmem, chan->mem_size, M_FIRSTFIT | M_NOWAIT, in axidma_desc_alloc()
/freebsd-12.1/sys/arm64/arm64/
H A Dgicv3_its.c769 gicv3_get_nirqs(dev), 1, 1, M_FIRSTFIT | M_WAITOK); in gicv3_its_attach()
1010 if (vmem_alloc(sc->sc_irq_alloc, nvecs, M_FIRSTFIT | M_NOWAIT, in its_device_get()
/freebsd-12.1/sys/dev/cxgbe/tom/
H A Dt4_ddp.c860 if (vmem_alloc(pr->pr_arena, PPOD_SZ(nppods), M_NOWAIT | M_FIRSTFIT, in alloc_page_pods()
1252 M_FIRSTFIT | M_NOWAIT); in t4_init_ppod_region()
H A Dt4_tls.c439 if (vmem_alloc(sc->key_map, TLS_KEY_CONTEXT_SZ, M_NOWAIT | M_FIRSTFIT, in get_new_keyid()
/freebsd-12.1/sys/i386/i386/
H A Dpmap.c6024 0, 0, VMEM_ADDR_MIN, VMEM_ADDR_MAX, flags | M_FIRSTFIT, &res); in pmap_trm_alloc()
/freebsd-12.1/sys/dev/cxgbe/
H A Dt4_main.c1247 sc->vres.key.size, 32, 0, M_FIRSTFIT | M_WAITOK); in t4_attach()