Searched refs:ARRAY_SIZE (Results 1 – 25 of 33) sorted by relevance
12
/include/rdma/ |
D | uverbs_named_ioctl.h | 58 .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/ |
D | rcupdate_wait.h | 27 struct rcu_synchronize __rs_array[ARRAY_SIZE(__crcu_array)]; \ 28 __wait_rcu_gp(checktiny, ARRAY_SIZE(__crcu_array), \
|
D | genl_magic_func.h | 142 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),
|
D | hashtable.h | 27 #define HASH_SIZE(name) (ARRAY_SIZE(name))
|
D | fs_parser.h | 95 #define lookup_constant(t, n, nf) __lookup_constant(t, ARRAY_SIZE(t), (n), (nf))
|
D | property.h | 263 .length = ARRAY_SIZE(_val_) * sizeof(_type_), \ 281 .length = ARRAY_SIZE(_val_) * sizeof(const char *), \
|
D | moduleparam.h | 438 = { .max = ARRAY_SIZE(array), .num = nump, \ 497 = { .max = ARRAY_SIZE(name), .num = nump, \
|
D | clk-provider.h | 964 .num_parents = ARRAY_SIZE(_parents), \ 973 .num_parents = ARRAY_SIZE(_parents), \ 982 .num_parents = ARRAY_SIZE(_parents), \
|
D | kfifo.h | 130 __kfifo->mask = __is_kfifo_ptr(__tmp) ? 0 : ARRAY_SIZE(__tmp->buf) - 1;\ 152 ARRAY_SIZE((fifo).buf) - 1, \
|
D | netfilter.h | 234 if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp))) in nf_hook()
|
D | skmsg.h | 178 BUILD_BUG_ON(ARRAY_SIZE(msg->sg.data) - 1 != NR_MSG_FRAG_IDS); in sk_msg_init()
|
/include/trace/events/ |
D | wbt.h | 37 ARRAY_SIZE(__entry->name)); 72 ARRAY_SIZE(__entry->name)); 109 ARRAY_SIZE(__entry->name)); 145 ARRAY_SIZE(__entry->name));
|
/include/uapi/linux/netfilter/ |
D | xt_sctp.h | 69 __sctp_chunkmap_is_clear((chunkmap), ARRAY_SIZE(chunkmap)) 81 __sctp_chunkmap_is_all_set((chunkmap), ARRAY_SIZE(chunkmap))
|
/include/linux/pinctrl/ |
D | machine.h | 117 .num_configs = ARRAY_SIZE(cfgs), \ 139 .num_configs = ARRAY_SIZE(cfgs), \
|
/include/xen/ |
D | hvm.h | 31 if (op >= ARRAY_SIZE(names)) in param_name()
|
/include/drm/ |
D | drm_mode_object.h | 110 for (i = 0; i < ARRAY_SIZE(list); i++) { \
|
D | drm_mipi_dbi.h | 179 mipi_dbi_command_stackbuf(dbi, cmd, d, ARRAY_SIZE(d)); \
|
D | drm_connector.h | 1670 for ((__i) = 0; (__i) < ARRAY_SIZE((connector)->encoder_ids) && \
|
/include/scsi/ |
D | scsi_host.h | 834 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/ |
D | soc-dapm.h | 123 .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), \
|
D | soc.h | 355 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/ |
D | nf_conntrack_tuple.h | 26 #define NF_CT_TUPLE_L3SIZE ARRAY_SIZE(((union nf_inet_addr *)NULL)->all)
|
/include/net/ |
D | bond_3ad.h | 284 int max_size = ARRAY_SIZE(churn_description); in bond_3ad_churn_desc()
|
D | netlink.h | 336 _NLA_POLICY_NESTED(ARRAY_SIZE(policy) - 1, policy) 338 _NLA_POLICY_NESTED_ARRAY(ARRAY_SIZE(policy) - 1, policy)
|
/include/linux/mtd/ |
D | rawnand.h | 292 .nstrengths = ARRAY_SIZE(__name##_strengths), \ 870 .ninstrs = ARRAY_SIZE(_instrs), \
|
12