Lines Matching refs:vmalloc
4 * Test module for stress and analyze performance of vmalloc allocator.
10 #include <linux/vmalloc.h>
159 p = vmalloc(n * PAGE_SIZE);
178 ptr = vmalloc(sizeof(void *) * 15000);
183 ptr[i] = vmalloc(1 * PAGE_SIZE);
186 ptr_1 = vmalloc(100 * PAGE_SIZE);
190 ptr_2 = vmalloc(1 * PAGE_SIZE);
224 ptr = vmalloc(sizeof(void *) * junk_length);
228 junk_ptr = vmalloc(sizeof(void *) * junk_length);
235 ptr[i] = vmalloc(1 * PAGE_SIZE);
236 junk_ptr[i] = vmalloc(1 * PAGE_SIZE);
243 tmp = vmalloc(1 * PAGE_SIZE);
274 ptr = vmalloc((nr_pages > 0 ? nr_pages:1) * PAGE_SIZE);
296 pcpu = vmalloc(sizeof(void __percpu *) * 35000);
333 p = vmalloc(1 * PAGE_SIZE);
351 p = vmalloc(1 * PAGE_SIZE);
612 MODULE_DESCRIPTION("vmalloc test module");