Home
last modified time | relevance | path

Searched refs:sizeof_field (Results 1 – 25 of 231) sorted by relevance

12345678910

/linux-6.15/drivers/net/ipa/
H A Dipa_qmi_msg.c18 sizeof_field(struct ipa_indication_register_req,
28 sizeof_field(struct ipa_indication_register_req,
38 sizeof_field(struct ipa_indication_register_req,
48 sizeof_field(struct ipa_indication_register_req,
178 sizeof_field(struct ipa_init_complete_ind,
196 sizeof_field(struct ipa_mem_bounds, start),
203 sizeof_field(struct ipa_mem_bounds, end),
217 sizeof_field(struct ipa_mem_array, start),
224 sizeof_field(struct ipa_mem_array, count),
238 sizeof_field(struct ipa_mem_range, start),
[all …]
/linux-6.15/tools/testing/selftests/bpf/
H A Dbpf_util.h54 #ifndef sizeof_field
55 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
60 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/linux-6.15/arch/arm64/include/asm/
H A Dprocessor.h263 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
264 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
265 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
266 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist()
267 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist()
268 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
271 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/linux-6.15/drivers/media/test-drivers/vidtv/
H A Dvidtv_psi.c617 length += sizeof_field(struct vidtv_psi_desc, type); in vidtv_psi_desc_comp_loop_len()
618 length += sizeof_field(struct vidtv_psi_desc, length); in vidtv_psi_desc_comp_loop_len()
675 .len = sizeof_field(struct vidtv_psi_desc, type) + in vidtv_psi_desc_write_into()
676 sizeof_field(struct vidtv_psi_desc, length), in vidtv_psi_desc_write_into()
1208 sizeof_field(struct vidtv_psi_table_pmt, bitfield2), in vidtv_psi_pmt_write_into()
1348 .len = sizeof_field(struct vidtv_psi_table_sdt, network_id) + in vidtv_psi_sdt_write_into()
1349 sizeof_field(struct vidtv_psi_table_sdt, reserved), in vidtv_psi_sdt_write_into()
1588 length += sizeof_field(struct vidtv_psi_table_nit, bitfield2); in vidtv_psi_nit_table_update_sec_len()
1748 sizeof_field(struct vidtv_psi_table_transport, bitfield); in vidtv_psi_nit_write_into()
1900 sizeof_field(struct vidtv_psi_table_eit, network_id) + in vidtv_psi_eit_write_into()
[all …]
/linux-6.15/include/linux/
H A Dstddef.h24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
H A Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
/linux-6.15/drivers/mfd/
H A Dioc3.c160 sizeof_field(struct ioc3, sregs.uarta)),
166 sizeof_field(struct ioc3, sregs.uartb)),
215 sizeof_field(struct ioc3, serio)),
244 sizeof_field(struct ioc3, eth)),
246 sizeof_field(struct ioc3, ssram)),
252 sizeof_field(struct ioc3, mcr)),
361 sizeof_field(struct ioc3, gppr[0])),
363 sizeof_field(struct ioc3, gppr[1])),
/linux-6.15/drivers/net/wireless/marvell/mwifiex/
H A Dutil.h27 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n))
31 #define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n))
/linux-6.15/drivers/net/ethernet/cavium/liquidio/
H A Docteon_console.c208 sizeof_field(struct cvmx_bootmem_desc, major_version)); in __cvmx_bootmem_check_version()
212 sizeof_field(struct cvmx_bootmem_desc, minor_version)); in __cvmx_bootmem_check_version()
240 sizeof_field( in __cvmx_bootmem_find_named_block_flags()
246 sizeof_field( in __cvmx_bootmem_find_named_block_flags()
270 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
276 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
283 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
294 sizeof_field( in cvmx_bootmem_phy_named_block_find()
/linux-6.15/drivers/nvmem/layouts/
H A Dsl28vpd.c46 .bytes = sizeof_field(struct sl28vpd_v1, serial_number),
51 .bytes = sizeof_field(struct sl28vpd_v1, base_mac_address),
/linux-6.15/arch/m68k/kernel/
H A Dsignal.c66 #define FMT4SIZE sizeof_field(struct frame, un.fmt4)
71 [2] = sizeof_field(struct frame, un.fmt2),
72 [3] = sizeof_field(struct frame, un.fmt3),
76 [7] = sizeof_field(struct frame, un.fmt7),
78 [9] = sizeof_field(struct frame, un.fmt9),
79 [10] = sizeof_field(struct frame, un.fmta),
80 [11] = sizeof_field(struct frame, un.fmtb),
648 char buf[sizeof_field(struct frame, un)]; in mangle_kernel_stack()
/linux-6.15/net/core/
H A Dfilter.c9855 BUILD_BUG_ON(sizeof_field(struct sock_common, in bpf_convert_ctx_access()
10042 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10052 sizeof_field(struct sock, sk_type), in bpf_sock_convert_ctx_access()
10069 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10078 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10092 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10109 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10123 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10133 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10143 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
[all …]
/linux-6.15/drivers/s390/net/
H A Dqeth_core_mpc.h427 #define SETASS_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_setassparms,\
577 #define SETADP_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_setadpparms,\
691 #define VNICC_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_vnicc,\
764 #define SBP_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_setbridgeport,\
849 #define IPA_DATA_SIZEOF(field) sizeof_field(struct qeth_ipa_cmd, data.field)
/linux-6.15/drivers/hv/
H A Dmshv.h15 0, sizeof_field(typeof(STRUCT), MEMBER))
/linux-6.15/net/netfilter/
H A Dnft_nat.c203 alen = sizeof_field(struct nf_nat_range, min_addr.ip); in nft_nat_init()
206 alen = sizeof_field(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
234 plen = sizeof_field(struct nf_nat_range, min_proto.all); in nft_nat_init()
/linux-6.15/net/openvswitch/
H A Dflow.h53 (sizeof_field(struct sw_flow_key, tun_opts) - opt_len)
68 sizeof_field(struct sw_flow_key, recirc_id))
/linux-6.15/fs/btrfs/
H A Daccessors.h50 sizeof_field(type, member)))
56 sizeof_field(type, member)))
78 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
84 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
90 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
96 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
127 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); in btrfs_device_total_bytes()
134 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); in btrfs_set_device_total_bytes()
/linux-6.15/net/ethtool/
H A Dcmis_fw_update.c172 max_lpl_len - sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl, in cmis_fw_update_write_image_lpl()
189 sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl, in cmis_fw_update_write_image_lpl()
226 lpl_len = sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl, in cmis_fw_update_write_image_epl()
/linux-6.15/drivers/media/platform/ti/omap3isp/
H A Disppreview.c756 sizeof_field(struct prev_params, luma),
765 sizeof_field(struct prev_params, hmed),
771 sizeof_field(struct prev_params, cfa),
777 sizeof_field(struct prev_params, csup),
783 sizeof_field(struct prev_params, wbal),
789 sizeof_field(struct prev_params, blkadj),
795 sizeof_field(struct prev_params, rgb2rgb),
801 sizeof_field(struct prev_params, csc),
813 sizeof_field(struct prev_params, dcor),
831 sizeof_field(struct prev_params, nf),
[all …]
/linux-6.15/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-regmap.c440 .max_raw_read = sizeof_field(struct mcp251xfd_map_buf_nocrc, data),
441 .max_raw_write = sizeof_field(struct mcp251xfd_map_buf_nocrc, data),
462 .max_raw_read = sizeof_field(struct mcp251xfd_map_buf_crc, data),
463 .max_raw_write = sizeof_field(struct mcp251xfd_map_buf_crc, data),
H A Dmcp251xfd.h448 u8 data[sizeof_field(struct canfd_frame, data)];
454 u8 data[sizeof_field(struct can_frame, data)];
460 u8 data[sizeof_field(struct canfd_frame, data)];
467 u8 data[sizeof_field(struct can_frame, data)];
474 u8 data[sizeof_field(struct canfd_frame, data)];
/linux-6.15/arch/x86/kvm/
H A Dxen.c363 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
365 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
374 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest()
388 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
389 sizeof_field(struct compat_vcpu_runstate_info, time)); in kvm_xen_update_runstate_guest()
390 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
712 sizeof_field(struct vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
714 sizeof_field(struct compat_vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
1630 sizeof_field(struct vcpu_set_singleshot_timer, timeout_abs_ns)); in kvm_xen_hcall_vcpu_op()
1633 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_set_singleshot_timer, flags) != in kvm_xen_hcall_vcpu_op()
[all …]
/linux-6.15/include/net/libeth/
H A Dtx.h69 static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
/linux-6.15/net/wireless/tests/
H A Dutil.h63 skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
/linux-6.15/arch/s390/include/asm/
H A Dsmp.h20 BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu)); in raw_smp_processor_id()

12345678910