/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gk20a.c | 53 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init() 103 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_aiv_to_init() 150 pack = vzalloc((sizeof(*pack) * (max_classes + 1)) + in gk20a_gr_av_to_method()
|
/linux-5.19.10/net/xfrm/ |
D | xfrm_hash.c | 23 n = vzalloc(sz); in xfrm_hash_alloc()
|
/linux-5.19.10/drivers/misc/lkdtm/ |
D | heap.c | 33 one = vzalloc(PAGE_SIZE); in lkdtm_VMALLOC_LINEAR_OVERFLOW() 34 two = vzalloc(PAGE_SIZE); in lkdtm_VMALLOC_LINEAR_OVERFLOW()
|
/linux-5.19.10/arch/powerpc/platforms/cell/spufs/ |
D | lscsa_alloc.c | 26 lscsa = vzalloc(sizeof(*lscsa)); in spu_alloc_lscsa()
|
/linux-5.19.10/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() 76 stream->workspace = vzalloc(zlib_inflate_workspacesize()); in deflate_decomp_init()
|
/linux-5.19.10/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-5.19.10/lib/ |
D | test_rhashtable.c | 279 rhl_test_objects = vzalloc(array_size(entries, in test_rhltable() 285 obj_in_table = vzalloc(array_size(sizeof(unsigned long), in test_rhltable() 714 objs = vzalloc(array_size(sizeof(struct test_obj), in test_rht_init() 762 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init() 765 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries)); in test_rht_init()
|
/linux-5.19.10/arch/x86/kernel/ |
D | crash.c | 201 cmem = vzalloc(struct_size(cmem, ranges, nr_ranges)); in fill_up_crash_elf_data() 327 cmem = vzalloc(struct_size(cmem, ranges, 1)); in crash_setup_memmap_entries()
|
/linux-5.19.10/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 123 对于大量的分配,你可以使用vmalloc()和vzalloc(),或者直接向页面分配器请求页面。由vmalloc
|
/linux-5.19.10/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_tx.c | 184 iq = vzalloc(sizeof(*iq)); in octep_setup_iq() 222 iq->buff_info = vzalloc(buff_info_size); in octep_setup_iq()
|
/linux-5.19.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_devcaps.c | 91 vmw->devcaps = vzalloc(sizeof(uint32_t) * SVGA3D_DEVCAP_MAX); in vmw_devcaps_create()
|
/linux-5.19.10/drivers/net/wireless/ath/wil6210/ |
D | wil_crash_dump.c | 109 fw_dump_data = vzalloc(fw_dump_size); in wil_fw_core_dump()
|
/linux-5.19.10/drivers/gpu/drm/selftests/ |
D | test-drm_mm.c | 394 nodes = vzalloc(array_size(count, sizeof(*nodes))); in __igt_reserve() 894 nodes = vzalloc(array_size(count, sizeof(*nodes))); in __igt_insert_range() 1098 nodes = vzalloc(array_size(insert_size * 4, sizeof(*nodes))); in igt_frag() 1167 nodes = vzalloc(array_size(max_count, sizeof(*nodes))); in igt_align() 1537 nodes = vzalloc(array_size(size, sizeof(*nodes))); in igt_evict() 1647 nodes = vzalloc(array_size(size, sizeof(*nodes))); in igt_evict_range() 1748 nodes = vzalloc(array_size(count, sizeof(*nodes))); in igt_topdown() 1861 nodes = vzalloc(array_size(count, sizeof(*nodes))); in igt_bottomup() 2277 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict() 2378 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict_range()
|
/linux-5.19.10/drivers/uio/ |
D | uio_hv_generic.c | 289 pdata->recv_buf = vzalloc(RECV_BUFFER_SIZE); in hv_uio_probe() 311 pdata->send_buf = vzalloc(SEND_BUFFER_SIZE); in hv_uio_probe()
|
/linux-5.19.10/drivers/media/platform/amphion/ |
D | vpu_cmds.c | 88 cmd = vzalloc(sizeof(*cmd)); in vpu_alloc_cmd() 92 cmd->pkt = vzalloc(sizeof(*cmd->pkt)); in vpu_alloc_cmd()
|
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 225 sq->saved_skb = vzalloc(skb_arr_size); in alloc_sq_skb_arr() 253 rq->saved_skb = vzalloc(skb_arr_size); in alloc_rq_skb_arr() 325 rq->cqe = vzalloc(cqe_size); in alloc_rq_cqe() 330 rq->cqe_dma = vzalloc(cqe_dma_size); in alloc_rq_cqe()
|
/linux-5.19.10/drivers/scsi/snic/ |
D | snic_trc.c | 129 tbuf = vzalloc(tbuf_sz); in snic_trc_init()
|
/linux-5.19.10/drivers/net/wireless/ath/ath10k/ |
D | coredump.c | 1518 buf = vzalloc(len); in ath10k_coredump_build() 1621 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create() 1638 crash_data->ramdump_buf = vzalloc(crash_data->ramdump_buf_len); in ath10k_coredump_register()
|