/Linux-v5.4/lib/ |
D | test_vmalloc.c | 168 p = vmalloc(n * PAGE_SIZE); in random_size_alloc_test() 187 ptr = vmalloc(sizeof(void *) * 15000); in long_busy_list_alloc_test() 192 ptr[i] = vmalloc(1 * PAGE_SIZE); in long_busy_list_alloc_test() 195 ptr_1 = vmalloc(100 * PAGE_SIZE); in long_busy_list_alloc_test() 199 ptr_2 = vmalloc(1 * PAGE_SIZE); in long_busy_list_alloc_test() 233 ptr = vmalloc(sizeof(void *) * junk_length); in full_fit_alloc_test() 237 junk_ptr = vmalloc(sizeof(void *) * junk_length); in full_fit_alloc_test() 244 ptr[i] = vmalloc(1 * PAGE_SIZE); in full_fit_alloc_test() 245 junk_ptr[i] = vmalloc(1 * PAGE_SIZE); in full_fit_alloc_test() 252 tmp = vmalloc(1 * PAGE_SIZE); in full_fit_alloc_test() [all …]
|
D | decompress_unxz.c | 155 #undef vmalloc 159 #define vmalloc(size) malloc(size) macro
|
/Linux-v5.4/mm/ |
D | kmemleak-test.c | 57 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init() 58 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init() 59 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init() 60 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init() 61 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
|
/Linux-v5.4/scripts/coccinelle/api/alloc/ |
D | alloc_cast.cocci | 35 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 58 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 81 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 98 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
|
D | zalloc-simple.cocci | 37 * x = (T)\(kmalloc(E1, ...)\|vmalloc(E1)\|dma_alloc_coherent(...,E1,...)\| 64 - x = vmalloc(E1); 67 - x = (T *)vmalloc(E1); 70 - x = (T)vmalloc(E1); 172 x = (T)vmalloc@p(E1); 190 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
|
/Linux-v5.4/fs/jffs2/ |
D | compr_lzo.c | 32 lzo_mem = vmalloc(LZO1X_MEM_COMPRESS); in alloc_workspace() 33 lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE)); in alloc_workspace()
|
D | compr_zlib.c | 45 def_strm.workspace = vmalloc(zlib_deflate_workspacesize(MAX_WBITS, in alloc_workspaces() 52 inf_strm.workspace = vmalloc(zlib_inflate_workspacesize()); in alloc_workspaces()
|
/Linux-v5.4/Documentation/core-api/ |
D | gfp_mask-from-fs-io.rst | 58 vmalloc doesn't support GFP_NOFS semantic because there are hardcoded 60 to fix up. That means that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO is 65 and so no special care is required and vmalloc should be called without 67 layering violations then the recommended way around that is to wrap ``vmalloc``
|
D | memory-allocation.rst | 9 large virtually contiguous areas using `vmalloc` and its derivatives, 105 For large allocations you can use :c:func:`vmalloc` and 107 allocator. The memory allocated by `vmalloc` and related functions is 113 allocation fails it will be retried with `vmalloc`. There are 128 `vmalloc` and `kvmalloc`. The slab caches should be freed with
|
/Linux-v5.4/sound/drivers/opl4/ |
D | opl4_proc.c | 46 buf = vmalloc(count); in snd_opl4_mem_proc_read() 67 buf = vmalloc(count); in snd_opl4_mem_proc_write()
|
/Linux-v5.4/fs/squashfs/ |
D | lzo_wrapper.c | 35 stream->input = vmalloc(block_size); in lzo_init() 38 stream->output = vmalloc(block_size); in lzo_init()
|
D | lz4_wrapper.c | 60 stream->input = vmalloc(block_size); in lz4_init() 63 stream->output = vmalloc(block_size); in lz4_init()
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 42 void *vmalloc; member 239 src_ptr = (u8 *)par->vmalloc + in vmw_fb_dirty_flush() 670 par->vmalloc = NULL; in vmw_fb_init() 686 par->vmalloc = vzalloc(fb_size); in vmw_fb_init() 687 if (unlikely(par->vmalloc == NULL)) { in vmw_fb_init() 709 info->screen_base = (char __iomem *)par->vmalloc; in vmw_fb_init() 765 vfree(par->vmalloc); in vmw_fb_init() 793 vfree(par->vmalloc); in vmw_fb_close()
|
/Linux-v5.4/Documentation/arm/ |
D | memory.rst | 52 mapping within the vmalloc space. 54 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space. 55 Memory returned by vmalloc/ioremap will
|
D | porting.rst | 97 Virtual addresses bounding the vmalloc() area. There must not be 98 any static mappings in this area; vmalloc will overwrite them. 100 Normally, the vmalloc() area starts VMALLOC_OFFSET bytes above the 105 between virtual RAM and the vmalloc area. We do this to allow
|
/Linux-v5.4/drivers/scsi/fnic/ |
D | fnic_debugfs.c | 62 vmalloc(sizeof(struct fc_trace_flag_type)); in fnic_debugfs_init() 220 fnic_dbg_prt->buffer = vmalloc(array3_size(3, trace_max_pages, in fnic_trace_debugfs_open() 231 vmalloc(array3_size(3, fnic_fc_trace_max_pages, in fnic_trace_debugfs_open() 606 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
|
/Linux-v5.4/arch/um/include/shared/ |
D | um_malloc.h | 14 extern void *vmalloc(unsigned long size);
|
/Linux-v5.4/drivers/video/ |
D | vgastate.c | 362 saved->vga_cmap = vmalloc(768); in save_vga() 384 saved->attr = vmalloc(total); in save_vga() 421 saved->vga_font0 = vmalloc(4 * 8192); in save_vga() 433 saved->vga_font1 = vmalloc(state->memsize); in save_vga() 444 saved->vga_text = vmalloc(8192 * 2); in save_vga()
|
/Linux-v5.4/drivers/mtd/tests/ |
D | stresstest.c | 188 readbuf = vmalloc(bufsize); in mtd_stresstest_init() 189 writebuf = vmalloc(bufsize); in mtd_stresstest_init()
|
/Linux-v5.4/drivers/media/common/videobuf2/ |
D | Makefile | 11 obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
|
/Linux-v5.4/Documentation/x86/x86_64/ |
D | mm.rst | 47 ffffc90000000000 | -55 TB | ffffe8ffffffffff | 32 TB | vmalloc/ioremap space (vmalloc_base) 106 ffa0000000000000 | -24 PB | ffd1ffffffffffff | 12.5 PB | vmalloc/ioremap space (vmalloc_base) 143 vmalloc space is lazily synchronized into the different PML4/PML5 pages of 153 physical memory, vmalloc/ioremap space and virtual memory map are randomized.
|
/Linux-v5.4/include/linux/decompress/ |
D | mm.h | 84 #define large_malloc(a) vmalloc(a)
|
/Linux-v5.4/fs/cramfs/ |
D | uncompress.c | 62 stream.workspace = vmalloc(zlib_inflate_workspacesize()); in cramfs_uncompress_init()
|
/Linux-v5.4/Documentation/media/kapi/ |
D | v4l2-videobuf.rst | 45 contiguous; buffers allocated with vmalloc(), in other words. These 75 <media/videobuf-vmalloc.h> /* vmalloc() buffers */ 143 /* vmalloc drivers */ 333 Drivers using the vmalloc() method need not (and cannot) concern themselves 367 vmalloc() case especially. So the driver should be prepared for the list 378 scatterlist structure described above. Drivers using the vmalloc() method 404 drivers should be written. Vivi only uses the vmalloc() API, but it's good
|
/Linux-v5.4/drivers/media/v4l2-core/ |
D | Makefile | 30 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
|