| /linux/scripts/coccinelle/api/ |
| H A 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);
|
| H A 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/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_wrapper.c | 26 DC_RUN_WITH_PREEMPTION_ENABLED(*dml_ctx = vzalloc(sizeof(struct dml2_context))); in dml21_allocate_memory() 30 …DC_RUN_WITH_PREEMPTION_ENABLED((*dml_ctx)->v21.dml_init.dml2_instance = vzalloc(sizeof(struct dml2… in dml21_allocate_memory() 40 …DC_RUN_WITH_PREEMPTION_ENABLED((*dml_ctx)->v21.mode_programming.programming = vzalloc(sizeof(struc… in dml21_allocate_memory()
|
| /linux/scripts/coccinelle/api/alloc/ |
| H A D | alloc_cast.cocci | 54 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 76 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 98 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\| 114 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
|
| H A D | zalloc-simple.cocci | 65 + x = vzalloc(E1); 68 + x = vzalloc(E1); 71 + x = (T)vzalloc(E1); 191 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
|
| /linux/tools/testing/crypto/chacha20-s390/ |
| H A D | test-cipher.c | 254 cipher_generic = vzalloc(data_size); in chacha_s390_test_init() 261 cipher_s390 = vzalloc(data_size); in chacha_s390_test_init() 268 revert = vzalloc(data_size); in chacha_s390_test_init()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A 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/drivers/block/zram/ |
| H A D | backend_deflate.c | 84 zctx->cctx.workspace = vzalloc(sz); in deflate_create() 95 zctx->dctx.workspace = vzalloc(sz); in deflate_create()
|
| H A D | backend_zstd.c | 139 zctx->cctx_mem = vzalloc(sz); in zstd_create() 148 zctx->dctx_mem = vzalloc(sz); in zstd_create()
|
| /linux/net/xfrm/ |
| H A D | xfrm_hash.c | 23 n = vzalloc(sz); in xfrm_hash_alloc()
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | lscsa_alloc.c | 26 lscsa = vzalloc(sizeof(*lscsa)); in spu_alloc_lscsa()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | debug.c | 28 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump()
|
| H A D | vendor.c | 59 dcmd_buf = vzalloc(payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
| /linux/lib/ |
| H A 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() 771 objs = vzalloc(array_size(sizeof(struct test_obj), in test_rht_init() 822 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init() 825 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries)); in test_rht_init()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 123 对于大量的分配,你可以使用vmalloc()和vzalloc(),或者直接向页面分配器请求页面。由vmalloc
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-debugfs.c | 52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A 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/drivers/uio/ |
| H A D | uio_hv_generic.c | 306 pdata->recv_buf = vzalloc(RECV_BUFFER_SIZE); in hv_uio_probe() 328 pdata->send_buf = vzalloc(SEND_BUFFER_SIZE); in hv_uio_probe()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | wil_crash_dump.c | 109 fw_dump_data = vzalloc(fw_dump_size); in wil_fw_core_dump()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_trc.c | 114 tbuf = vzalloc(tbuf_sz); in snic_trc_init()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_wrapper.c | 24 DC_RUN_WITH_PREEMPTION_ENABLED(dml2 = vzalloc(sizeof(struct dml2_context))); in dml2_allocate_memory()
|
| /linux/drivers/staging/rtl8723bs/os_dep/ |
| H A D | osdep_service.c | 51 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()
|
| /linux/drivers/mtd/parsers/ |
| H A D | bcm63xxpart.c | 136 nvram = vzalloc(sizeof(*nvram)); in bcm63xx_parse_cfe_partitions()
|
| /linux/drivers/md/ |
| H A D | dm-cache-policy-internal.h | 126 return vzalloc(s); in alloc_bitset()
|
| /linux/kernel/bpf/ |
| H A D | dispatcher.c | 154 d->rw_image = vzalloc(PAGE_SIZE); in bpf_dispatcher_change_prog()
|