Home
last modified time | relevance | path

Searched refs:vmalloc (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/Linux-v4.19/mm/
Dkmemleak-test.c69 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
70 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
71 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
72 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
73 pr_info("vmalloc(64) = %p\n", vmalloc(64)); in kmemleak_test_init()
/Linux-v4.19/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci34 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
57 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
80 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
97 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
Dzalloc-simple.cocci36 * x = (T)\(kmalloc(E1, ...)\|vmalloc(E1)\|dma_alloc_coherent(...,E1,...)\|
63 - x = vmalloc(E1);
66 - x = (T *)vmalloc(E1);
69 - x = (T)vmalloc(E1);
180 x = (T)vmalloc@p(E1);
198 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
/Linux-v4.19/fs/jffs2/
Dcompr_lzo.c32 lzo_mem = vmalloc(LZO1X_MEM_COMPRESS); in alloc_workspace()
33 lzo_compress_buf = vmalloc(lzo1x_worst_compress(PAGE_SIZE)); in alloc_workspace()
Dcompr_zlib.c45 def_strm.workspace = vmalloc(zlib_deflate_workspacesize(MAX_WBITS, in alloc_workspaces()
52 inf_strm.workspace = vmalloc(zlib_inflate_workspacesize()); in alloc_workspaces()
/Linux-v4.19/Documentation/x86/x86_64/
Dmm.txt9 ffffc90000000000 - ffffe8ffffffffff (=45 bits) vmalloc/ioremap space
35 ffa0000000000000 - ffd1ffffffffffff (=54 bits) vmalloc/ioremap space (12800 TB)
64 vmalloc space is lazily synchronized into the different PML4/PML5 pages of
74 physical memory, vmalloc/ioremap space and virtual memory map are randomized.
/Linux-v4.19/Documentation/core-api/
Dgfp_mask-from-fs-io.rst56 vmalloc doesn't support GFP_NOFS semantic because there are hardcoded
58 to fix up. That means that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO is
63 and so no special care is required and vmalloc should be called without
65 layering violations then the recommended way around that is to wrap ``vmalloc``
Dflexible-arrays.rst8 pages with :c:func:`vmalloc()`. This solution not ideal, though. On 32-bit
9 systems, memory from vmalloc() must be mapped into a relatively small address
11 by vmalloc() allocations can require expensive cross-processor interrupts on
12 all CPUs. And, on all systems, use of space in the vmalloc() range increases
16 In many cases, the need for memory from vmalloc() can be eliminated by piecing
/Linux-v4.19/sound/drivers/opl4/
Dopl4_proc.c59 buf = vmalloc(count); in snd_opl4_mem_proc_read()
80 buf = vmalloc(count); in snd_opl4_mem_proc_write()
/Linux-v4.19/fs/squashfs/
Dlzo_wrapper.c48 stream->input = vmalloc(block_size); in lzo_init()
51 stream->output = vmalloc(block_size); in lzo_init()
Dlz4_wrapper.c62 stream->input = vmalloc(block_size); in lz4_init()
65 stream->output = vmalloc(block_size); in lz4_init()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c42 void *vmalloc; member
239 src_ptr = (u8 *)par->vmalloc + in vmw_fb_dirty_flush()
678 par->vmalloc = NULL; in vmw_fb_init()
694 par->vmalloc = vzalloc(fb_size); in vmw_fb_init()
695 if (unlikely(par->vmalloc == NULL)) { in vmw_fb_init()
717 info->screen_base = (char __iomem *)par->vmalloc; in vmw_fb_init()
773 vfree(par->vmalloc); in vmw_fb_init()
801 vfree(par->vmalloc); in vmw_fb_close()
/Linux-v4.19/Documentation/
Dflexible-arrays.txt10 pages with vmalloc(). This solution not ideal, though. On 32-bit systems,
11 memory from vmalloc() must be mapped into a relatively small address space;
13 vmalloc() allocations can require expensive cross-processor interrupts on
14 all CPUs. And, on all systems, use of space in the vmalloc() range
18 In many cases, the need for memory from vmalloc() can be eliminated by
/Linux-v4.19/Documentation/arm/
Dmemory.txt48 mapping within the vmalloc space.
50 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space.
51 Memory returned by vmalloc/ioremap will
DPorting94 Virtual addresses bounding the vmalloc() area. There must not be
95 any static mappings in this area; vmalloc will overwrite them.
97 Normally, the vmalloc() area starts VMALLOC_OFFSET bytes above the
102 between virtual RAM and the vmalloc area. We do this to allow
/Linux-v4.19/arch/um/include/shared/
Dum_malloc.h14 extern void *vmalloc(unsigned long size);
/Linux-v4.19/drivers/scsi/fnic/
Dfnic_debugfs.c77 vmalloc(sizeof(struct fc_trace_flag_type)); in fnic_debugfs_init()
236 fnic_dbg_prt->buffer = vmalloc(array3_size(3, trace_max_pages, in fnic_trace_debugfs_open()
247 vmalloc(array3_size(3, fnic_fc_trace_max_pages, in fnic_trace_debugfs_open()
671 debug->debug_buffer = vmalloc(buf_size); in fnic_stats_debugfs_open()
/Linux-v4.19/drivers/video/
Dvgastate.c362 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-v4.19/lib/
Ddecompress_unxz.c155 #undef vmalloc
159 #define vmalloc(size) malloc(size) macro
/Linux-v4.19/drivers/mtd/tests/
Dstresstest.c200 readbuf = vmalloc(bufsize); in mtd_stresstest_init()
201 writebuf = vmalloc(bufsize); in mtd_stresstest_init()
/Linux-v4.19/drivers/media/common/videobuf2/
DMakefile11 obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
/Linux-v4.19/include/linux/decompress/
Dmm.h84 #define large_malloc(a) vmalloc(a)
/Linux-v4.19/fs/cramfs/
Duncompress.c62 stream.workspace = vmalloc(zlib_inflate_workspacesize()); in cramfs_uncompress_init()
/Linux-v4.19/Documentation/media/kapi/
Dv4l2-videobuf.rst43 contiguous; buffers allocated with vmalloc(), in other words. These
73 <media/videobuf-vmalloc.h> /* vmalloc() buffers */
141 /* vmalloc drivers */
331 Drivers using the vmalloc() method need not (and cannot) concern themselves
365 vmalloc() case especially. So the driver should be prepared for the list
376 scatterlist structure described above. Drivers using the vmalloc() method
402 drivers should be written. Vivi only uses the vmalloc() API, but it's good
/Linux-v4.19/drivers/media/v4l2-core/
DMakefile33 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o

12345678910>>...13