| /include/linux/ |
| A D | packing.h | 82 const size_t num_fields = ARRAY_SIZE(fields); \ 383 __builtin_choose_expr(ARRAY_SIZE(fields) == 1, ({ CHECK_PACKED_FIELDS_1(fields); }), \ 384 __builtin_choose_expr(ARRAY_SIZE(fields) == 2, ({ CHECK_PACKED_FIELDS_2(fields); }), \ 385 __builtin_choose_expr(ARRAY_SIZE(fields) == 3, ({ CHECK_PACKED_FIELDS_3(fields); }), \ 386 __builtin_choose_expr(ARRAY_SIZE(fields) == 4, ({ CHECK_PACKED_FIELDS_4(fields); }), \ 387 __builtin_choose_expr(ARRAY_SIZE(fields) == 5, ({ CHECK_PACKED_FIELDS_5(fields); }), \ 388 __builtin_choose_expr(ARRAY_SIZE(fields) == 6, ({ CHECK_PACKED_FIELDS_6(fields); }), \ 389 __builtin_choose_expr(ARRAY_SIZE(fields) == 7, ({ CHECK_PACKED_FIELDS_7(fields); }), \ 390 __builtin_choose_expr(ARRAY_SIZE(fields) == 8, ({ CHECK_PACKED_FIELDS_8(fields); }), \ 445 )((pbuf), (pbuflen), (ustruct), (fields), ARRAY_SIZE(fields), (quirks)); \ [all …]
|
| A D | dma-fence-unwrap.h | 72 struct dma_fence_unwrap __c[ARRAY_SIZE(__f)]; \ 74 __dma_fence_unwrap_merge(ARRAY_SIZE(__f), __f, __c); \
|
| A D | rcupdate_wait.h | 31 struct rcu_synchronize __rs_array[ARRAY_SIZE(__crcu_array)]; \ 32 __wait_rcu_gp(checktiny, state, ARRAY_SIZE(__crcu_array), __crcu_array, __rs_array); \
|
| A D | array_size.h | 11 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) macro
|
| A D | rv.h | 60 for (int i = 0; i < ARRAY_SIZE(mon->states); ++i) { in rv_ltl_valid_state() 69 for (int i = 0; i < ARRAY_SIZE(mon->unknown_atoms); ++i) { in rv_ltl_all_atoms_known()
|
| A D | bpf_mprog.h | 170 BUILD_BUG_ON(ARRAY_SIZE(bundle->a.fp_items) != in bpf_mprog_bundle_init() 171 ARRAY_SIZE(bundle->cp_items)); in bpf_mprog_bundle_init() 191 return ARRAY_SIZE(((struct bpf_mprog_entry *)NULL)->fp_items) - 1; in bpf_mprog_max() 293 int total = ARRAY_SIZE(entry->fp_items); in bpf_mprog_entry_shrink()
|
| A D | genl_magic_func.h | 143 const int maxtype = ARRAY_SIZE(s_name ## _nl_policy)-1; \ 148 BUILD_BUG_ON(ARRAY_SIZE(s_name ## _nl_policy) > ARRAY_SIZE(nested_attr_tb)); \ 293 .maxattr = ARRAY_SIZE(CONCATENATE(GENL_MAGIC_FAMILY, _tla_nl_policy))-1, 296 .n_ops = ARRAY_SIZE(ZZZ_genl_ops), 299 .n_mcgrps = ARRAY_SIZE(ZZZ_genl_mcgrps),
|
| A D | string.h | 336 #define sysfs_match_string(_a, _s) __sysfs_match_string(_a, ARRAY_SIZE(_a), _s) 409 ARRAY_SIZE(dest); \ 435 ARRAY_SIZE(dest); \ 457 ARRAY_SIZE(dest); \ 485 ARRAY_SIZE(dest); \
|
| A D | property.h | 424 PROPERTY_ENTRY_U8_ARRAY_LEN(_name_, _val_, ARRAY_SIZE(_val_)) 426 PROPERTY_ENTRY_U16_ARRAY_LEN(_name_, _val_, ARRAY_SIZE(_val_)) 428 PROPERTY_ENTRY_U32_ARRAY_LEN(_name_, _val_, ARRAY_SIZE(_val_)) 430 PROPERTY_ENTRY_U64_ARRAY_LEN(_name_, _val_, ARRAY_SIZE(_val_)) 432 PROPERTY_ENTRY_STRING_ARRAY_LEN(_name_, _val_, ARRAY_SIZE(_val_)) 434 PROPERTY_ENTRY_REF_ARRAY_LEN(_name_, _val_, ARRAY_SIZE(_val_))
|
| A D | sysctl.h | 211 register_sysctl_sz(path, table, ARRAY_SIZE(table)) 233 __register_sysctl_init(path, table, #table, ARRAY_SIZE(table))
|
| A D | hashtable.h | 27 #define HASH_SIZE(name) (ARRAY_SIZE(name))
|
| /include/rdma/ |
| A D | uverbs_named_ioctl.h | 31 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ 45 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \ 55 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \ 69 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \ 80 .num_methods = ARRAY_SIZE(UVERBS_OBJECT_METHODS(_object_id)), \ 92 .num_attrs = ARRAY_SIZE(UVERBS_METHOD_ATTRS(_method_id)), \
|
| /include/trace/events/ |
| A 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/ |
| A 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/ |
| A D | machine.h | 117 .num_configs = ARRAY_SIZE(cfgs), \ 139 .num_configs = ARRAY_SIZE(cfgs), \
|
| /include/xen/ |
| A D | hvm.h | 31 if (op >= ARRAY_SIZE(names)) in param_name()
|
| /include/drm/ |
| A D | drm_mode_object.h | 114 for (i = 0; i < ARRAY_SIZE(list); i++) { \
|
| A D | drm_mipi_dsi.h | 401 ret = mipi_dsi_generic_write_chatty(dsi, d, ARRAY_SIZE(d)); \ 418 mipi_dsi_generic_write_multi(ctx, d, ARRAY_SIZE(d)); \ 434 mipi_dsi_dcs_write_buffer_multi(ctx, d, ARRAY_SIZE(d)); \
|
| A D | drm_mipi_dbi.h | 226 ret = mipi_dbi_command_stackbuf(dbi, cmd, d, ARRAY_SIZE(d)); \
|
| /include/net/ |
| A D | rtnetlink.h | 60 __rtnl_register_many(handlers, ARRAY_SIZE(handlers)) 62 __rtnl_unregister_many(handlers, ARRAY_SIZE(handlers))
|
| /include/crypto/internal/ |
| A D | blake2b.h | 94 for (i = 0; i < ARRAY_SIZE(state->h); i++) in crypto_blake2b_finup()
|
| /include/scsi/ |
| A D | scsi_host.h | 861 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable() 875 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable()
|
| /include/sound/ |
| A D | soc-dapm.h | 145 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)} 151 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)} 157 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols)} 224 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols), \ 231 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols), \ 238 .kcontrol_news = wcontrols, .num_kcontrols = ARRAY_SIZE(wcontrols), \
|
| A D | soc.h | 379 ARRAY_SIZE(xtexts), xtexts) 383 const struct soc_enum name = SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(xtexts), xtexts) 386 ARRAY_SIZE(xtexts), xtexts, xvalues) 392 xshift, xmask, ARRAY_SIZE(xtexts), xtexts, xvalues) 395 const struct soc_enum name = SOC_ENUM_SINGLE_VIRT(ARRAY_SIZE(xtexts), xtexts) 902 .num_cpus = ARRAY_SIZE(cpu), \ 904 .num_codecs = ARRAY_SIZE(codec), \ 906 .num_platforms = ARRAY_SIZE(platform)
|
| /include/net/netfilter/ |
| A D | nf_conntrack_tuple.h | 26 #define NF_CT_TUPLE_L3SIZE ARRAY_SIZE(((union nf_inet_addr *)NULL)->all)
|