/freebsd/tools/test/stress2/misc/ |
H A D | contigmalloc3.sh | 29 # contigmalloc(9) / free(9) test scenario. 45 dir=/tmp/contigmalloc 83 err(1, "contigmalloc(%lu MB) failed", 87 fprintf(stderr, "contigmalloc(%lu pages) %luMB\n", 146 * Hook up a syscall for contigmalloc testing. 174 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
|
H A D | contigmalloc2.sh | 29 # contigmalloc(9) / free(9) test scenario. 43 dir=/tmp/contigmalloc 81 warn("contigmalloc(%lu pages) failed", 85 fprintf(stderr, "pre contigmalloc(%lu pages): %lu MiB\n", 144 * Hook up a syscall for contigmalloc testing. 172 p = contigmalloc(size, M_TEMP, M_NOWAIT, 0ul, ~0ul, 4096, 0);
|
H A D | contigmalloc.sh | 29 # contigmalloc(9) / free(9) test scenario. 33 # contigmalloc(186 pages) 34 # contigmalloc(56 pages) 35 # contigmalloc(9 pages) 36 # contigmalloc(202 pages) 37 # contigmalloc(49 pages) 38 # contigmalloc(5 pages) 41 # http://people.freebsd.org/~pho/stress/log/contigmalloc.txt 53 dir=/tmp/contigmalloc 101 warn("contigmalloc( [all...] |
/freebsd/sys/powerpc/mpc85xx/ |
H A D | fsl_diu.c | 280 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()
|
/freebsd/sys/dev/pst/ |
H A D | pst-iop.c | 242 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()
|
/freebsd/sys/dev/qat/qat_api/qat_utils/src/ |
H A D | QatUtilsServices.c | 63 ptr = contigmalloc(memInfo.mSize, M_QAT, M_WAITOK, 0, ~1UL, 64, 0); in qatUtilsMemAllocContiguousNUMA()
|
/freebsd/sys/dev/hyperv/vmbus/ |
H A D | vmbus.c | 863 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 D | vmbus_xact.c | 90 xact->x_req = contigmalloc(ctx->xc_req_size, M_DEVBUF, in vmbus_xact_alloc()
|
/freebsd/sys/compat/x86bios/ |
H A D | x86bios.c | 124 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/sys/dev/vmware/vmci/ |
H A D | vmci_kernel_if.c | 213 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/sys/dev/hyperv/vmbus/amd64/ |
H A D | hyperv_machdep.c | 210 hyperv_ref_tsc.tsc_ref = contigmalloc(PAGE_SIZE, M_DEVBUF, in hyperv_tsc_tcinit()
|
/freebsd/sys/powerpc/ofw/ |
H A D | rtas.c | 107 rtas_bounce_virt = contigmalloc(rtas_size + PAGE_SIZE, M_RTAS, 0, 0, in rtas_setup()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3pic.c | 122 sc->bitmap_thread0 = contigmalloc(128 /* 512 bits * 2 */, M_PS3PIC, in ps3pic_attach()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_nvram.c | 145 sc->sc_buf = contigmalloc(NVRAM_BUFSIZE, M_DEVBUF, M_WAITOK, in opal_nvram_attach()
|
H A D | xive.c | 375 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/sys/arm64/iommu/ |
H A D | smmu.c | 321 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()
|
/freebsd/sys/sys/ |
H A D | malloc.h | 183 void *contigmalloc(unsigned long size, struct malloc_type *type, int flags,
|
/freebsd/sys/i386/acpica/ |
H A D | acpi_wakeup.c | 330 wakepages[i] = contigmalloc(PAGE_SIZE, M_DEVBUF, in acpi_alloc_wakeup_handler()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | slab.h | 222 return (contigmalloc(size, M_KMALLOC, M_WAITOK, 0, UINT_MAX, 1, 1)); in vmalloc_32()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_slab.c | 237 return (contigmalloc(_s, M_KMALLOC, linux_check_m_flags(flags), in lkpi___kmalloc()
|
H A D | linux_skbuff.c | 130 p = contigmalloc(len, M_LKPISKB, in linuxkpi_alloc_skb()
|
/freebsd/sys/x86/iommu/ |
H A D | amd_intrmap.c | 328 ptr = contigmalloc(sz, M_DEVBUF, M_WAITOK | M_ZERO, in amdiommu_ctx_init_irte()
|
/freebsd/sys/dev/dcons/ |
H A D | dcons_os.c | 347 * called from cninit(). can't use contigmalloc yet . in dcons_drv_init() 359 dg.buf = (struct dcons_buf *) contigmalloc(dg.size, in dcons_drv_init()
|
/freebsd/sys/x86/isa/ |
H A D | isa_dma.c | 103 buf = contigmalloc(bouncebufsize, M_DEVBUF, flag, 0ul, 0xfffffful, in isa_dma_init()
|
/freebsd/sys/amd64/acpica/ |
H A D | acpi_wakeup.c | 324 *wakeaddr = contigmalloc(PAGE_SIZE, M_DEVBUF, in acpi_alloc_wakeup_handler()
|