Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 33) sorted by relevance

12

/include/rdma/
Duverbs_named_ioctl.h58 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
72 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
82 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
96 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
107 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \
119 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
/include/linux/
Drcupdate_wait.h27 struct rcu_synchronize __rs_array[ARRAY_SIZE(__crcu_array)]; \
28 __wait_rcu_gp(checktiny, ARRAY_SIZE(__crcu_array), \
Dgenl_magic_func.h142 const int maxtype = ARRAY_SIZE(s_name ## _nl_policy)-1; \
147 BUILD_BUG_ON(ARRAY_SIZE(s_name ## _nl_policy) > ARRAY_SIZE(nested_attr_tb)); \
292 .maxattr = ARRAY_SIZE(CONCAT_(GENL_MAGIC_FAMILY, _tla_nl_policy))-1,
295 .n_ops = ARRAY_SIZE(ZZZ_genl_ops),
297 .n_mcgrps = ARRAY_SIZE(ZZZ_genl_mcgrps),
Dhashtable.h27 #define HASH_SIZE(name) (ARRAY_SIZE(name))
Dfs_parser.h95 #define lookup_constant(t, n, nf) __lookup_constant(t, ARRAY_SIZE(t), (n), (nf))
Dproperty.h263 .length = ARRAY_SIZE(_val_) * sizeof(_type_), \
281 .length = ARRAY_SIZE(_val_) * sizeof(const char *), \
Dmoduleparam.h438 = { .max = ARRAY_SIZE(array), .num = nump, \
497 = { .max = ARRAY_SIZE(name), .num = nump, \
Dclk-provider.h964 .num_parents = ARRAY_SIZE(_parents), \
973 .num_parents = ARRAY_SIZE(_parents), \
982 .num_parents = ARRAY_SIZE(_parents), \
Dkfifo.h130 __kfifo->mask = __is_kfifo_ptr(__tmp) ? 0 : ARRAY_SIZE(__tmp->buf) - 1;\
152 ARRAY_SIZE((fifo).buf) - 1, \
Dnetfilter.h234 if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp))) in nf_hook()
Dskmsg.h178 BUILD_BUG_ON(ARRAY_SIZE(msg->sg.data) - 1 != NR_MSG_FRAG_IDS); in sk_msg_init()
/include/trace/events/
Dwbt.h37 ARRAY_SIZE(__entry->name));
72 ARRAY_SIZE(__entry->name));
109 ARRAY_SIZE(__entry->name));
145 ARRAY_SIZE(__entry->name));
/include/uapi/linux/netfilter/
Dxt_sctp.h69 __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap))
81 __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap))
/include/linux/pinctrl/
Dmachine.h117 .num_configs = ARRAY_SIZE(cfgs), \
139 .num_configs = ARRAY_SIZE(cfgs), \
/include/xen/
Dhvm.h31 if (op >= ARRAY_SIZE(names)) in param_name()
/include/drm/
Ddrm_mode_object.h110 for (i = 0; i < ARRAY_SIZE(list); i++) { \
Ddrm_mipi_dbi.h179 mipi_dbi_command_stackbuf(dbi, cmd, d, ARRAY_SIZE(d)); \
Ddrm_connector.h1670 for ((__i) = 0; (__i) < ARRAY_SIZE((connector)->encoder_ids) && \
/include/scsi/
Dscsi_host.h834 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable()
848 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
/include/sound/
Dsoc-dapm.h123 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)}
128 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)}
133 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)}
191 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols), \
197 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols), \
203 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols), \
Dsoc.h355 ARRAY_SIZE(xtexts), xtexts)
359 const struct soc_enum name = SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(xtexts), xtexts)
362 ARRAY_SIZE(xtexts), xtexts, xvalues)
368 xshift, xmask, ARRAY_SIZE(xtexts), xtexts, xvalues)
371 const struct soc_enum name = SOC_ENUM_SINGLE_VIRT(ARRAY_SIZE(xtexts), xtexts)
939 .num_cpus = ARRAY_SIZE(cpu), \
941 .num_codecs = ARRAY_SIZE(codec), \
943 .num_platforms = ARRAY_SIZE(platform)
/include/net/netfilter/
Dnf_conntrack_tuple.h26 #define NF_CT_TUPLE_L3SIZE ARRAY_SIZE(((union nf_inet_addr *)NULL)->all)
/include/net/
Dbond_3ad.h284 int max_size = ARRAY_SIZE(churn_description); in bond_3ad_churn_desc()
Dnetlink.h336 _NLA_POLICY_NESTED(ARRAY_SIZE(policy) - 1, policy)
338 _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy)
/include/linux/mtd/
Drawnand.h292 .nstrengths = ARRAY_SIZE(__name##_strengths), \
870 .ninstrs = ARRAY_SIZE(_instrs), \

12