Searched refs:kmalloc_array (Results 26 - 50 of 624) sorted by relevance

1234567891011>>

/linux-master/fs/bcachefs/
H A Djournal_sb.c34 b = kmalloc_array(nr, sizeof(u64), GFP_KERNEL);
117 b = kmalloc_array(nr, sizeof(*b), GFP_KERNEL);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_telemetry.c58 telemetry->rp_num_indexes = kmalloc_array(tl_data->max_rp,
64 telemetry->regs_hist_buff = kmalloc_array(tl_data->num_hbuff,
H A Dadf_tl_debugfs.c117 hist_vals = kmalloc_array(tl_data->num_hbuff, sizeof(*hist_vals),
174 hist_vals = kmalloc_array(num_hbuff, sizeof(*hist_vals), GFP_KERNEL);
178 hist_cnt = kmalloc_array(num_hbuff, sizeof(*hist_cnt), GFP_KERNEL);
223 hist_vals = kmalloc_array(tl_data->num_hbuff, sizeof(*hist_vals),
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_shared_buf.c102 pf->shared_bufs = kmalloc_array(num_entries, sizeof(pf->shared_bufs[0]),
/linux-master/net/ceph/
H A Dpagevec.c44 pages = kmalloc_array(num_pages, sizeof(*pages), flags);
/linux-master/drivers/input/
H A Dmatrix-keymap.c97 keys = kmalloc_array(size, sizeof(u32), GFP_KERNEL);
/linux-master/sound/firewire/dice/
H A Ddice-extension.c147 pointers = kmalloc_array(9, sizeof(__be32) * 2, GFP_KERNEL);
/linux-master/net/rds/
H A Dinfo.c190 pages = kmalloc_array(nr_pages, sizeof(struct page *), GFP_KERNEL);
/linux-master/arch/x86/xen/
H A Dgrant-table.c104 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL);
/linux-master/arch/arm/mm/
H A Dpgd.c20 #define __pgd_alloc() kmalloc_array(PTRS_PER_PGD, sizeof(pgd_t), GFP_KERNEL)
/linux-master/drivers/xen/
H A Dtime.c97 runstate_delta = kmalloc_array(num_possible_cpus(),
/linux-master/mm/
H A Dmmap_lock.c92 tmp_bufs = kmalloc_array(num_possible_cpus(), sizeof(*tmp_bufs),
/linux-master/drivers/base/
H A Dmap.c44 p = kmalloc_array(n, sizeof(struct probe), GFP_KERNEL);
/linux-master/tools/testing/scatterlist/linux/
H A Dmm.h119 kmalloc_array(unsigned int n, unsigned int size, unsigned int flags) function
/linux-master/drivers/clk/
H A Dclk-bulk.c57 clk_bulk = kmalloc_array(num_clks, sizeof(*clk_bulk), GFP_KERNEL);
/linux-master/drivers/gpu/drm/i915/
H A Di915_deps.c85 new_fences = kmalloc_array(new_size, sizeof(*new_fences), deps->gfp);
/linux-master/tools/virtio/linux/
H A Dkernel.h62 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) function
/linux-master/arch/powerpc/platforms/4xx/
H A Dhsta_msi.c154 ppc4xx_hsta_msi.irq_map = kmalloc_array(irq_count, sizeof(int),
/linux-master/drivers/dma-buf/
H A Ddma-fence-unwrap.c95 array = kmalloc_array(count, sizeof(*array), GFP_KERNEL);
/linux-master/kernel/locking/
H A Dtest-ww_mutex.c321 cycles = kmalloc_array(nthreads, sizeof(*cycles), GFP_KERNEL);
407 order = kmalloc_array(count, sizeof(*order), GFP_KERNEL);
580 locks = kmalloc_array(nlocks, sizeof(*locks), GFP_KERNEL);
584 stress_array = kmalloc_array(nthreads, sizeof(*stress_array),
/linux-master/mm/damon/
H A Ddbgfs.c243 schemes = kmalloc_array(max_nr_schemes, sizeof(scheme),
389 array = kmalloc_array(max_nr_ints, sizeof(*array), GFP_KERNEL);
430 pids = kmalloc_array(nr_ints, sizeof(*pids), GFP_KERNEL);
936 new_dirs = kmalloc_array(dbgfs_nr_ctxs - 1, sizeof(*dbgfs_dirs),
943 new_ctxs = kmalloc_array(dbgfs_nr_ctxs - 1, sizeof(*dbgfs_ctxs),
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Ddevlink.c275 registers = kmalloc_array(32, sizeof(u16), GFP_KERNEL);
382 table = kmalloc_array(mv88e6xxx_num_databases(chip),
634 registers = kmalloc_array(32, sizeof(u16), GFP_KERNEL);
/linux-master/net/ethtool/
H A Dbitset.c712 val32 = kmalloc_array(2 * nwords, sizeof(u32), GFP_KERNEL);
748 val32 = kmalloc_array(2 * nwords, sizeof(u32), GFP_KERNEL);
783 bitmap32 = kmalloc_array(dst_words, sizeof(u32), GFP_KERNEL);
/linux-master/drivers/video/fbdev/core/
H A Dfbcon_ccw.c252 dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC);
298 char *tmp, *mask = kmalloc_array(w, vc->vc_font.width,
306 tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC);
H A Dfbcon_cw.c235 dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC);
281 char *tmp, *mask = kmalloc_array(w, vc->vc_font.width,
289 tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC);

Completed in 974 milliseconds

1234567891011>>