Home
last modified time | relevance | path

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

123

/freebsd-14.2/tools/test/stress2/misc/
H A Dcontigmalloc3.sh45 dir=/tmp/contigmalloc
146 * Hook up a syscall for contigmalloc testing.
176 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
H A Dcontigmalloc2.sh43 dir=/tmp/contigmalloc
145 * Hook up a syscall for contigmalloc testing.
175 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.
207 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
/freebsd-14.2/sys/powerpc/mpc85xx/
H A Dfsl_diu.c281 sc->sc_planes[0] = contigmalloc(sizeof(struct diu_area_descriptor), in diu_init()
407 sc->sc_info.fb_vbase = (intptr_t)contigmalloc(sc->sc_info.fb_size, in diu_attach()
414 sc->sc_gamma = contigmalloc(3 * 256, M_DEVBUF, 0, 0, in diu_attach()
421 sc->sc_cursor = contigmalloc(32 * 32 * 2, M_DEVBUF, M_ZERO, 0, in diu_attach()
/freebsd-14.2/sys/dev/pst/
H A Dpst-iop.c243 if (!(sc->obase = contigmalloc(I2O_IOP_OUTBOUND_FRAME_COUNT * in iop_init_outqueue()
300 if (!(reply = contigmalloc(ALLOCSIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_lct()
344 if (!(param = contigmalloc(PAGE_SIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_util_params()
348 if (!(reply = contigmalloc(PAGE_SIZE, M_PSTIOP, M_NOWAIT | M_ZERO, in iop_get_util_params()
/freebsd-14.2/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()
/freebsd-14.2/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()
1412 *hv_cpu_mem = contigmalloc(PAGE_SIZE, M_DEVBUF, in vmbus_alloc_cpu_mem()
H A Dvmbus_xact.c91 xact->x_req = contigmalloc(ctx->xc_req_size, M_DEVBUF, in vmbus_xact_alloc()
/freebsd-14.2/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()
/freebsd-14.2/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()
/freebsd-14.2/sys/dev/hyperv/vmbus/amd64/
H A Dhyperv_machdep.c211 hyperv_ref_tsc.tsc_ref = contigmalloc(PAGE_SIZE, M_DEVBUF, in hyperv_tsc_tcinit()
/freebsd-14.2/sys/powerpc/ofw/
H A Drtas.c107 rtas_bounce_virt = contigmalloc(rtas_size + PAGE_SIZE, M_RTAS, 0, 0, in rtas_setup()
/freebsd-14.2/sys/powerpc/ps3/
H A Dps3pic.c122 sc->bitmap_thread0 = contigmalloc(128 /* 512 bits * 2 */, M_PS3PIC, in ps3pic_attach()
/freebsd-14.2/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()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h151 return (contigmalloc(size, M_KMALLOC, M_WAITOK, 0, UINT_MAX, 1, 1)); in vmalloc_32()
/freebsd-14.2/sys/sys/
H A Dmalloc.h180 void *contigmalloc(unsigned long size, struct malloc_type *type, int flags,
/freebsd-14.2/sys/arm64/iommu/
H A Dsmmu.c331 q->vaddr = contigmalloc(sz, M_SMMU, in smmu_init_queue()
849 cd->vaddr = contigmalloc(size, M_SMMU, in smmu_init_cd()
910 strtab->vaddr = contigmalloc(size, M_SMMU, in smmu_init_strtab_linear()
960 strtab->vaddr = contigmalloc(l1size, M_SMMU, in smmu_init_strtab_2lvl()
1024 l1_desc->va = contigmalloc(size, M_SMMU, in smmu_init_l1_entry()
/freebsd-14.2/sys/i386/acpica/
H A Dacpi_wakeup.c330 wakepages[i] = contigmalloc(PAGE_SIZE, M_DEVBUF, in acpi_alloc_wakeup_handler()
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_skbuff.c110 skb = contigmalloc(len, M_LKPISKB, in linuxkpi_alloc_skb()
/freebsd-14.2/sys/arm/freescale/imx/
H A Dimx51_ipuv3_fbd.c138 sc->sc_info.fb_vbase = (intptr_t)contigmalloc(sc->sc_info.fb_size, in ipu3_fb_init()
/freebsd-14.2/sys/x86/isa/
H A Disa_dma.c107 buf = contigmalloc(bouncebufsize, M_DEVBUF, flag, 0ul, 0xfffffful, in isa_dma_init()
/freebsd-14.2/sys/dev/dcons/
H A Ddcons_os.c359 dg.buf = (struct dcons_buf *) contigmalloc(dg.size, in dcons_drv_init()
/freebsd-14.2/sys/amd64/acpica/
H A Dacpi_wakeup.c340 *wakeaddr = contigmalloc(PAGE_SIZE, M_DEVBUF, in acpi_alloc_wakeup_handler()
/freebsd-14.2/sys/dev/adlink/
H A Dadlink.c257 pg->virt = contigmalloc(sc->p0->chunksize, in adlink_ioctl()

123