Home
last modified time | relevance | path

Searched refs:kvmalloc_array (Results 1 – 25 of 27) sorted by relevance

12

/linux/lib/
H A Dregion_alloc_benchmark.c179 bitmap = kvmalloc_array(BITS_TO_LONGS(max_cap), sizeof(*bitmap), GFP_KERNEL); in region_alloc_benchmark()
180 reg_sz = kvmalloc_array(max_cap + 1, sizeof(*reg_sz), GFP_KERNEL); in region_alloc_benchmark()
181 reg_idx = kvmalloc_array(max_cap, sizeof(*reg_idx), GFP_KERNEL); in region_alloc_benchmark()
H A Dtest_workqueue.c163 all_latencies = kvmalloc_array(total_items, sizeof(u64), GFP_KERNEL); in run_bench()
172 ctxs[i].latencies = kvmalloc_array(wq_items, sizeof(u64), in run_bench()
/linux/scripts/coccinelle/api/
H A Dkfree_mismatch.cocci58 kvmalloc_array\)(...)
124 * kvmalloc_array\)(...)@a
134 kvmalloc_array\)(...)
H A Dkmalloc_objs.cocci17 elif name == "kvmalloc_array":
57 identifier ALLOC_ARRAY = {kmalloc_array,kvmalloc_array,kcalloc,kvcalloc};
/linux/io_uring/
H A Dalloc_cache.c25 cache->entries = kvmalloc_array(max_nr, sizeof(void *), GFP_KERNEL); in io_alloc_cache_init()
H A Dzcrx.c552 area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]), in __zcrx_create_area()
/linux/tools/virtio/ringtest/
H A Dptr_ring.c61 #define kvmalloc_array kmalloc_array macro
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_hw.c89 eeprom_ptrs = kvmalloc_array(TXGBE_EEPROM_LAST_WORD, sizeof(u16), in txgbe_calc_eeprom_checksum()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_hmm.c180 pfns = kvmalloc_array(npages, sizeof(*pfns), GFP_KERNEL); in amdgpu_hmm_range_get_pages()
H A Damdgpu_dev_coredump.c277 ib_content = kvmalloc_array(coredump->ibs[i].ib_size_dw, 4, in amdgpu_devcoredump_print_ibs()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_cs.c288 p->chunks_array = kvmalloc_array(cs->num_chunks, sizeof(uint64_t), GFP_KERNEL); in radeon_cs_parser_init()
347 p->chunks[i].kdata = kvmalloc_array(size, sizeof(uint32_t), GFP_KERNEL); in radeon_cs_parser_init()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c308 bo_handles = kvmalloc_array(exbuf->num_bo_handles, sizeof(*bo_handles), in virtio_gpu_init_submit_buflist()
/linux/kernel/bpf/
H A Dhashtab.c1865 keys = kvmalloc_array(key_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch()
1866 values = kvmalloc_array(value_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch()
3310 keys = kvmalloc_array(max_count, key_size, GFP_USER | __GFP_NOWARN); in __rhtab_map_lookup_and_delete_batch()
3311 values = kvmalloc_array(max_count, value_size, GFP_USER | __GFP_NOWARN); in __rhtab_map_lookup_and_delete_batch()
3313 del_elems = kvmalloc_array(max_count, sizeof(void *), in __rhtab_map_lookup_and_delete_batch()
/linux/kernel/trace/
H A Dbpf_trace.c2382 syms = kvmalloc_array(cnt, sizeof(*syms), GFP_KERNEL); in copy_user_syms()
2386 buf = kvmalloc_array(cnt, KSYM_NAME_LEN, GFP_KERNEL); in copy_user_syms()
2826 addrs = kvmalloc_array(cnt, sizeof(*addrs), GFP_KERNEL); in bpf_kprobe_multi_link_attach()
2832 cookies = kvmalloc_array(cnt, sizeof(*addrs), GFP_KERNEL); in bpf_kprobe_multi_link_attach()
/linux/net/bpf/
H A Dtest_run.c163 xdp->frames = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); in xdp_test_run_setup()
167 xdp->skbs = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); in xdp_test_run_setup()
/linux/include/linux/
H A Dslab.h1381 #define kvmalloc_array(...) alloc_hooks(kvmalloc_array_noprof(__VA_ARGS__)) macro
/linux/drivers/gpu/drm/imagination/
H A Dpvr_drv.c1206 out_alloc = kvmalloc_array(in->count, obj_size, GFP_KERNEL); in pvr_get_uobj_array()
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c142 phys_pg_pack->pages = kvmalloc_array(num_pgs, sizeof(u64), GFP_KERNEL); in alloc_device_memory()
888 phys_pg_pack->pages = kvmalloc_array(total_npages, sizeof(u64), in init_phys_pg_pack_from_userptr()
/linux/fs/xfs/
H A Dxfs_zone_alloc.c1241 return kvmalloc_array(BITS_TO_LONGS(mp->m_sb.sb_rgcount), in xfs_alloc_bucket_bitmap()
/linux/fs/ntfs3/
H A Dbitmap.c680 kvmalloc_array(wnd->nwnd, sizeof(u16), GFP_KERNEL | __GFP_ZERO); in wnd_init()
/linux/fs/ntfs/
H A Dsuper.c2363 vol->lcn_empty_bits_per_page = kvmalloc_array(lcn_bit_pages, sizeof(unsigned int), in ntfs_fill_super()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c947 dst = kvmalloc_array(num_elements, size, GFP_KERNEL); in svm_range_copy_array()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c870 mpc->rxbufs_pre = kvmalloc_array(num_rxb, sizeof(void *), GFP_KERNEL); in mana_pre_alloc_rxbufs()
/linux/virt/kvm/
H A Dkvm_main.c384 mc->objects = kvmalloc_array(capacity, sizeof(void *), gfp); in __kvm_mmu_topup_memory_cache()
/linux/drivers/gpu/drm/xe/
H A Dxe_vm.c2256 mem_attrs = kvmalloc_array(args->num_mem_ranges, args->sizeof_mem_range_attr, in xe_vm_query_vmas_attrs_ioctl()

12