Home
last modified time | relevance | path

Searched refs:vmalloc_array (Results 1 – 12 of 12) sorted by relevance

/linux/mm/
H A Dpercpu-stats.c146 buffer = vmalloc_array(2 * max_nr_alloc + 1, sizeof(int)); in percpu_stats_show()
/linux/include/linux/
H A Dvmalloc.h192 #define vmalloc_array(...) alloc_hooks(vmalloc_array_noprof(__VA_ARGS__)) macro
/linux/lib/
H A Dtest_kho.c75 folios_info = vmalloc_array(state->nr_folios, sizeof(*folios_info)); in kho_test_save_data()
/linux/arch/x86/kernel/cpu/sgx/
H A Dmain.c634 section->pages = vmalloc_array(nr_pages, sizeof(struct sgx_epc_page)); in sgx_setup_epc_section()
/linux/kernel/trace/
H A Dtracing_map.c1079 entries = vmalloc_array(map->max_elts, sizeof(sort_entry)); in tracing_map_sort_entries()
/linux/drivers/video/fbdev/
H A Dxen-fbfront.c393 info->gfns = vmalloc_array(info->nr_pages, sizeof(unsigned long)); in xenfb_probe()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c630 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/md/
H A Ddm-writecache.c301 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()
/linux/net/ipv4/
H A Dinet_hashtables.c1319 ptr = vmalloc_array(nblocks, locksz); in inet_pernet_hashinfo_alloc()
/linux/kernel/power/
H A Dswap.c1232 page = vmalloc_array(CMP_MAX_RD_PAGES, sizeof(*page)); in load_compressed_image()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c923 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/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1281 temp_ring = vmalloc_array(i, sizeof(struct ixgbe_ring)); in ixgbe_set_ringparam()