Searched refs:kmalloc_array (Results 1 - 25 of 613) sorted by relevance

1234567891011>>

/linux-master/lib/
H A Dmemcat_p.c23 new = kmalloc_array(nr, sizeof(void *), GFP_KERNEL);
H A Dargv_split.c72 argv = kmalloc_array(argc + 2, sizeof(*argv), gfp);
H A Dinterval_tree_test.c68 nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node),
73 queries = kmalloc_array(nsearches, sizeof(int), GFP_KERNEL);
/linux-master/net/batman-adv/
H A Dhash.c52 hash->table = kmalloc_array(size, sizeof(*hash->table), GFP_ATOMIC);
56 hash->list_locks = kmalloc_array(size, sizeof(*hash->list_locks),
/linux-master/drivers/gpu/drm/lib/
H A Ddrm_random.c33 order = kmalloc_array(count, sizeof(*order), GFP_KERNEL);
/linux-master/tools/virtio/ringtest/
H A Dptr_ring.c43 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) function
52 return kmalloc_array(n, size, flags | __GFP_ZERO);
61 #define kvmalloc_array kmalloc_array
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Dmmu.c69 mmu->heap = kmalloc_array(mmu->heap_nr, sizeof(*mmu->heap),
71 mmu->type = kmalloc_array(mmu->type_nr, sizeof(*mmu->type),
76 mmu->kind = kmalloc_array(mmu->kind_nr, sizeof(*mmu->kind),
/linux-master/arch/arm/mach-pxa/
H A Dpm.c107 sleep_save = kmalloc_array(pxa_cpu_pm_fns->save_count,
/linux-master/sound/firewire/
H A Dpackets-buffer.c30 b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL);
/linux-master/kernel/dma/
H A Dremap.c46 pages = kmalloc_array(count, sizeof(struct page *), GFP_KERNEL);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c160 array->page_list = kmalloc_array(npage, sizeof(*array->page_list),
217 dma_list = kmalloc_array(npages, sizeof(*dma_list),
229 dma_list = kmalloc_array(npages, sizeof(*dma_list),
234 buf->page_list = kmalloc_array(npages,
/linux-master/fs/jfs/
H A Djfs_unicode.c111 kmalloc_array(length + 1, sizeof(wchar_t), GFP_NOFS);
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_random.c80 order = kmalloc_array(count, sizeof(*order),
/linux-master/arch/s390/hypfs/
H A Dhypfs_diag0c.c38 cpu_vec = kmalloc_array(num_possible_cpus(), sizeof(*cpu_vec),
/linux-master/lib/reed_solomon/
H A Dreed_solomon.c91 rs->alpha_to = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp);
95 rs->index_of = kmalloc_array(rs->nn + 1, sizeof(uint16_t), gfp);
99 rs->genpoly = kmalloc_array(rs->nroots + 1, sizeof(uint16_t), gfp);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Diccsense.c76 iccsense->rail = kmalloc_array(cnt, sizeof(struct pwr_rail_t),
/linux-master/drivers/input/joystick/
H A Djoydump.c67 buf = kmalloc_array(BUF_SIZE, sizeof(struct joydump), GFP_KERNEL);
/linux-master/drivers/cpufreq/
H A Dbmips-cpufreq.c74 table = kmalloc_array(priv->max_freqs + 1, sizeof(*table), GFP_KERNEL);
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_mac.h261 hash->lsts = kmalloc_array(hash->size, sizeof(struct list_head),
/linux-master/drivers/video/fbdev/core/
H A Dfbcon_rotate.c49 dst = kmalloc_array(len, d_cellsize, GFP_KERNEL);
/linux-master/fs/erofs/
H A Dpcpubuf.c67 pages = kmalloc_array(nrpages, sizeof(*pages), GFP_KERNEL);
/linux-master/kernel/trace/
H A Dfgraph.c387 kmalloc_array(FTRACE_RETFUNC_DEPTH,
530 kmalloc_array(FTRACE_RETFUNC_DEPTH,
552 ret_stack = kmalloc_array(FTRACE_RETFUNC_DEPTH,
578 ret_stack_list = kmalloc_array(FTRACE_RETSTACK_ALLOC_SIZE,
/linux-master/drivers/char/agp/
H A Dcompat_ioctl.c101 usegment = kmalloc_array(ureserve.seg_count,
107 ksegment = kmalloc_array(kreserve.seg_count,
/linux-master/drivers/tee/optee/
H A Drpc.c57 params = kmalloc_array(arg->num_params, sizeof(struct tee_param),
188 params = kmalloc_array(arg->num_params, sizeof(struct tee_param),
/linux-master/lib/kunit/
H A Dexecutor.c111 filtered = kmalloc_array(n + 1, sizeof(*filtered), GFP_KERNEL);
165 copy = kmalloc_array(max, sizeof(*filtered.start), GFP_KERNEL);

Completed in 184 milliseconds

1234567891011>>