Searched refs:array3_size (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/fs/ocfs2/
H A Dsysfile.c57 kzalloc(array3_size(sizeof(struct inode *),
/linux-master/tools/include/linux/
H A Doverflow.h93 * array3_size() - Calculate size of 3-dimensional array.
104 static inline __must_check size_t array3_size(size_t a, size_t b, size_t c) function
/linux-master/drivers/nvmem/
H A Drockchip-efuse.c117 buf = kzalloc(array3_size(addr_len, RK3399_NBYTES, sizeof(*buf)),
170 buf = kzalloc(array3_size(addr_len, RK3399_NBYTES, sizeof(*buf)),
/linux-master/drivers/scsi/fnic/
H A Dfnic_debugfs.c205 fnic_dbg_prt->buffer = vzalloc(array3_size(3, trace_max_pages,
214 vzalloc(array3_size(3, fnic_fc_trace_max_pages,
/linux-master/drivers/isdn/mISDN/
H A Dfsm.c27 kzalloc(array3_size(sizeof(FSMFNPTR), fsm->state_count,
/linux-master/drivers/mfd/
H A Dmotorola-cpcap.c174 array3_size(sizeof(*cpcap->irqs),
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Devent.c204 event->refs = kzalloc(array3_size(index_nr, types_nr, sizeof(*event->refs)), GFP_KERNEL);
/linux-master/include/linux/
H A Doverflow.h330 * array3_size() - Calculate size of 3-dimensional array.
340 #define array3_size(a, b, c) size_mul(size_mul(a, b), c) macro
/linux-master/drivers/pinctrl/
H A Dpinctrl-lantiq.c159 *map = kzalloc(array3_size(max_maps, sizeof(struct pinctrl_map), 2),
H A Dpinctrl-single.c1137 array3_size(rows, npins_in_row, sizeof(*vals)),
1143 array3_size(rows, npins_in_row, sizeof(*pins)),
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat.c56 const size_t exp_diff_size = array3_size(ADF_NUM_PKE_STRAND, max_aes,
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dctrl.c352 size = array3_size(size, abm->num_bands, NFP_NET_MAX_RX_RINGS);
/linux-master/sound/usb/line6/
H A Dpcm.c158 kmalloc(array3_size(line6pcm->line6->iso_buffers,
/linux-master/drivers/input/rmi4/
H A Drmi_f54.c684 array3_size(tx, rx, sizeof(u16)),
/linux-master/drivers/hwmon/
H A Di5k_amb.c264 data->attrs = kzalloc(array3_size(num_ambs, KNOBS_PER_AMB,
H A Dnct6683.c439 su = devm_kzalloc(dev, array3_size(repeat, count, sizeof(*su)),
/linux-master/fs/afs/
H A Dcmservice.c259 call->buffer = kmalloc(array3_size(call->count, 3, 4),
/linux-master/lib/
H A Dtest_firmware.c937 vzalloc(array3_size(sizeof(struct test_batched_req),
1041 vzalloc(array3_size(sizeof(struct test_batched_req),
H A Dtest_rhashtable.c750 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries));
/linux-master/drivers/devfreq/
H A Ddevfreq.c896 array3_size(sizeof(unsigned int),
1796 memset(df->stats.trans_table, 0, array3_size(sizeof(unsigned int),
/linux-master/sound/core/oss/
H A Dpcm_plugin.c65 size = array3_size(frames, format->channels, width);
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c103 return array3_size(sizeof(char),
111 array3_size(binary->sctbl_height,
118 return array3_size(SH_CSS_MORPH_TABLE_ELEM_BYTES,
963 params->fpn_config.data = kvmalloc(array3_size(height, width, sizeof(short)),
/linux-master/drivers/md/
H A Draid0.c145 conf->devlist = kzalloc(array3_size(sizeof(struct md_rdev *),
/linux-master/sound/pci/ctxfi/
H A Dctdaio.c397 dao->imappers = kzalloc(array3_size(sizeof(void *), desc->msr, 2),
/linux-master/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c897 array3_size(sizeof(char), PIN_NAME_LENGTH,

Completed in 291 milliseconds

12