| /linux/include/linux/ |
| H A D | vmalloc.h | 196 #define vmalloc_array(...) alloc_hooks(vmalloc_array_noprof(__VA_ARGS__)) macro
|
| /linux/drivers/net/ppp/ |
| H A D | bsd_comp.c | 408 db->dict = vmalloc_array(hsize, sizeof(struct bsd_dict)); in bsd_alloc() 427 db->lens = vmalloc_array(maxmaxcode + 1, sizeof(db->lens[0])); in bsd_alloc()
|
| /linux/lib/ |
| H A D | test_kho.c | 60 folios_info = vmalloc_array(state->nr_folios, sizeof(*folios_info)); in kho_test_preserve_data()
|
| /linux/net/bridge/netfilter/ |
| H A D | ebtables.c | 923 vmalloc_array(nr_cpu_ids, in translate_table() 941 cl_s = vmalloc_array(udc_cnt, sizeof(*cl_s)); in translate_table() 1021 counterstmp = vmalloc_array(repl->num_counters, in do_replace_finish() 1389 tmp = vmalloc_array(num_counters, sizeof(*tmp)); in do_update_counters() 1529 counterstmp = vmalloc_array(nentries, sizeof(*counterstmp)); in copy_counters_to_user()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_res.c | 113 pbl->pg_arr = vmalloc_array(pages, sizeof(void *)); in __alloc_pbl() 118 pbl->pg_map_arr = vmalloc_array(pages, sizeof(dma_addr_t)); in __alloc_pbl()
|
| /linux/drivers/md/ |
| H A D | dm-switch.c | 117 sctx->region_table = vmalloc_array(nr_slots, in alloc_region_table()
|
| H A D | dm-region-hash.c | 209 rh->buckets = vmalloc_array(nr_buckets, sizeof(*rh->buckets)); in dm_region_hash_create()
|
| H A D | dm-writecache.c | 301 pages = vmalloc_array(p, sizeof(struct page *)); in persistent_memory_claim() 964 wc->entries = vmalloc_array(wc->n_blocks, sizeof(struct wc_entry)); in writecache_alloc_entries()
|
| H A D | dm-cache-policy-smq.c | 593 ht->buckets = vmalloc_array(nr_buckets, sizeof(*ht->buckets)); in h_init()
|
| /linux/drivers/mtd/ |
| H A D | mtdswap.c | 1288 d->page_data = vmalloc_array(pages, sizeof(int)); in mtdswap_init() 1292 d->revmap = vmalloc_array(blocks, sizeof(int)); in mtdswap_init()
|
| H A D | rfd_ftl.c | 192 part->sector_map = vmalloc_array(part->sector_count, in scan_header()
|
| H A D | ftl.c | 263 part->VirtualBlockMap = vmalloc_array(blocks, sizeof(uint32_t)); in build_maps()
|
| /linux/fs/ubifs/ |
| H A D | lpt.c | 631 ltab = vmalloc_array(c->lpt_lebs, in ubifs_create_dflt_lpt() 1780 c->ltab = vmalloc_array(c->lpt_lebs, in lpt_init_rd() 1849 c->ltab_cmt = vmalloc_array(c->lpt_lebs, in lpt_init_wr()
|
| /linux/drivers/video/fbdev/ |
| H A D | xen-fbfront.c | 393 info->gfns = vmalloc_array(info->nr_pages, sizeof(unsigned long)); in xenfb_probe()
|
| /linux/kernel/trace/ |
| H A D | tracing_map.c | 1079 entries = vmalloc_array(map->max_elts, sizeof(sort_entry)); in tracing_map_sort_entries()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | metadata.c | 567 vmalloc_array(priv->stats_ring_size, in nfp_flower_metadata_init()
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | main.c | 636 section->pages = vmalloc_array(nr_pages, sizeof(struct sgx_epc_page)); in sgx_setup_epc_section()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 630 temp_ring = vmalloc_array(adapter->num_tx_queues, in igc_ethtool_set_ringparam() 633 temp_ring = vmalloc_array(adapter->num_rx_queues, in igc_ethtool_set_ringparam()
|
| /linux/drivers/media/pci/pt1/ |
| H A D | pt1.c | 642 tables = vmalloc_array(pt1_nr_tables, sizeof(struct pt1_table)); in pt1_init_tables()
|
| /linux/drivers/infiniband/hw/erdma/ |
| H A D | erdma_verbs.c | 550 kqp->swr_tbl = vmalloc_array(qp->attrs.sq_size, sizeof(u64)); in init_kernel_qp() 551 kqp->rwr_tbl = vmalloc_array(qp->attrs.rq_size, sizeof(u64)); in init_kernel_qp()
|
| /linux/drivers/media/dvb-core/ |
| H A D | dmxdev.c | 1413 dmxdev->filter = vmalloc_array(dmxdev->filternum, in dvb_dmxdev_init()
|
| /linux/net/ipv4/ |
| H A D | inet_hashtables.c | 1323 ptr = vmalloc_array(nblocks, locksz); in inet_ehash_locks_alloc()
|
| /linux/kernel/power/ |
| H A D | swap.c | 1221 page = vmalloc_array(CMP_MAX_RD_PAGES, sizeof(*page)); in load_compressed_image()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 923 temp_ring = vmalloc_array(adapter->num_tx_queues, in igb_set_ringparam() 926 temp_ring = vmalloc_array(adapter->num_rx_queues, in igb_set_ringparam()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nandsim.c | 580 ns->pages = vmalloc_array(ns->geom.pgnum, sizeof(union ns_mem)); in ns_alloc_device()
|