Home
last modified time | relevance | path

Searched refs:struct_size_t (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_wmfw.c104 unsigned int bytes_needed = struct_size_t(struct wmfw_region, data, payload_len_bytes); in cs_dsp_mock_wmfw_add_raw_block()
245 offset = round_up(4 + struct_size_t(struct wmfw_short_string, data, name_len), in cs_dsp_mock_wmfw_start_alg_info_block()
325 ple32 += round_up(struct_size_t(struct wmfw_short_string, data, shortname_len), in cs_dsp_mock_wmfw_add_coeff_desc()
333 ple32 += round_up(struct_size_t(struct wmfw_short_string, data, fullname_len), in cs_dsp_mock_wmfw_add_coeff_desc()
341 ple32 += round_up(struct_size_t(struct wmfw_long_string, data, description_len), in cs_dsp_mock_wmfw_add_coeff_desc()
381 offset += round_up(struct_size_t(struct wmfw_short_string, data, shortstring->len), in cs_dsp_mock_wmfw_end_alg_info_block()
386 offset += round_up(struct_size_t(struct wmfw_long_string, data, in cs_dsp_mock_wmfw_end_alg_info_block()
H A Dcs_dsp_mock_bin.c69 size_t bytes_needed = struct_size_t(struct wmfw_coeff_item, data, payload_len_bytes); in cs_dsp_mock_bin_add_raw_block()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_ddp.h214 struct_size_t(struct ice_buf_hdr, section_entry, 1) - (hd_sz)) / \
334 ICE_MAX_ENTRIES_IN_BUF(struct_size_t(struct ice_label_section, \
389 ICE_MAX_ENTRIES_IN_BUF(struct_size_t(struct ice_boost_tcam_section, \
409 ICE_MAX_ENTRIES_IN_BUF(struct_size_t(struct ice_marker_ptype_tcam_section, tcam, \
/linux-6.15/include/linux/
H A Doverflow.h388 #define struct_size_t(type, member, count) \ macro
405 u8 bytes[struct_size_t(type, member, count)]; \
/linux-6.15/fs/xfs/scrub/
H A Dbtree.h63 return struct_size_t(struct xchk_btree, lastkey, nlevels - 1); in xchk_btree_sizeof()
/linux-6.15/security/landlock/
H A Ddomain.h69 static_assert(struct_size_t(struct landlock_details, exe_path,
/linux-6.15/kernel/
H A Dpid_namespace.c52 len = struct_size_t(struct pid, numbers, level + 1); in create_pid_cachep()
H A Dpid.c785 struct_size_t(struct pid, numbers, 1), in pid_idr_init()
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_btree.h315 return struct_size_t(struct xfs_btree_cur, bc_levels, nlevels); in xfs_btree_cur_sizeof()
/linux-6.15/io_uring/
H A Drsrc.c121 return kvmalloc(struct_size_t(struct io_mapped_ubuf, bvec, nr_bvecs), in io_alloc_imu()
160 const int imu_cache_size = struct_size_t(struct io_mapped_ubuf, bvec, in io_rsrc_cache_init()
/linux-6.15/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c254 struct_size_t(struct hfi_session_set_buffers_pkt, in pkt_session_unset_buffers()
/linux-6.15/drivers/scsi/megaraid/
H A Dmegaraid_sas_fp.c329 expected_size = struct_size_t(struct MR_FW_RAID_MAP, in MR_ValidateMapInfo()
H A Dmegaraid_sas_base.c5160 struct_size_t(struct MR_FW_RAID_MAP, ldSpanMap, in megasas_update_ext_vd_details()
5796 pd_seq_map_sz = struct_size_t(struct MR_PD_CFG_SEQ_NUM_SYNC, seq, in megasas_setup_jbod_map()
8040 struct_size_t(struct MR_PD_CFG_SEQ_NUM_SYNC, in megasas_detach_one()
/linux-6.15/drivers/nvme/host/
H A Dfc.c2878 struct_size_t(struct nvme_fcp_op_w_sgl, priv, in nvme_fc_create_io_queues()
3533 struct_size_t(struct nvme_fcp_op_w_sgl, priv, in nvme_fc_init_ctrl()
/linux-6.15/drivers/net/hyperv/
H A Dnetvsc.c869 struct_size_t(struct nvsp_1_message_send_receive_buffer_complete, in netvsc_send_completion()
/linux-6.15/lib/tests/
H A Doverflow_kunit.c709 u8 ce_array[struct_size_t(struct __test_flex_array, data, 55)]; in overflow_size_helpers_test()
/linux-6.15/drivers/scsi/
H A Dhptiop.c1397 req_size = struct_size_t(struct hpt_iop_request_scsi_command, in hptiop_probe()
/linux-6.15/drivers/net/wireless/realtek/rtw89/
H A Dcore.c5243 hw->vif_data_size = struct_size_t(struct rtw89_vif, links_inst, n); in rtw89_core_register_hw()
5244 hw->sta_data_size = struct_size_t(struct rtw89_sta, links_inst, n); in rtw89_core_register_hw()
/linux-6.15/net/ethtool/
H A Dioctl.c1338 size = struct_size_t(struct ethtool_rxfh_context, data, flex_len); in ethtool_rxfh_ctx_alloc()
/linux-6.15/drivers/md/
H A Draid5.c2425 struct_size_t(struct stripe_head, dev, devs), in grow_stripes()
2549 struct_size_t(struct stripe_head, dev, newsize), in resize_stripes()
/linux-6.15/kernel/sched/
H A Dext.c5391 scx_dsp_ctx = __alloc_percpu(struct_size_t(struct scx_dsp_ctx, buf, in scx_ops_enable()
/linux-6.15/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c5054 struct_size_t(struct pqi_event_config, descriptors, PQI_MAX_EVENT_DESCRIPTORS)
/linux-6.15/net/core/
H A Ddev.c6244 return kmalloc(struct_size_t(struct flush_backlogs, w, nr_cpu_ids), in flush_backlogs_alloc()
/linux-6.15/net/netfilter/
H A Dnf_tables_api.c7774 struct_size_t(struct nft_trans_elem, elems, 1), in nft_setelem_flush()