/linux-6.12.1/scripts/coccinelle/api/ |
D | kvmalloc.cocci | 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, ...) 129 - E = vzalloc(size); 135 - E = vzalloc(size); 140 - E = vzalloc(size); 145 - E = vzalloc(size); 150 - x = vzalloc(size); 155 - x = vzalloc(size);
|
D | kfree_mismatch.cocci | 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\|
|
/linux-6.12.1/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 | 65 + x = vzalloc(E1); 68 + x = vzalloc(E1); 71 + x = (T)vzalloc(E1); 200 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
|
/linux-6.12.1/drivers/isdn/mISDN/ |
D | l1oip_codec.c | 319 table_com = vzalloc(65536); in l1oip_4bit_alloc() 320 table_dec = vzalloc(512); in l1oip_4bit_alloc()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | coredump.c | 181 buf = vzalloc(len); in mt7996_coredump_build() 235 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7996_coredump_register() 247 crash_data->memdump_buf = vzalloc(crash_data->memdump_buf_len); in mt7996_coredump_register()
|
/linux-6.12.1/tools/testing/crypto/chacha20-s390/ |
D | test-cipher.c | 255 cipher_generic = vzalloc(data_size); in chacha_s390_test_init() 262 cipher_s390 = vzalloc(data_size); in chacha_s390_test_init() 269 revert = vzalloc(data_size); in chacha_s390_test_init()
|
/linux-6.12.1/drivers/block/zram/ |
D | backend_deflate.c | 61 zctx->cctx.workspace = vzalloc(sz); in deflate_create() 72 zctx->dctx.workspace = vzalloc(sz); in deflate_create()
|
D | backend_zstd.c | 142 zctx->cctx_mem = vzalloc(sz); in zstd_create() 151 zctx->dctx_mem = vzalloc(sz); in zstd_create()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gk20a.c | 45 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init_() 88 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_aiv_to_init() 121 pack = vzalloc((sizeof(*pack) * (max_classes + 1)) + in gk20a_gr_av_to_method()
|
/linux-6.12.1/net/xfrm/ |
D | xfrm_hash.c | 23 n = vzalloc(sz); in xfrm_hash_alloc()
|
/linux-6.12.1/arch/powerpc/platforms/cell/spufs/ |
D | lscsa_alloc.c | 26 lscsa = vzalloc(sizeof(*lscsa)); in spu_alloc_lscsa()
|
/linux-6.12.1/crypto/ |
D | zstd.c | 38 ctx->cwksp = vzalloc(wksp_size); in zstd_comp_init() 61 ctx->dwksp = vzalloc(wksp_size); in zstd_decomp_init()
|
D | deflate.c | 47 stream->workspace = vzalloc(zlib_deflate_workspacesize( in deflate_comp_init() 72 stream->workspace = vzalloc(zlib_inflate_workspacesize()); in deflate_decomp_init()
|
/linux-6.12.1/drivers/misc/lkdtm/ |
D | heap.c | 34 one = vzalloc(PAGE_SIZE); in lkdtm_VMALLOC_LINEAR_OVERFLOW() 36 two = vzalloc(PAGE_SIZE); in lkdtm_VMALLOC_LINEAR_OVERFLOW()
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | debug.c | 28 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump()
|
D | vendor.c | 59 dcmd_buf = vzalloc(payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
/linux-6.12.1/lib/ |
D | test_rhashtable.c | 280 rhl_test_objects = vzalloc(array_size(entries, in test_rhltable() 286 obj_in_table = vzalloc(array_size(sizeof(unsigned long), in test_rhltable() 699 objs = vzalloc(array_size(sizeof(struct test_obj), in test_rht_init() 747 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init() 750 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries)); in test_rht_init()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | coredump.c | 321 buf = vzalloc(len); in mt7915_coredump_build() 378 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7915_coredump_register() 390 crash_data->memdump_buf = vzalloc(crash_data->memdump_buf_len); in mt7915_coredump_register()
|
/linux-6.12.1/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 123 对于大量的分配,你可以使用vmalloc()和vzalloc(),或者直接向页面分配器请求页面。由vmalloc
|
/linux-6.12.1/arch/x86/kernel/ |
D | crash.c | 170 cmem = vzalloc(struct_size(cmem, ranges, nr_ranges)); in fill_up_crash_elf_data() 301 cmem = vzalloc(struct_size(cmem, ranges, 1)); in crash_setup_memmap_entries()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_tx.c | 181 iq = vzalloc(sizeof(*iq)); in octep_setup_iq() 219 iq->buff_info = vzalloc(buff_info_size); in octep_setup_iq()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_tx.c | 180 iq = vzalloc(sizeof(*iq)); in octep_vf_setup_iq() 218 iq->buff_info = vzalloc(buff_info_size); in octep_vf_setup_iq()
|
/linux-6.12.1/drivers/media/test-drivers/visl/ |
D | visl-debugfs.c | 52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_devcaps.c | 92 vmw->devcaps = vzalloc(sizeof(uint32_t) * SVGA3D_DEVCAP_MAX); in vmw_devcaps_create()
|