struct_size_t
size_t bytes_needed = struct_size_t(struct wmfw_coeff_item, data, payload_len_bytes);
unsigned int bytes_needed = struct_size_t(struct wmfw_region, data, payload_len_bytes);
offset = round_up(4 + struct_size_t(struct wmfw_short_string, data, name_len),
ple32 += round_up(struct_size_t(struct wmfw_short_string, data, shortname_len),
ple32 += round_up(struct_size_t(struct wmfw_short_string, data, fullname_len),
ple32 += round_up(struct_size_t(struct wmfw_long_string, data, description_len),
offset += round_up(struct_size_t(struct wmfw_short_string, data, shortstring->len),
offset += round_up(struct_size_t(struct wmfw_long_string, data,
#define PCACHE_KSET_ONMEDIA_SIZE_MAX struct_size_t(struct pcache_cache_kset_onmedia, data, PCACHE_KSET_KEYS_MAX)
return struct_size_t(struct pcache_cache_kset_onmedia, data, kset_onmedia->key_num);
struct_size_t(struct stripe_head, dev, devs),
struct_size_t(struct stripe_head, dev, newsize),
struct_size_t(struct hfi_session_set_buffers_pkt,
struct_size_t(struct ice_buf_hdr, section_entry, 1) - (hd_sz)) / \
ICE_MAX_ENTRIES_IN_BUF(struct_size_t(struct ice_label_section, \
ICE_MAX_ENTRIES_IN_BUF(struct_size_t(struct ice_boost_tcam_section, \
ICE_MAX_ENTRIES_IN_BUF(struct_size_t(struct ice_marker_ptype_tcam_section, tcam, \
struct_size_t(struct nvsp_1_message_send_receive_buffer_complete,
ndp_len = struct_size_t(struct usb_cdc_ncm_ndp16, dpe16, ret);
ndp_len = struct_size_t(struct usb_cdc_ncm_ndp32, dpe32, ret);
hw->vif_data_size = struct_size_t(struct rtw89_vif, links_inst, n);
hw->sta_data_size = struct_size_t(struct rtw89_sta, links_inst, n);
struct_size_t(struct nvme_fcp_op_w_sgl, priv,
struct_size_t(struct nvme_fcp_op_w_sgl, priv,
size_t size = struct_size_t(struct perf_branch_stack, entries,
size = struct_size_t(struct wmi_string, chars, obj->string.length + 1);
req_size = struct_size_t(struct hpt_iop_request_scsi_command,
struct_size_t(struct MR_FW_RAID_MAP, ldSpanMap,
pd_seq_map_sz = struct_size_t(struct MR_PD_CFG_SEQ_NUM_SYNC, seq,
struct_size_t(struct MR_PD_CFG_SEQ_NUM_SYNC,
expected_size = struct_size_t(struct MR_FW_RAID_MAP,
struct_size_t(struct pqi_event_config, descriptors, PQI_MAX_EVENT_DESCRIPTORS)
qcomtee_msg_offset_align(struct_size_t(t, args, n))
return struct_size_t(struct xfs_btree_cur, bc_levels, nlevels);
return struct_size_t(struct xchk_btree, lastkey, nlevels - 1);
u8 bytes[struct_size_t(type, member, count)]; \
const size_t __obj_size = struct_size_t(TYPE, FAM, __count); \
struct_size_t(struct libeth_xdp_buff, priv, \
const int imu_cache_size = struct_size_t(struct io_mapped_ubuf, bvec,
struct_size_t(struct pid, numbers, 1),
len = struct_size_t(struct pid, numbers, level + 1);
scx_dsp_ctx = __alloc_percpu(struct_size_t(struct scx_dsp_ctx, buf,
u8 ce_array[struct_size_t(struct __test_flex_array, data, 55)];
memcg_size = struct_size_t(struct mem_cgroup, nodeinfo, nr_node_ids);
size = struct_size_t(struct slab_sheaf, objects, capacity);
capacity = (size - struct_size_t(struct slab_sheaf, objects, 0)) / sizeof(void *);
size = struct_size_t(struct ethtool_rxfh_context, data, flex_len);
return struct_size_t(struct hsr_seq_block, seq_nrs, node->seq_port_cnt);
struct_size_t(struct nft_trans_elem, elems, 1));
static_assert(struct_size_t(struct landlock_details, exe_path,
struct_size_t(struct cirrus_amp_efi_data, data, 8)