Home
last modified time | relevance | path

Searched refs:vzalloc (Results 1 – 25 of 191) sorted by relevance

12345678

/linux/scripts/coccinelle/api/
H A Dkvmalloc.cocci41 * 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 Dkfree_mismatch.cocci31 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/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.cocci65 + 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/drivers/isdn/mISDN/
H A Dl1oip_codec.c319 table_com = vzalloc(65536); in l1oip_4bit_alloc()
320 table_dec = vzalloc(512); in l1oip_4bit_alloc()
/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c255 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/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgk20a.c45 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/net/xfrm/
H A Dxfrm_hash.c23 n = vzalloc(sz); in xfrm_hash_alloc()
/linux/drivers/block/zram/
H A Dzcomp.c62 zstrm->local_copy = vzalloc(PAGE_SIZE); in zcomp_strm_init()
67 zstrm->buffer = vzalloc(2 * PAGE_SIZE); in zcomp_strm_init()
/linux/lib/
H A Dtest_rhashtable.c280 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/arch/powerpc/platforms/cell/spufs/
H A Dlscsa_alloc.c26 lscsa = vzalloc(sizeof(*lscsa)); in spu_alloc_lscsa()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Ddebug.c28 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump()
H A Dvendor.c59 dcmd_buf = vzalloc(payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst123 对于大量的分配,你可以使用vmalloc()和vzalloc(),或者直接向页面分配器请求页面。由vmalloc
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.c225 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/arch/x86/kernel/
H A Dcrash.c180 cmem = vzalloc(struct_size(cmem, ranges, nr_ranges)); in fill_up_crash_elf_data()
344 cmem = vzalloc(struct_size(cmem, ranges, nr_ranges)); in crash_setup_memmap_entries()
/linux/drivers/media/test-drivers/visl/
H A Dvisl-debugfs.c52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
/linux/drivers/net/wireless/ath/ath10k/
H A Dcoredump.c1521 buf = vzalloc(len); in ath10k_coredump_build()
1624 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create()
1641 crash_data->ramdump_buf = vzalloc(crash_data->ramdump_buf_len); in ath10k_coredump_register()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwil_crash_dump.c109 fw_dump_data = vzalloc(fw_dump_size); in wil_fw_core_dump()
/linux/drivers/scsi/snic/
H A Dsnic_trc.c114 tbuf = vzalloc(tbuf_sz); in snic_trc_init()
/linux/drivers/media/platform/amphion/
H A Dvpu_cmds.c87 cmd = vzalloc(sizeof(*cmd)); in vpu_alloc_cmd()
91 cmd->pkt = vzalloc(sizeof(*cmd->pkt)); in vpu_alloc_cmd()
/linux/drivers/scsi/fnic/
H A Dfnic_debugfs.c208 fnic_dbg_prt->buffer = vzalloc(array3_size(3, trace_max_pages, in fnic_trace_debugfs_open()
217 vzalloc(array3_size(3, fnic_fc_trace_max_pages, in fnic_trace_debugfs_open()
/linux/drivers/mtd/parsers/
H A Dbcm63xxpart.c136 nvram = vzalloc(sizeof(*nvram)); in bcm63xx_parse_cfe_partitions()
/linux/drivers/scsi/bfa/
H A Dbfad_debugfs.c76 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwtrc()
118 fw_debug->debug_buffer = vzalloc(fw_debug->buffer_len); in bfad_debugfs_open_fwsave()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dsw.c162 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); in rtl8821ae_init_sw_vars()
167 rtlpriv->rtlhal.wowlan_firmware = vzalloc(0x8000); in rtl8821ae_init_sw_vars()

12345678