| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_wmfw.c | 104 unsigned int bytes_needed = struct_size_t(struct wmfw_region, data, payload_len_bytes); in cs_dsp_mock_wmfw_add_raw_block() 248 offset = round_up(4 + struct_size_t(struct wmfw_short_string, data, name_len), in cs_dsp_mock_wmfw_start_alg_info_block() 328 ple32 += round_up(struct_size_t(struct wmfw_short_string, data, shortname_len), in cs_dsp_mock_wmfw_add_coeff_desc() 336 ple32 += round_up(struct_size_t(struct wmfw_short_string, data, fullname_len), in cs_dsp_mock_wmfw_add_coeff_desc() 344 ple32 += round_up(struct_size_t(struct wmfw_long_string, data, description_len), in cs_dsp_mock_wmfw_add_coeff_desc() 384 offset += round_up(struct_size_t(struct wmfw_short_string, data, shortstring->len), in cs_dsp_mock_wmfw_end_alg_info_block() 389 offset += round_up(struct_size_t(struct wmfw_long_string, data, in cs_dsp_mock_wmfw_end_alg_info_block()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ddp.h | 214 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/fs/xfs/scrub/ |
| H A D | btree.h | 63 return struct_size_t(struct xchk_btree, lastkey, nlevels - 1); in xchk_btree_sizeof()
|
| /linux/security/landlock/ |
| H A D | domain.h | 84 static_assert(struct_size_t(struct landlock_details, exe_path,
|
| /linux/include/linux/ |
| H A D | overflow.h | 452 #define struct_size_t(type, member, count) \ macro 481 u8 bytes[struct_size_t(type, member, count)]; \
|
| H A D | slab.h | 1109 const size_t __obj_size = struct_size_t(TYPE, FAM, __count); \
|
| /linux/net/hsr/ |
| H A D | hsr_framereg.h | 125 return struct_size_t(struct hsr_seq_block, seq_nrs, node->seq_port_cnt); in hsr_seq_block_size()
|
| /linux/scripts/coccinelle/api/ |
| H A D | kmalloc_objs.cocci | 122 - ALLOC(struct_size_t(TYPE, FLEX, COUNT), GFP)
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_queue.c | 41 return struct_size_t(struct rogue_fwif_frag_ctx_state, in get_xfer_ctx_state_size() 70 return struct_size_t(struct rogue_fwif_frag_ctx_state, in get_frag_ctx_state_size()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_btree.h | 318 return struct_size_t(struct xfs_btree_cur, bc_levels, nlevels); in xfs_btree_cur_sizeof()
|
| /linux/kernel/ |
| H A D | pid.c | 834 struct_size_t(struct pid, numbers, 1), in pid_idr_init()
|
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.bpf.c | 108 struct_size_t(struct scx_cmask, bits, QMAP_CMASK_WORDS), 180 struct_size_t(struct task_ctx, cpus_allowed.bits, \
|
| /linux/net/rxrpc/ |
| H A D | key.c | 213 token->rxgk = kzalloc(struct_size_t(struct rxgk_key, _key, raw_keylen), GFP_KERNEL); in rxrpc_preparse_xdr_yfs_rxgk()
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | common.bpf.h | 1084 #define struct_size_t(type, member, count) \ macro
|
| /linux/kernel/sched/ext/ |
| H A D | sub.c | 130 struct_size_t(struct scx_cmask, bits, in free_pshard() 151 size_t cmask_size = struct_size_t(struct scx_cmask, bits, in alloc_pshard()
|
| H A D | ext.c | 5275 size_t size = struct_size_t(struct scx_cmask, bits, in scx_set_cmask_scratch_alloc() 5299 size_t size = struct_size_t(struct scx_cmask, bits, in scx_set_cmask_scratch_free() 7163 sch->pcpu = __alloc_percpu(struct_size_t(struct scx_sched_pcpu, in scx_alloc_and_add_sched()
|
| /linux/include/net/libeth/ |
| H A D | xdp.h | 97 struct_size_t(struct libeth_xdp_buff, priv, \
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_sas_fp.c | 329 expected_size = struct_size_t(struct MR_FW_RAID_MAP, in MR_ValidateMapInfo()
|
| H A D | megaraid_sas_base.c | 5158 struct_size_t(struct MR_FW_RAID_MAP, ldSpanMap, in megasas_update_ext_vd_details() 5794 pd_seq_map_sz = struct_size_t(struct MR_PD_CFG_SEQ_NUM_SYNC, seq, in megasas_setup_jbod_map() 8046 struct_size_t(struct MR_PD_CFG_SEQ_NUM_SYNC, in megasas_detach_one()
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | hfi_cmds.c | 254 struct_size_t(struct hfi_session_set_buffers_pkt, in pkt_session_unset_buffers()
|
| /linux/drivers/nvme/host/ |
| H A D | fc.c | 2889 struct_size_t(struct nvme_fcp_op_w_sgl, priv, in nvme_fc_create_io_queues() 3566 struct_size_t(struct nvme_fcp_op_w_sgl, priv, in nvme_fc_init_ctrl()
|
| /linux/io_uring/ |
| H A D | rsrc.c | 244 const int imu_cache_size = struct_size_t(struct io_mapped_ubuf, bvec, in io_rsrc_cache_init()
|
| /linux/net/sctp/ |
| H A D | socket.c | 4115 struct_size_t(struct sctp_reset_streams, srs_stream_list, in sctp_setsockopt_reset_streams() 4602 PAGE_ALIGN(struct_size_t(struct sctp_reset_streams, in sctp_setsockopt()
|
| /linux/mm/ |
| H A D | slub.c | 7899 size = struct_size_t(struct slab_sheaf, objects, capacity); in calculate_sheaf_capacity() 7901 capacity = (size - struct_size_t(struct slab_sheaf, objects, 0)) / sizeof(void *); in calculate_sheaf_capacity()
|
| /linux/sound/soc/codecs/ |
| H A D | cs-amp-lib-test.c | 262 struct_size_t(struct cirrus_amp_efi_data, data, 8)
|