Home
last modified time | relevance | path

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

12

/linux/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()
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 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/fs/xfs/scrub/
H A Dbtree.h63 return struct_size_t(struct xchk_btree, lastkey, nlevels - 1); in xchk_btree_sizeof()
/linux/security/landlock/
H A Ddomain.h84 static_assert(struct_size_t(struct landlock_details, exe_path,
/linux/include/linux/
H A Doverflow.h452 #define struct_size_t(type, member, count) \ macro
481 u8 bytes[struct_size_t(type, member, count)]; \
H A Dslab.h1109 const size_t __obj_size = struct_size_t(TYPE, FAM, __count); \
/linux/net/hsr/
H A Dhsr_framereg.h125 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 Dkmalloc_objs.cocci122 - ALLOC(struct_size_t(TYPE, FLEX, COUNT), GFP)
/linux/drivers/gpu/drm/imagination/
H A Dpvr_queue.c41 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 Dxfs_btree.h318 return struct_size_t(struct xfs_btree_cur, bc_levels, nlevels); in xfs_btree_cur_sizeof()
/linux/kernel/
H A Dpid.c834 struct_size_t(struct pid, numbers, 1), in pid_idr_init()
/linux/tools/sched_ext/
H A Dscx_qmap.bpf.c108 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 Dkey.c213 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 Dcommon.bpf.h1084 #define struct_size_t(type, member, count) \ macro
/linux/kernel/sched/ext/
H A Dsub.c130 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 Dext.c5275 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 Dxdp.h97 struct_size_t(struct libeth_xdp_buff, priv, \
/linux/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.c5158 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 Dhfi_cmds.c254 struct_size_t(struct hfi_session_set_buffers_pkt, in pkt_session_unset_buffers()
/linux/drivers/nvme/host/
H A Dfc.c2889 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 Drsrc.c244 const int imu_cache_size = struct_size_t(struct io_mapped_ubuf, bvec, in io_rsrc_cache_init()
/linux/net/sctp/
H A Dsocket.c4115 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 Dslub.c7899 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 Dcs-amp-lib-test.c262 struct_size_t(struct cirrus_amp_efi_data, data, 8)

12