Searched refs:array_size (Results 176 - 200 of 335) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c876 uint32_t array_size = sizeof(struct SMU75_Discrete_GraphicsLevel) * local
958 (uint32_t)array_size, SMC_RAM_END);
1043 uint32_t array_size = sizeof(SMU75_Discrete_MemoryLevel) * local
1080 (uint32_t)array_size, SMC_RAM_END);
/linux-master/drivers/video/fbdev/
H A Dxen-fbfront.c393 info->gfns = vmalloc(array_size(sizeof(unsigned long), info->nr_pages));
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c567 vmalloc(array_size(NFP_FL_STATS_ELEM_RS,
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_hdcp_gsc_message.c479 array_size(data->k, sizeof(*data->streams)));
/linux-master/fs/afs/
H A Dcmservice.c629 size = array_size(call->count, sizeof(struct yfs_xdr_YFSFid));
/linux-master/security/landlock/
H A Druleset.c717 array_size(sizeof((*layer_masks)[0]), num_access));
/linux-master/fs/nfsd/
H A Dnfscache.c188 nn->drc_hashtbl = kvzalloc(array_size(hashsize,
/linux-master/lib/
H A Dstring_helpers_kunit.c8 #include <linux/array_size.h>
/linux-master/drivers/md/
H A Ddm-region-hash.c209 rh->buckets = vmalloc(array_size(nr_buckets, sizeof(*rh->buckets)));
/linux-master/drivers/net/ppp/
H A Dpptp.c651 callid_sock = vzalloc(array_size(sizeof(void *), (MAX_CALLID + 1)));
/linux-master/drivers/pinctrl/cirrus/
H A Dpinctrl-cs42l43.c8 #include <linux/array_size.h>
/linux-master/drivers/remoteproc/
H A Dremoteproc_virtio.c40 new_map = kmemdup(map, array_size(num_ranges + 1, sizeof(*map)),
/linux-master/drivers/iio/
H A Dindustrialio-gts-helper.c192 gain_bytes = array_size(gts->num_hwgain, sizeof(int));
/linux-master/drivers/iio/pressure/
H A Dhsc030pa.c10 #include <linux/array_size.h>
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_hw_data.c308 array_size(sizeof(*thd2arb_map), ae_cnt));
/linux-master/io_uring/
H A Dregister.c178 size = array_size(nr_args, sizeof(*res));
/linux-master/net/batman-adv/
H A Dmain.c9 #include <linux/array_size.h>
/linux-master/drivers/platform/x86/intel/
H A Dsdsi.c213 void *buf = info->buffer + array_size(SDSI_SIZE_MAILBOX, loop);
/linux-master/arch/s390/kernel/
H A Dmodule.c131 me->arch.syminfo = vmalloc(array_size(sizeof(struct mod_arch_syminfo),
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-core.c1795 if (tpg_alloc(&dev->tpg, array_size(MAX_WIDTH, MAX_ZOOM)))
1797 dev->scaled_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM));
1800 dev->blended_line = vzalloc(array_size(MAX_WIDTH, MAX_ZOOM));
1805 dev->edid = vmalloc(array_size(256, 128));
/linux-master/fs/xfs/scrub/
H A Dscrub.c855 vec_bytes = array_size(head.svh_nr, sizeof(struct xfs_scrub_vec));
/linux-master/block/partitions/
H A Dcore.c97 state->parts = vzalloc(array_size(nr, sizeof(state->parts[0])));
/linux-master/drivers/tty/serial/8250/
H A D8250_pci1xxxx.c10 #include <linux/array_size.h>
/linux-master/include/linux/
H A Dkfifo.h39 #include <linux/array_size.h>
H A Dproperty.h14 #include <linux/array_size.h>

Completed in 524 milliseconds

1234567891011>>