Home
last modified time | relevance | path

Searched refs:contigmalloc (Results 1 – 25 of 53) sorted by relevance

123

/src/tools/test/stress2/misc/
H A Dcontigmalloc3.sh45 dir=/tmp/contigmalloc
146 * Hook up a syscall for contigmalloc testing.
174 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
H A Dcontigmalloc2.sh43 dir=/tmp/contigmalloc
144 * Hook up a syscall for contigmalloc testing.
172 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
H A Dcontigmalloc.sh53 dir=/tmp/contigmalloc
177 * Hook up a syscall for contigmalloc testing.
205 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
/src/sys/powerpc/mpc85xx/
H A Dfsl_diu.c280 sc->sc_planes[0] = contigmalloc(sizeof(struct diu_area_descriptor), in diu_init()
406 sc->sc_info.fb_vbase = (intptr_t)contigmalloc(sc->sc_info.fb_size, in diu_attach()
413 sc->sc_gamma = contigmalloc(3 * 256, M_DEVBUF, 0, 0, in diu_attach()
420 sc->sc_cursor = contigmalloc(32 * 32 * 2, M_DEVBUF, M_ZERO, 0, in diu_attach()
/src/sys/dev/pst/
H A Dpst-iop.c242 if (!(sc->obase = contigmalloc(I2O_IOP_OUTBOUND_FRAME_COUNT * in iop_init_outqueue()
299 if (!(reply = contigmalloc(ALLOCSIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_lct()
343 if (!(param = contigmalloc(PAGE_SIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_util_params()
347 if (!(reply = contigmalloc(PAGE_SIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_util_params()
/src/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsServices.c63 ptr = contigmalloc(memInfo.mSize, M_QAT, M_WAITOK, 0, ~1UL, 64, 0); in qatUtilsMemAllocContiguousNUMA()
/src/sys/dev/hyperv/vmbus/
H A Dvmbus.c863 ptr = contigmalloc(PAGE_SIZE, M_DEVBUF, M_WAITOK | M_ZERO, in vmbus_dma_alloc()
869 ptr = contigmalloc(PAGE_SIZE, M_DEVBUF, M_WAITOK | M_ZERO, in vmbus_dma_alloc()
876 evtflags = contigmalloc(PAGE_SIZE, M_DEVBUF, M_WAITOK | M_ZERO, in vmbus_dma_alloc()
884 sc->vmbus_mnf1 = contigmalloc(PAGE_SIZE, M_DEVBUF, M_WAITOK | M_ZERO, in vmbus_dma_alloc()
889 sc->vmbus_mnf2 = contigmalloc(sizeof(struct vmbus_mnf), M_DEVBUF, in vmbus_dma_alloc()
1402 *hv_cpu_mem = contigmalloc(PAGE_SIZE, M_DEVBUF, in vmbus_alloc_cpu_mem()
H A Dvmbus_xact.c90 xact->x_req = contigmalloc(ctx->xc_req_size, M_DEVBUF, in vmbus_xact_alloc()
/src/sys/compat/x86bios/
H A Dx86bios.c124 vaddr = contigmalloc(size, M_DEVBUF, flags, 0, X86BIOS_MEM_SIZE, in x86bios_alloc()
540 vaddr = contigmalloc(size, M_DEVBUF, flags, X86BIOS_RAM_BASE, in x86bios_alloc()
715 x86bios_seg = contigmalloc(X86BIOS_SEG_SIZE, M_DEVBUF, M_NOWAIT, in x86bios_map_mem()
/src/sys/dev/vmware/vmci/
H A Dvmci_kernel_if.c213 ptr = contigmalloc(size, M_DEVBUF, M_NOWAIT, 0, 0xFFFFFFFF, in vmci_alloc_kernel_mem()
216 ptr = contigmalloc(size, M_DEVBUF, M_WAITOK, 0, 0xFFFFFFFF, in vmci_alloc_kernel_mem()
/src/sys/dev/hyperv/vmbus/amd64/
H A Dhyperv_machdep.c210 hyperv_ref_tsc.tsc_ref = contigmalloc(PAGE_SIZE, M_DEVBUF, in hyperv_tsc_tcinit()
/src/sys/powerpc/ofw/
H A Drtas.c107 rtas_bounce_virt = contigmalloc(rtas_size + PAGE_SIZE, M_RTAS, 0, 0, in rtas_setup()
/src/sys/powerpc/ps3/
H A Dps3pic.c122 sc->bitmap_thread0 = contigmalloc(128 /* 512 bits * 2 */, M_PS3PIC, in ps3pic_attach()
/src/sys/powerpc/powernv/
H A Dopal_nvram.c145 sc->sc_buf = contigmalloc(NVRAM_BUFSIZE, M_DEVBUF, M_WAITOK, in opal_nvram_attach()
H A Dxive.c375 xive_cpud->queue.q_page = contigmalloc(PAGE_SIZE, M_XIVE, in xive_attach()
752 prov_page = contigmalloc(sc->sc_prov_page_size, M_XIVE, 0, in xive_provision_page()
/src/sys/arm64/iommu/
H A Dsmmu.c321 q->vaddr = contigmalloc(sz, M_SMMU, in smmu_init_queue()
839 cd->vaddr = contigmalloc(size, M_SMMU, in smmu_init_cd()
899 strtab->vaddr = contigmalloc(size, M_SMMU, in smmu_init_strtab_linear()
949 strtab->vaddr = contigmalloc(l1size, M_SMMU, in smmu_init_strtab_2lvl()
1012 l1_desc->va = contigmalloc(size, M_SMMU, in smmu_init_l1_entry()
/src/sys/sys/
H A Dmalloc.h183 void *contigmalloc(unsigned long size, struct malloc_type *type, int flags,
/src/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h226 return (contigmalloc(size, M_KMALLOC, M_WAITOK, 0, UINT_MAX, 1, 1)); in vmalloc_32()
/src/sys/i386/acpica/
H A Dacpi_wakeup.c330 wakepages[i] = contigmalloc(PAGE_SIZE, M_DEVBUF, in acpi_alloc_wakeup_handler()
/src/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c237 return (contigmalloc(_s, M_KMALLOC, linux_check_m_flags(flags), in lkpi___kmalloc()
H A Dlinux_skbuff.c130 p = contigmalloc(len, M_LKPISKB, in linuxkpi_alloc_skb()
/src/sys/x86/iommu/
H A Damd_intrmap.c335 ptr = contigmalloc(sz, M_DEVBUF, M_WAITOK | M_ZERO, in amdiommu_ctx_init_irte()
/src/sys/dev/dcons/
H A Ddcons_os.c359 dg.buf = (struct dcons_buf *) contigmalloc(dg.size, in dcons_drv_init()
/src/sys/x86/isa/
H A Disa_dma.c103 buf = contigmalloc(bouncebufsize, M_DEVBUF, flag, 0ul, 0xfffffful, in isa_dma_init()
/src/sys/amd64/acpica/
H A Dacpi_wakeup.c338 *wakeaddr = contigmalloc(PAGE_SIZE, M_DEVBUF, in acpi_alloc_wakeup_handler()

123