Home
last modified time | relevance | path

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

12345678910>>...18

/OK3568_Linux_fs/kernel/lib/
H A Dtest_vmalloc.c162 p = vmalloc(n * PAGE_SIZE); in random_size_alloc_test()
181 ptr = vmalloc(sizeof(void *) * 15000); in long_busy_list_alloc_test()
186 ptr[i] = vmalloc(1 * PAGE_SIZE); in long_busy_list_alloc_test()
189 ptr_1 = vmalloc(100 * PAGE_SIZE); in long_busy_list_alloc_test()
193 ptr_2 = vmalloc(1 * PAGE_SIZE); in long_busy_list_alloc_test()
227 ptr = vmalloc(sizeof(void *) * junk_length); in full_fit_alloc_test()
231 junk_ptr = vmalloc(sizeof(void *) * junk_length); in full_fit_alloc_test()
238 ptr[i] = vmalloc(1 * PAGE_SIZE); in full_fit_alloc_test()
239 junk_ptr[i] = vmalloc(1 * PAGE_SIZE); in full_fit_alloc_test()
246 tmp = vmalloc(1 * PAGE_SIZE); in full_fit_alloc_test()
[all …]
H A DKconfig.kasan178 bool "Back mappings in vmalloc space with real shadow memory"
181 By default, the shadow region for vmalloc space is the read-only
183 vmalloc space.
185 Enabling this option will hook in to vmap/vmalloc and back those
H A Ddecompress_unxz.c159 #undef vmalloc
163 #define vmalloc(size) malloc(size) macro
/OK3568_Linux_fs/kernel/samples/kmemleak/
H A Dkmemleak-test.c57 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()
/OK3568_Linux_fs/kernel/scripts/coccinelle/api/
H A Dkfree_mismatch.cocci4 /// vmalloc'ed by vfree functions and kvmalloc'ed by kvfree
31 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|
44 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|
71 …... when != if (...) { ... E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|vzalloc_node\|vmall…
85 …... when != if (...) { ... E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|vzalloc_node\|vmall…
97 * E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|vzalloc_node\|
110 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\|vzalloc_node\|
185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
218 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
[all …]
H A Dkvmalloc.cocci3 /// Find if/else condition with kmalloc/vmalloc calls.
41 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...)
53 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...)
65 * x = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...)
97 - E = vmalloc(size);
103 - E = vmalloc(size);
108 - E = vmalloc(size);
113 - E = vmalloc(size);
118 - x = vmalloc(size);
123 - x = vmalloc(size);
/OK3568_Linux_fs/kernel/scripts/coccinelle/api/alloc/
H A Dalloc_cast.cocci35 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\|
H A Dzalloc-simple.cocci37 * x = (T)\(kmalloc(E1, ...)\|vmalloc(E1)\|dma_alloc_coherent(...,E1,...)\|
64 - x = vmalloc(E1);
67 - x = (T *)vmalloc(E1);
70 - x = (T)vmalloc(E1);
182 x = (T)vmalloc@p(E1);
200 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dgfp_mask-from-fs-io.rst58 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``
H A Dmemory-allocation.rst9 large virtually contiguous areas using `vmalloc` and its derivatives,
150 For large allocations you can use vmalloc() and vzalloc(), or directly
151 request pages from the page allocator. The memory allocated by `vmalloc`
157 will be retried with `vmalloc`. There are restrictions on which GFP
170 use kvfree() for the memory allocated with `kmalloc`, `vmalloc` and
/OK3568_Linux_fs/kernel/fs/jffs2/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fb.c42 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()
/OK3568_Linux_fs/buildroot/board/boundarydevices/common/
H A Dboot.cmd82 if itest.s "x" == "x$vmalloc" ; then
83 vmalloc=400M
88 setenv bootargs ${bootargs} vmalloc=${vmalloc} consoleblank=${consoleblank} rootwait fixrtc cpu=${i…
/OK3568_Linux_fs/kernel/fs/squashfs/
H A Dlzo_wrapper.c35 stream->input = vmalloc(block_size); in lzo_init()
38 stream->output = vmalloc(block_size); in lzo_init()
H A Dlz4_wrapper.c60 stream->input = vmalloc(block_size); in lz4_init()
63 stream->output = vmalloc(block_size); in lz4_init()
/OK3568_Linux_fs/kernel/sound/drivers/opl4/
H A Dopl4_proc.c46 buf = vmalloc(count); in snd_opl4_mem_proc_read()
67 buf = vmalloc(count); in snd_opl4_mem_proc_write()
/OK3568_Linux_fs/kernel/Documentation/arm/
H A Dporting.rst97 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
H A Dmemory.rst57 mapping within the vmalloc space.
59 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space.
60 Memory returned by vmalloc/ioremap will
/OK3568_Linux_fs/kernel/drivers/scsi/fnic/
H A Dfnic_debugfs.c62 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()
/OK3568_Linux_fs/kernel/drivers/video/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/x86/x86_64/
H A Dmm.rst47 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.
/OK3568_Linux_fs/kernel/drivers/mtd/tests/
H A Dstresstest.c188 readbuf = vmalloc(bufsize); in mtd_stresstest_init()
189 writebuf = vmalloc(bufsize); in mtd_stresstest_init()
/OK3568_Linux_fs/kernel/arch/um/include/shared/
H A Dum_malloc.h14 extern void *vmalloc(unsigned long size);
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_memory.c37 return vmalloc(size); in _mali_osk_valloc()

12345678910>>...18