Home
last modified time | relevance | path

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

12345678910

/Linux-v4.19/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci34 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
57 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
80 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
97 kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\|vmalloc\|vzalloc\|
Dzalloc-simple.cocci64 + x = vzalloc(E1);
67 + x = vzalloc(E1);
70 + x = (T)vzalloc(E1);
198 msg="WARNING: vzalloc should be used for %s, instead of vmalloc/memset" % (x)
/Linux-v4.19/drivers/isdn/mISDN/
Dl1oip_codec.c331 table_com = vzalloc(65536); in l1oip_4bit_alloc()
332 table_dec = vzalloc(512); in l1oip_4bit_alloc()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgk20a.c51 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init()
100 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_aiv_to_init()
146 pack = vzalloc((sizeof(*pack) * max_classes) + in gk20a_gr_av_to_method()
/Linux-v4.19/net/xfrm/
Dxfrm_hash.c23 n = vzalloc(sz); in xfrm_hash_alloc()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dlscsa_alloc.c39 lscsa = vzalloc(sizeof(*lscsa)); in spu_alloc_lscsa()
/Linux-v4.19/crypto/
Dzstd.c46 ctx->cwksp = vzalloc(wksp_size); in zstd_comp_init()
69 ctx->dwksp = vzalloc(wksp_size); in zstd_decomp_init()
Ddeflate.c51 stream->workspace = vzalloc(zlib_deflate_workspacesize( in deflate_comp_init()
80 stream->workspace = vzalloc(zlib_inflate_workspacesize()); in deflate_decomp_init()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Ddebug.c39 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump()
Dvendor.c69 dcmd_buf = vzalloc(payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/Linux-v4.19/lib/
Dtest_rhashtable.c287 rhl_test_objects = vzalloc(array_size(entries, in test_rhltable()
293 obj_in_table = vzalloc(array_size(sizeof(unsigned long), in test_rhltable()
711 objs = vzalloc(array_size(sizeof(struct test_obj), in test_rht_init()
759 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()
762 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries)); in test_rht_init()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dcoredump.c1042 buf = vzalloc(len); in ath10k_coredump_build()
1143 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create()
1157 crash_data->ramdump_buf = vzalloc(crash_data->ramdump_buf_len); in ath10k_coredump_register()
/Linux-v4.19/fs/coda/
Dcoda_linux.h70 ptr = (cast)vzalloc((unsigned long) size); \
/Linux-v4.19/drivers/infiniband/core/
Dumem_odp.c304 vzalloc(array_size(pages, sizeof(*odp_data->page_list))); in ib_alloc_odp_umem()
311 vzalloc(array_size(pages, sizeof(*odp_data->dma_list))); in ib_alloc_odp_umem()
392 vzalloc(array_size(sizeof(*umem->odp_data->page_list), in ib_umem_odp_get()
400 vzalloc(array_size(sizeof(*umem->odp_data->dma_list), in ib_umem_odp_get()
/Linux-v4.19/drivers/uio/
Duio_hv_generic.c244 pdata->recv_buf = vzalloc(RECV_BUFFER_SIZE); in hv_uio_probe()
265 pdata->send_buf = vzalloc(SEND_BUFFER_SIZE); in hv_uio_probe()
/Linux-v4.19/arch/x86/kernel/
Dcrash.c206 cmem = vzalloc(sizeof(struct crash_mem) + in fill_up_crash_elf_data()
359 cmem = vzalloc(sizeof(struct crash_mem)); in crash_setup_memmap_entries()
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c231 sq->saved_skb = vzalloc(skb_arr_size); in alloc_sq_skb_arr()
259 rq->saved_skb = vzalloc(skb_arr_size); in alloc_rq_skb_arr()
331 rq->cqe = vzalloc(cqe_size); in alloc_rq_cqe()
336 rq->cqe_dma = vzalloc(cqe_dma_size); in alloc_rq_cqe()
/Linux-v4.19/block/partitions/
Dcheck.c125 state->parts = vzalloc(array_size(nr, sizeof(state->parts[0]))); in allocate_partitions()
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dwil_crash_dump.c119 fw_dump_data = vzalloc(fw_dump_size); in wil_fw_core_dump()
/Linux-v4.19/drivers/gpu/drm/selftests/
Dtest-drm_mm.c392 nodes = vzalloc(array_size(count, sizeof(*nodes))); in __igt_reserve()
892 nodes = vzalloc(array_size(count, sizeof(*nodes))); in __igt_insert_range()
1049 nodes = vzalloc(array_size(max_count, sizeof(*nodes))); in igt_align()
1419 nodes = vzalloc(array_size(size, sizeof(*nodes))); in igt_evict()
1529 nodes = vzalloc(array_size(size, sizeof(*nodes))); in igt_evict_range()
1630 nodes = vzalloc(array_size(count, sizeof(*nodes))); in igt_topdown()
1744 nodes = vzalloc(array_size(count, sizeof(*nodes))); in igt_bottomup()
2172 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict()
2273 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict_range()
/Linux-v4.19/drivers/md/
Ddm-cache-policy-internal.h123 return vzalloc(s); in alloc_bitset()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/core/
Dramht.c147 if (!(ramht = *pramht = vzalloc(struct_size(ramht, data, (size >> 3))))) in nvkm_ramht_new()
/Linux-v4.19/kernel/
Dkexec_file.c628 sha_regions = vzalloc(sha_region_sz); in kexec_calculate_store_digests()
758 kbuf->buffer = vzalloc(kbuf->bufsz); in kexec_purgatory_setup_kbuf()
796 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs()
1159 buf = vzalloc(elf_sz); in crash_prepare_elf64_headers()
/Linux-v4.19/include/linux/
Dvmalloc.h73 extern void *vzalloc(unsigned long size);
/Linux-v4.19/mm/
Dswap_cgroup.c180 array = vzalloc(array_size); in swap_cgroup_swapon()

12345678910