arch/arc/kernel/unwind.c
45
% sizeof_field(struct unwind_frame_info, f)) \
arch/arc/kernel/unwind.c
47
/ sizeof_field(struct unwind_frame_info, f), \
arch/arc/kernel/unwind.c
48
sizeof_field(struct unwind_frame_info, f) \
arch/arm64/include/asm/processor.h
273
BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) !=
arch/arm64/include/asm/processor.h
274
sizeof_field(struct thread_struct, uw.tp_value) +
arch/arm64/include/asm/processor.h
275
sizeof_field(struct thread_struct, uw.tp2_value) +
arch/arm64/include/asm/processor.h
276
sizeof_field(struct thread_struct, uw.fpmr) +
arch/arm64/include/asm/processor.h
277
sizeof_field(struct thread_struct, uw.pad) +
arch/arm64/include/asm/processor.h
278
sizeof_field(struct thread_struct, uw.fpsimd_state));
arch/arm64/include/asm/processor.h
281
*size = sizeof_field(struct thread_struct, uw);
arch/arm64/net/bpf_jit_comp.c
103
#define PLT_TARGET_SIZE sizeof_field(struct bpf_plt, target)
arch/m68k/kernel/signal.c
648
char buf[sizeof_field(struct frame, un)];
arch/m68k/kernel/signal.c
66
#define FMT4SIZE sizeof_field(struct frame, un.fmt4)
arch/m68k/kernel/signal.c
71
[2] = sizeof_field(struct frame, un.fmt2),
arch/m68k/kernel/signal.c
72
[3] = sizeof_field(struct frame, un.fmt3),
arch/m68k/kernel/signal.c
76
[7] = sizeof_field(struct frame, un.fmt7),
arch/m68k/kernel/signal.c
78
[9] = sizeof_field(struct frame, un.fmt9),
arch/m68k/kernel/signal.c
79
[10] = sizeof_field(struct frame, un.fmta),
arch/m68k/kernel/signal.c
80
[11] = sizeof_field(struct frame, un.fmtb),
arch/mips/cavium-octeon/executive/cvmx-bootmem.c
61
sizeof_field(struct cvmx_bootmem_named_block_desc, field))
arch/riscv/include/asm/processor.h
133
*size = sizeof_field(struct thread_struct, fstate);
arch/s390/include/asm/preempt.h
31
BUILD_BUG_ON(sizeof_field(struct lowcore, preempt_count) != sizeof(int));
arch/s390/include/asm/smp.h
20
BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu));
arch/s390/include/asm/spinlock.h
24
BUILD_BUG_ON(sizeof_field(struct lowcore, spinlock_lockval) != sizeof(lockval));
arch/sparc/net/bpf_jit_comp_32.c
183
BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(void *)); \
arch/sparc/net/bpf_jit_comp_32.c
189
BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u32)); \
arch/sparc/net/bpf_jit_comp_32.c
195
BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u16)); \
arch/sparc/net/bpf_jit_comp_32.c
205
do { BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u8)); \
arch/x86/include/asm/sev.h
366
#define SVSM_PVALIDATE_MAX_COUNT ((sizeof_field(struct svsm_ca, svsm_buffer) - \
arch/x86/kernel/fpu/xstate.c
267
xstate_sizes[XFEATURE_SSE] = sizeof_field(struct fxregs_state,
arch/x86/kernel/signal_32.c
475
static_assert(sizeof_field(siginfo32_t, _sifields.name) == size)
arch/x86/kernel/signal_64.c
461
static_assert(sizeof_field(siginfo_t, _sifields.name) == size)
arch/x86/kernel/signal_64.c
490
static_assert(sizeof_field(compat_siginfo_t, _sifields._sigchld_x32) ==
arch/x86/kvm/vmx/tdx.c
2775
BUILD_BUG_ON(sizeof(*init_vm) != 256 + sizeof_field(struct kvm_tdx_init_vm, cpuid));
arch/x86/kvm/xen.c
1629
BUILD_BUG_ON(sizeof_field(struct compat_vcpu_set_singleshot_timer, timeout_abs_ns) !=
arch/x86/kvm/xen.c
1630
sizeof_field(struct vcpu_set_singleshot_timer, timeout_abs_ns));
arch/x86/kvm/xen.c
1633
BUILD_BUG_ON(sizeof_field(struct compat_vcpu_set_singleshot_timer, flags) !=
arch/x86/kvm/xen.c
1634
sizeof_field(struct vcpu_set_singleshot_timer, flags));
arch/x86/kvm/xen.c
363
BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state) !=
arch/x86/kvm/xen.c
365
BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state) !=
arch/x86/kvm/xen.c
374
BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state_entry_time) !=
arch/x86/kvm/xen.c
376
BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state_entry_time) !=
arch/x86/kvm/xen.c
388
BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) !=
arch/x86/kvm/xen.c
389
sizeof_field(struct compat_vcpu_runstate_info, time));
arch/x86/kvm/xen.c
390
BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) !=
arch/x86/kvm/xen.c
712
sizeof_field(struct vcpu_info, evtchn_upcall_pending));
arch/x86/kvm/xen.c
714
sizeof_field(struct compat_vcpu_info, evtchn_upcall_pending));
arch/x86/kvm/xen.h
249
sizeof_field(struct compat_shared_info, \
block/bio.c
2008
BUILD_BUG_ON(BIO_FLAG_LAST > 8 * sizeof_field(struct bio, bi_flags));
block/blk-core.c
1314
sizeof_field(struct request, cmd_flags));
block/blk-core.c
1316
sizeof_field(struct bio, bi_opf));
block/blk-integrity.c
106
sizeof_field(struct crc64_pi_tuple, ref_tag);
block/blk-integrity.c
111
sizeof_field(struct t10_pi_tuple, ref_tag);
crypto/essiv.c
336
subreq_size = sizeof_field(struct essiv_aead_request_ctx, aead_req) +
drivers/char/ipmi/ssif_bmc.c
156
sizeof_field(struct ipmi_ssif_msg, len) + ssif_bmc->request.len,
drivers/char/ipmi/ssif_bmc.c
162
sizeof_field(struct ipmi_ssif_msg, len) + ssif_bmc->request.len,
drivers/char/ipmi/ssif_bmc.c
193
count < sizeof_field(struct ipmi_ssif_msg, len) + msg.len)
drivers/clk/clk-eyeq.c
145
static_assert(sizeof_field(struct clk_fixed_factor, mult) == sizeof(unsigned int));
drivers/clk/clk-eyeq.c
146
static_assert(sizeof_field(struct clk_fixed_factor, div) == sizeof(unsigned int));
drivers/firmware/arm_ffa/driver.c
337
(sizeof(ffa_value_t) / sizeof_field(ffa_value_t, a0))
drivers/gpu/drm/i915/gvt/scheduler.c
1435
sizeof_field(struct intel_vgpu_workload, rb_tail),
drivers/gpu/drm/xe/xe_query.c
480
sizeof_field(struct xe_gt, fuse_topo.g_dss_mask) +
drivers/gpu/drm/xe/xe_query.c
481
sizeof_field(struct xe_gt, fuse_topo.c_dss_mask) +
drivers/gpu/drm/xe/xe_query.c
482
sizeof_field(struct xe_gt, fuse_topo.eu_mask_per_dss);
drivers/gpu/drm/xe/xe_query.c
487
sizeof_field(struct xe_gt, fuse_topo.l3_bank_mask);
drivers/hv/mshv.h
15
0, sizeof_field(typeof(STRUCT), MEMBER))
drivers/iio/adc/ad7173.c
666
static_assert(sizeof_field(struct ad7173_channel_config, config_props) ==
drivers/infiniband/core/sa_query.c
198
.struct_size_bytes = sizeof_field(struct sa_path_rec, field), \
drivers/infiniband/core/sa_query.c
300
sizeof_field(struct sa_path_rec, field), \
drivers/infiniband/core/sa_query.c
428
.struct_size_bytes = sizeof_field(struct ib_sa_mcmember_rec, field), \
drivers/infiniband/core/sa_query.c
512
.struct_size_bytes = sizeof_field(struct ib_class_port_info, field), \
drivers/infiniband/core/sa_query.c
590
sizeof_field(struct opa_class_port_info, field), \
drivers/infiniband/core/sa_query.c
670
.struct_size_bytes = sizeof_field(struct ib_sa_guidinfo_rec, field), \
drivers/infiniband/core/sa_query.c
698
.struct_size_bytes = sizeof_field(struct sa_service_rec, field), \
drivers/infiniband/core/ud_header.c
44
.struct_size_bytes = sizeof_field(struct ib_unpacked_ ## header, field), \
drivers/infiniband/core/uverbs_cmd.c
3644
BUILD_BUG_ON_ZERO(sizeof_field(req, response) != \
drivers/infiniband/core/uverbs_ioctl.c
64
if (uattr->len > sizeof_field(struct ib_uverbs_attr, data))
drivers/infiniband/hw/hfi1/sdma.c
811
.key_len = sizeof_field(struct sdma_rht_node, cpu_id),
drivers/infiniband/hw/hfi1/verbs.h
68
#define LRH_16B_BYTES (sizeof_field(struct hfi1_16b_header, lrh))
drivers/infiniband/hw/hfi1/verbs.h
70
#define LRH_9B_BYTES (sizeof_field(struct ib_header, lrh))
drivers/input/keyboard/applespi.c
1135
sizeof_field(struct keyboard_protocol, modifiers) * 8,
drivers/iommu/iommufd/driver.c
205
BITS_PER_BYTE * sizeof_field(struct iommufd_sw_msi_maps, bitmap))
drivers/md/raid5-ppl.c
1347
max_disks = sizeof_field(struct ppl_log, disk_flush_bitmap) *
drivers/media/platform/ti/omap3isp/isppreview.c
756
sizeof_field(struct prev_params, luma),
drivers/media/platform/ti/omap3isp/isppreview.c
765
sizeof_field(struct prev_params, hmed),
drivers/media/platform/ti/omap3isp/isppreview.c
771
sizeof_field(struct prev_params, cfa),
drivers/media/platform/ti/omap3isp/isppreview.c
777
sizeof_field(struct prev_params, csup),
drivers/media/platform/ti/omap3isp/isppreview.c
783
sizeof_field(struct prev_params, wbal),
drivers/media/platform/ti/omap3isp/isppreview.c
789
sizeof_field(struct prev_params, blkadj),
drivers/media/platform/ti/omap3isp/isppreview.c
795
sizeof_field(struct prev_params, rgb2rgb),
drivers/media/platform/ti/omap3isp/isppreview.c
801
sizeof_field(struct prev_params, csc),
drivers/media/platform/ti/omap3isp/isppreview.c
807
sizeof_field(struct prev_params, yclimit),
drivers/media/platform/ti/omap3isp/isppreview.c
813
sizeof_field(struct prev_params, dcor),
drivers/media/platform/ti/omap3isp/isppreview.c
831
sizeof_field(struct prev_params, nf),
drivers/media/platform/ti/omap3isp/isppreview.c
837
sizeof_field(struct prev_params, gamma),
drivers/media/test-drivers/vidtv/vidtv_psi.c
1152
.len = sizeof_field(struct vidtv_psi_table_pmt, bitfield) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1153
sizeof_field(struct vidtv_psi_table_pmt, bitfield2),
drivers/media/test-drivers/vidtv/vidtv_psi.c
1194
psi_args.len += sizeof_field(struct vidtv_psi_table_pmt_stream, type);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1293
.len = sizeof_field(struct vidtv_psi_table_sdt, network_id) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1294
sizeof_field(struct vidtv_psi_table_sdt, reserved),
drivers/media/test-drivers/vidtv/vidtv_psi.c
1531
length += sizeof_field(struct vidtv_psi_table_nit, bitfield2);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1633
.len = sizeof_field(struct vidtv_psi_table_nit, bitfield),
drivers/media/test-drivers/vidtv/vidtv_psi.c
1684
psi_args.len = sizeof_field(struct vidtv_psi_table_nit, bitfield2);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1689
psi_args.len = sizeof_field(struct vidtv_psi_table_transport, transport_id) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1690
sizeof_field(struct vidtv_psi_table_transport, network_id) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1691
sizeof_field(struct vidtv_psi_table_transport, bitfield);
drivers/media/test-drivers/vidtv/vidtv_psi.c
1842
.len = sizeof_field(struct vidtv_psi_table_eit, transport_id) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1843
sizeof_field(struct vidtv_psi_table_eit, network_id) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1844
sizeof_field(struct vidtv_psi_table_eit, last_segment) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
1845
sizeof_field(struct vidtv_psi_table_eit, last_table_id),
drivers/media/test-drivers/vidtv/vidtv_psi.c
239
desc->length = sizeof_field(struct vidtv_psi_desc_service, service_type)
drivers/media/test-drivers/vidtv/vidtv_psi.c
240
+ sizeof_field(struct vidtv_psi_desc_service, provider_name_len)
drivers/media/test-drivers/vidtv/vidtv_psi.c
242
+ sizeof_field(struct vidtv_psi_desc_service, service_name_len)
drivers/media/test-drivers/vidtv/vidtv_psi.c
288
desc->length = sizeof_field(struct vidtv_psi_desc_registration, format_id)
drivers/media/test-drivers/vidtv/vidtv_psi.c
396
sizeof_field(struct vidtv_psi_desc_short_event, event_name_len) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
398
sizeof_field(struct vidtv_psi_desc_short_event, text_len) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
562
length += sizeof_field(struct vidtv_psi_desc, type);
drivers/media/test-drivers/vidtv/vidtv_psi.c
563
length += sizeof_field(struct vidtv_psi_desc, length);
drivers/media/test-drivers/vidtv/vidtv_psi.c
620
.len = sizeof_field(struct vidtv_psi_desc, type) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
621
sizeof_field(struct vidtv_psi_desc, length),
drivers/media/test-drivers/vidtv/vidtv_psi.c
633
psi_args.len = sizeof_field(struct vidtv_psi_desc_service, service_type) +
drivers/media/test-drivers/vidtv/vidtv_psi.c
634
sizeof_field(struct vidtv_psi_desc_service, provider_name_len);
drivers/media/test-drivers/vidtv/vidtv_psi.c
646
psi_args.len = sizeof_field(struct vidtv_psi_desc_service, service_name_len);
drivers/media/test-drivers/vidtv/vidtv_psi.c
689
psi_args.len = sizeof_field(struct vidtv_psi_desc_short_event, event_name_len);
drivers/media/test-drivers/vidtv/vidtv_psi.c
702
psi_args.len = sizeof_field(struct vidtv_psi_desc_short_event, text_len);
drivers/media/v4l2-core/v4l2-ioctl.c
2870
sizeof_field(struct v4l2_struct, field)) << 16)
drivers/mfd/ioc3.c
160
sizeof_field(struct ioc3, sregs.uarta)),
drivers/mfd/ioc3.c
166
sizeof_field(struct ioc3, sregs.uartb)),
drivers/mfd/ioc3.c
215
sizeof_field(struct ioc3, serio)),
drivers/mfd/ioc3.c
244
sizeof_field(struct ioc3, eth)),
drivers/mfd/ioc3.c
246
sizeof_field(struct ioc3, ssram)),
drivers/mfd/ioc3.c
252
sizeof_field(struct ioc3, mcr)),
drivers/mfd/ioc3.c
361
sizeof_field(struct ioc3, gppr[0])),
drivers/mfd/ioc3.c
363
sizeof_field(struct ioc3, gppr[1])),
drivers/net/amt.c
3168
[IFLA_AMT_LOCAL_IP] = { .len = sizeof_field(struct iphdr, daddr) },
drivers/net/amt.c
3169
[IFLA_AMT_REMOTE_IP] = { .len = sizeof_field(struct iphdr, daddr) },
drivers/net/amt.c
3170
[IFLA_AMT_DISCOVERY_IP] = { .len = sizeof_field(struct iphdr, daddr) },
drivers/net/amt.c
86
sizeof_field(struct sk_buff, cb));
drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c
518
.max_raw_read = sizeof_field(struct mcp251xfd_map_buf_nocrc, data),
drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c
519
.max_raw_write = sizeof_field(struct mcp251xfd_map_buf_nocrc, data),
drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c
540
.max_raw_read = sizeof_field(struct mcp251xfd_map_buf_crc, data),
drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c
541
.max_raw_write = sizeof_field(struct mcp251xfd_map_buf_crc, data),
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
455
u8 data[sizeof_field(struct canfd_frame, data)];
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
461
u8 data[sizeof_field(struct can_frame, data)];
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
467
u8 data[sizeof_field(struct canfd_frame, data)];
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
474
u8 data[sizeof_field(struct can_frame, data)];
drivers/net/can/spi/mcp251xfd/mcp251xfd.h
481
u8 data[sizeof_field(struct canfd_frame, data)];
drivers/net/can/usb/etas_es58x/es58x_core.c
72
#define ES58X_CRC_CALC_OFFSET sizeof_field(union es58x_urb_cmd, sof)
drivers/net/can/usb/etas_es58x/es58x_core.h
626
+ sizeof_field(es58x_urb_cmd_type, msg_field) \
drivers/net/can/usb/etas_es58x/es58x_core.h
627
+ sizeof_field(es58x_urb_cmd_type, \
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
414
#define kvaser_fsize(field) sizeof_field(struct kvaser_cmd, field)
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
23
sizeof_field(struct xgbe_mmc_stats, _var), \
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
29
sizeof_field(struct xgbe_ext_stats, _var), \
drivers/net/ethernet/asix/ax88796c_main.h
28
#define TX_OVERHEAD sizeof_field(struct tx_pkt_info, tx_overhead)
drivers/net/ethernet/cavium/liquidio/octeon_console.c
208
sizeof_field(struct cvmx_bootmem_desc, major_version));
drivers/net/ethernet/cavium/liquidio/octeon_console.c
212
sizeof_field(struct cvmx_bootmem_desc, minor_version));
drivers/net/ethernet/cavium/liquidio/octeon_console.c
240
sizeof_field(
drivers/net/ethernet/cavium/liquidio/octeon_console.c
246
sizeof_field(
drivers/net/ethernet/cavium/liquidio/octeon_console.c
270
sizeof_field(struct cvmx_bootmem_desc,
drivers/net/ethernet/cavium/liquidio/octeon_console.c
276
sizeof_field(struct cvmx_bootmem_desc,
drivers/net/ethernet/cavium/liquidio/octeon_console.c
283
sizeof_field(struct cvmx_bootmem_desc,
drivers/net/ethernet/cavium/liquidio/octeon_console.c
294
sizeof_field(
drivers/net/ethernet/emulex/benet/be_ethtool.c
26
#define FIELDINFO(_struct, field) sizeof_field(_struct, field), \
drivers/net/ethernet/engleder/tsnep_hw.h
185
sizeof_field(struct tsnep_tx_desc, tx))
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c
574
sizeof_field(struct hnae3_tc_info, prio_tc));
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c
576
sizeof_field(struct hnae3_tc_info, tqp_count));
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c
578
sizeof_field(struct hnae3_tc_info, tqp_offset));
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
408
data_len_per_desc = sizeof_field(struct hclge_desc, data);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
745
sizeof_field(struct hnae3_tc_info, prio_tc));
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
1166
.size = sizeof_field(struct hinic_vport_stats, _stat_item), \
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
1198
.size = sizeof_field(struct hinic_phy_port_stats, _stat_item), \
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
1292
.size = sizeof_field(struct hinic_txq_stats, _stat_item), \
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
1307
.size = sizeof_field(struct hinic_rxq_stats, _stat_item), \
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
22
.sizeof_stat = sizeof_field(_type, _stat), \
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
48
.sizeof_stat = sizeof_field(_type, _stat), \
drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c
659
sizeof_field(struct _struct, _ele)
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
48
.sizeof_stat = sizeof_field(_type, _stat), \
drivers/net/ethernet/intel/ice/ice_ethtool.c
23
.sizeof_stat = sizeof_field(_type, _stat), \
drivers/net/ethernet/intel/ice/ice_ethtool.c
44
(sizeof_field(struct ice_pf, stats.priority_xoff_rx) + \
drivers/net/ethernet/intel/ice/ice_ethtool.c
45
sizeof_field(struct ice_pf, stats.priority_xon_rx) + \
drivers/net/ethernet/intel/ice/ice_ethtool.c
46
sizeof_field(struct ice_pf, stats.priority_xoff_tx) + \
drivers/net/ethernet/intel/ice/ice_ethtool.c
47
sizeof_field(struct ice_pf, stats.priority_xon_tx)) \
drivers/net/ethernet/intel/ice/ice_flow.c
165
sizeof_field(struct gre_full_hdr, key)),
drivers/net/ethernet/intel/ice/ice_switch.c
5055
static_assert(sizeof_field(struct ice_aqc_recipe_data_elem, recipe_bitmap) ==
drivers/net/ethernet/intel/ice/ice_switch.c
5056
sizeof_field(struct ice_sw_recipe, r_bitmap));
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
773
.sizeof_stat = sizeof_field(_type, _stat), \
drivers/net/ethernet/intel/igb/igb_ethtool.c
29
.sizeof_stat = sizeof_field(struct igb_adapter, _stat), \
drivers/net/ethernet/intel/igb/igb_ethtool.c
79
.sizeof_stat = sizeof_field(struct rtnl_link_stats64, _net_stat), \
drivers/net/ethernet/intel/igc/igc_ethtool.c
22
.sizeof_stat = sizeof_field(struct igc_adapter, _stat), \
drivers/net/ethernet/intel/igc/igc_ethtool.c
76
.sizeof_stat = sizeof_field(struct rtnl_link_stats64, _net_stat), \
drivers/net/ethernet/intel/ixgbevf/ethtool.c
32
.sizeof_stat = sizeof_field(struct ixgbevf_adapter, _stat), \
drivers/net/ethernet/intel/ixgbevf/ethtool.c
39
.sizeof_stat = sizeof_field(struct net_device_stats, _net_stat), \
drivers/net/ethernet/marvell/mv643xx_eth.c
1433
{ #m, sizeof_field(struct net_device_stats, m), \
drivers/net/ethernet/marvell/mv643xx_eth.c
1437
{ #m, sizeof_field(struct mib_counters, m), \
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
604
(sizeof_field(struct mlx4_ptys_reg, eth_proto_cap) * 8)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
29
.key_len = sizeof_field(struct mlx5e_tc_act_stats, tc_act_cookie),
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
1486
return sizeof_field(struct mlx5e_rss_params_hash, toeplitz_hash_key);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
342
.key_len = sizeof_field(struct fs_fte, val),
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
350
.key_len = sizeof_field(struct mlx5_flow_group, mask),
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c
78
.key_len = sizeof_field(struct fs_chain, chain),
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c
85
.key_len = sizeof_field(struct prio, key),
drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c
163
.key_len = sizeof_field(struct mlx5_fs_id, sci),
drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c
171
.key_len = sizeof_field(struct mlx5_fs_id, id),
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c
13
.key_len = sizeof_field(struct mlx5hws_bwc_complex_subrule_data,
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
62
.key_len = sizeof_field(struct mlxsw_sp_fid, fid_index),
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
68
.key_len = sizeof_field(struct mlxsw_sp_fid, vni),
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
71
.key_len = sizeof_field(struct mlxsw_sp1_ptp_unmatched, key),
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
69
.key_len = sizeof_field(struct mlxsw_sp_crif, key),
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
22
.size = sizeof_field(struct type, stat), \
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2655
if (size != sizeof_field(struct __sk_buff, len))
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2660
if (size != sizeof_field(struct __sk_buff, data))
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2665
if (size != sizeof_field(struct __sk_buff, data_end))
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2686
if (size != sizeof_field(struct xdp_md, data))
drivers/net/ethernet/netronome/nfp/bpf/jit.c
2691
if (size != sizeof_field(struct xdp_md, data_end))
drivers/net/ethernet/netronome/nfp/bpf/main.c
18
.key_len = sizeof_field(struct bpf_map, id),
drivers/net/ethernet/netronome/nfp/bpf/offload.c
381
sizeof_field(struct nfp_bpf_map, use_map[0]);
drivers/net/ethernet/netronome/nfp/flower/main.h
29
#define NFP_FL_STATS_ELEM_RS sizeof_field(struct nfp_fl_stats_id, \
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
25
.size = sizeof_field(struct pch_gbe_hw_stats, m), \
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
968
char tbuf[sizeof_field(struct ionic_xcvr_status, sprom)];
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
22
#define QLC_SIZEOF(m) sizeof_field(struct qlcnic_adapter, m)
drivers/net/ethernet/realtek/r8169_firmware.c
40
#define FW_OPCODE_SIZE sizeof_field(struct rtl_fw_phy_action, code[0])
drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c
33
sizeof_field(struct sxgbe_extra_stats, m), \
drivers/net/ethernet/sfc/falcon/selftest.c
52
sizeof_field(struct ef4_loopback_payload, packet)
drivers/net/ethernet/sfc/selftest.c
54
sizeof_field(struct efx_loopback_payload, packet)
drivers/net/ethernet/sfc/siena/selftest.c
55
sizeof_field(struct efx_loopback_payload, packet)
drivers/net/ethernet/sfc/tc_conntrack.c
19
.key_len = sizeof_field(struct efx_tc_ct_zone, zone),
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
187
{ #m, sizeof_field(struct stmmac_counters, m), \
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
46
{ #m, sizeof_field(struct stmmac_extra_stats, m), \
drivers/net/ethernet/ti/cpsw_ethtool.c
76
sizeof_field(struct cpsw_hw_stats, m), \
drivers/net/ethernet/ti/cpsw_ethtool.c
79
sizeof_field(struct cpdma_chan_stats, m), \
drivers/net/ethernet/ti/cpsw_ethtool.c
82
sizeof_field(struct cpdma_chan_stats, m), \
drivers/net/ethernet/ti/netcp_ethss.c
1002
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
1009
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
1016
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
1607
sizeof_field(struct xgbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
1614
sizeof_field(struct xgbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
1621
sizeof_field(struct xgbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
783
sizeof_field(struct gbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
790
sizeof_field(struct gbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
797
sizeof_field(struct gbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
804
sizeof_field(struct gbe_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
957
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
967
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
974
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
981
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
988
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/ethernet/ti/netcp_ethss.c
995
sizeof_field(struct gbenu_hw_stats, field), \
drivers/net/fjes/fjes_ethtool.c
24
.sizeof_stat = sizeof_field(struct fjes_adapter, stat), \
drivers/net/geneve.c
1775
[IFLA_GENEVE_REMOTE] = { .len = sizeof_field(struct iphdr, daddr) },
drivers/net/hyperv/netvsc_drv.c
496
sizeof_field(struct sk_buff, cb));
drivers/net/ipa/ipa_qmi_msg.c
108
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
125
sizeof_field(struct ipa_indication_register_rsp,
drivers/net/ipa/ipa_qmi_msg.c
143
sizeof_field(struct ipa_driver_init_complete_req,
drivers/net/ipa/ipa_qmi_msg.c
160
sizeof_field(struct ipa_driver_init_complete_rsp,
drivers/net/ipa/ipa_qmi_msg.c
178
sizeof_field(struct ipa_init_complete_ind,
drivers/net/ipa/ipa_qmi_msg.c
18
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
196
sizeof_field(struct ipa_mem_bounds, start),
drivers/net/ipa/ipa_qmi_msg.c
203
sizeof_field(struct ipa_mem_bounds, end),
drivers/net/ipa/ipa_qmi_msg.c
217
sizeof_field(struct ipa_mem_array, start),
drivers/net/ipa/ipa_qmi_msg.c
224
sizeof_field(struct ipa_mem_array, count),
drivers/net/ipa/ipa_qmi_msg.c
238
sizeof_field(struct ipa_mem_range, start),
drivers/net/ipa/ipa_qmi_msg.c
245
sizeof_field(struct ipa_mem_range, size),
drivers/net/ipa/ipa_qmi_msg.c
259
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
269
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
279
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
28
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
289
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
300
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
310
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
321
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
331
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
342
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
352
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
362
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
372
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
38
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
382
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
392
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
403
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
413
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
423
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
433
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
443
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
453
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
464
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
474
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
48
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
485
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
495
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
506
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
516
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
527
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
537
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
547
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
557
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
567
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
577
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
58
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
587
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
597
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
607
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
617
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
627
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
637
sizeof_field(struct ipa_init_modem_driver_req,
drivers/net/ipa/ipa_qmi_msg.c
654
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
665
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
675
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
68
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
685
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
695
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
705
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
715
sizeof_field(struct ipa_init_modem_driver_rsp,
drivers/net/ipa/ipa_qmi_msg.c
78
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
88
sizeof_field(struct ipa_indication_register_req,
drivers/net/ipa/ipa_qmi_msg.c
98
sizeof_field(struct ipa_indication_register_req,
drivers/net/usb/sierra_net.c
858
BUILD_BUG_ON(sizeof_field(struct usbnet, data)
drivers/net/usb/usbnet.c
2280
sizeof_field(struct sk_buff, cb) < sizeof(struct skb_data));
drivers/net/vxlan/vxlan_core.c
3419
[IFLA_VXLAN_GROUP] = { .len = sizeof_field(struct iphdr, daddr) },
drivers/net/vxlan/vxlan_core.c
3422
[IFLA_VXLAN_LOCAL] = { .len = sizeof_field(struct iphdr, saddr) },
drivers/net/vxlan/vxlan_vnifilter.c
466
.len = sizeof_field(struct iphdr, daddr) },
drivers/net/wireless/ath/ath11k/peer.c
527
param->key_len = sizeof_field(struct ath11k_peer, peer_id);
drivers/net/wireless/ath/ath11k/peer.c
582
param->key_len = sizeof_field(struct ath11k_peer, addr);
drivers/net/wireless/ath/ath11k/wmi.h
53
#define TLV_HDR_SIZE sizeof_field(struct wmi_tlv, header)
drivers/net/wireless/ath/ath12k/dp_peer.c
244
param->key_len = sizeof_field(struct ath12k_dp_link_peer, addr);
drivers/net/wireless/ath/ath12k/peer.c
458
param->key_len = sizeof_field(struct ath12k_link_sta, addr);
drivers/net/wireless/ath/ath12k/wmi.h
81
#define TLV_HDR_SIZE sizeof_field(struct wmi_tlv, header)
drivers/net/wireless/marvell/libertas/debugfs.c
777
#define item_size(n) (sizeof_field(struct lbs_private, n))
drivers/net/wireless/marvell/mwifiex/util.h
27
#define item_size(n) (sizeof_field(struct mwifiex_debug_info, n))
drivers/net/wireless/marvell/mwifiex/util.h
31
#define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n))
drivers/net/wireless/realtek/rtw89/pci.h
1684
sizeof_field(struct ieee80211_tx_info, driver_data));
drivers/net/wireless/silabs/wfx/data_tx.c
418
size_t driver_data_room = sizeof_field(struct ieee80211_tx_info, rate_driver_data);
drivers/nvmem/layouts/sl28vpd.c
46
.bytes = sizeof_field(struct sl28vpd_v1, serial_number),
drivers/nvmem/layouts/sl28vpd.c
51
.bytes = sizeof_field(struct sl28vpd_v1, base_mac_address),
drivers/ptp/ptp_ocp.c
472
.len = sizeof_field(struct ptp_ocp, member), \
drivers/s390/net/qeth_core_main.c
5086
qib_parms = kzalloc(sizeof_field(struct qib, parm), GFP_KERNEL);
drivers/s390/net/qeth_core_main.c
539
sizeof_field(struct qeth_ipacmd_local_addr4, addr)) {
drivers/s390/net/qeth_core_main.c
582
sizeof_field(struct qeth_ipacmd_local_addr6, addr)) {
drivers/s390/net/qeth_core_main.c
625
sizeof_field(struct qeth_ipacmd_local_addr4, addr)) {
drivers/s390/net/qeth_core_main.c
655
sizeof_field(struct qeth_ipacmd_local_addr6, addr)) {
drivers/s390/net/qeth_core_mpc.h
422
#define SETASS_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_setassparms,\
drivers/s390/net/qeth_core_mpc.h
572
#define SETADP_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_setadpparms,\
drivers/s390/net/qeth_core_mpc.h
686
#define VNICC_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_vnicc,\
drivers/s390/net/qeth_core_mpc.h
759
#define SBP_DATA_SIZEOF(field) sizeof_field(struct qeth_ipacmd_setbridgeport,\
drivers/s390/net/qeth_core_mpc.h
844
#define IPA_DATA_SIZEOF(field) sizeof_field(struct qeth_ipa_cmd, data.field)
drivers/scsi/aacraid/aachba.c
550
int data_size = sizeof_field(struct aac_get_name_resp, data);
drivers/scsi/aacraid/aachba.c
589
data_size = sizeof_field(struct aac_get_name_resp, data);
drivers/scsi/be2iscsi/be_cmds.h
1303
(sizeof_field(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\
drivers/scsi/cxgbi/libcxgbi.c
3080
BUILD_BUG_ON(sizeof_field(struct sk_buff, cb) <
drivers/scsi/scsi_bsg.c
22
static_assert(sizeof(struct scsi_bsg_uring_cmd_pdu) <= sizeof_field(struct io_uring_cmd, pdu));
drivers/scsi/smartpqi/smartpqi_init.c
10895
BUILD_BUG_ON(sizeof_field(struct pqi_general_admin_request,
drivers/scsi/smartpqi/smartpqi_init.c
10897
BUILD_BUG_ON(sizeof_field(struct pqi_general_admin_request,
drivers/scsi/smartpqi/smartpqi_init.c
10899
BUILD_BUG_ON(sizeof_field(struct pqi_general_admin_request,
drivers/scsi/smartpqi/smartpqi_init.c
882
sizeof_field(struct bmic_sense_feature_io_page_aio_subpage, header))
drivers/soc/qcom/qcom_pdr_msg.c
342
.elem_size = sizeof_field(struct servreg_loc_pfr_resp, rsp),
drivers/spi/spi-dw.h
127
(sizeof_field(struct spi_mem_op, cmd.opcode) + \
drivers/spi/spi-dw.h
128
sizeof_field(struct spi_mem_op, addr.val) + 256)
drivers/target/iscsi/cxgbit/cxgbit_main.c
718
BUILD_BUG_ON(sizeof_field(struct sk_buff, cb) <
drivers/usb/atm/usbatm.c
1283
if (sizeof(struct usbatm_control) > sizeof_field(struct sk_buff, cb)) {
drivers/usb/gadget/function/f_fs.c
3451
sizeof_field(struct usb_ext_compat_desc, IDs));
drivers/usb/gadget/function/f_fs.c
4045
if (strlen(name) >= sizeof_field(struct ffs_dev, name))
drivers/usb/host/xhci-dbgcap.c
418
memset(dbc->eps, 0, sizeof_field(struct xhci_dbc, eps));
drivers/xen/sys-hypervisor.c
414
sizeof_field(struct hyp_sysfs_attr, hyp_attr_value));
fs/befs/linuxvfs.c
442
sizeof_field(struct befs_inode_info,
fs/btrfs/accessors.h
103
static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes));
fs/btrfs/accessors.h
110
static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes));
fs/btrfs/accessors.h
43
sizeof_field(type, member)))
fs/btrfs/accessors.h
49
sizeof_field(type, member)))
fs/btrfs/accessors.h
66
static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
fs/btrfs/accessors.h
72
static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
fs/btrfs/send.c
74
sizeof_field(struct fs_path, inline_buf)
fs/ceph/mds_client.c
3465
old_max_retry = sizeof_field(struct ceph_mds_request_head,
fs/dlm/memory.c
54
sizeof_field(struct dlm_callback, lvbptr),
fs/ext2/super.c
244
sizeof_field(struct ext2_inode_info, i_data),
fs/ext4/super.c
1504
.usersize = sizeof_field(struct ext4_inode_info, i_data),
fs/f2fs/sysfs.c
1159
sizeof_field(struct struct_name, elname))
fs/f2fs/sysfs.c
1165
sizeof_field(struct struct_name, elname))
fs/freevxfs/vxfs_super.c
323
sizeof_field(struct vxfs_inode_info,
fs/fuse/virtio_fs.c
498
char tag_buf[sizeof_field(struct virtio_fs_config, tag)];
fs/jfs/super.c
961
sizeof_field(struct jfs_inode_info, i_inline_all),
fs/nfsd/filecache.c
100
.key_len = sizeof_field(struct nfsd_file, nf_inode),
fs/nfsd/nfs4state.c
685
.key_len = sizeof_field(struct nfs4_file, fi_inode),
fs/nilfs2/nilfs.h
126
sizeof_field(struct nilfs_super_block, s_volume_name)
fs/ntfs/mft.c
74
bytes_in_use - attrs_offset < sizeof_field(struct attr_record, type)) {
fs/orangefs/super.c
649
sizeof_field(struct orangefs_inode_s,
fs/ufs/super.c
1390
sizeof_field(struct ufs_inode_info,
fs/verity/enable.c
345
if (arg.salt_size > sizeof_field(struct fsverity_descriptor, salt))
fs/verity/open.c
18
.key_len = sizeof_field(struct fsverity_info, inode),
fs/xfs/xfs_buf_item.c
174
(bitmap_size * sizeof_field(struct xfs_buf_log_format,
include/linux/efi.h
1270
/ sizeof_field(struct linux_efi_memreserve, entry[0]))
include/linux/filter.h
567
const int __size = bytes_to_bpf_size(sizeof_field(type, field)); \
include/linux/filter.h
647
BUILD_BUG_ON(sizeof_field(TYPE, MEMBER) != (SIZE)); \
include/linux/filter.h
923
BUILD_BUG_ON(sizeof(*cb) > sizeof_field(struct sk_buff, cb));
include/linux/filter.h
981
BUILD_BUG_ON(sizeof_field(struct __sk_buff, cb) != BPF_SKB_CB_LEN);
include/linux/filter.h
982
BUILD_BUG_ON(sizeof_field(struct __sk_buff, cb) !=
include/linux/filter.h
983
sizeof_field(struct qdisc_skb_cb, data));
include/linux/io_uring/cmd.h
37
BUILD_BUG_ON(cmd_sz > sizeof_field(struct io_uring_cmd, pdu));
include/linux/kvm_host.h
183
BUILD_BUG_ON((unsigned)(nr) >= (sizeof_field(struct kvm_vcpu, requests) * 8) - KVM_REQUEST_ARCH_BASE); \
include/linux/netlink.h
309
sizeof_field(struct netlink_callback, ctx))
include/linux/packing.h
38
sizeof_field(struct_name, struct_field), \
include/linux/phy_led_triggers.h
17
sizeof_field(struct mdio_device, addr)+\
include/linux/property.h
417
.length = (_len_) * sizeof_field(struct property_entry, value._elem_[0]), \
include/linux/property.h
457
.length = sizeof_field(struct property_entry, value._elem_[0]), \
include/linux/slab.h
508
.usersize = sizeof_field(struct __struct, __field), \
include/linux/stddef.h
33
(offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
include/net/garp.h
42
sizeof_field(struct sk_buff, cb));
include/net/inet_connection_sock.h
142
#define ICSK_CA_PRIV_SIZE sizeof_field(struct inet_connection_sock, icsk_ca_priv)
include/net/ip_tunnels.h
103
GENMASK((sizeof_field(struct ip_tunnel_info, \
include/net/ip_tunnels.h
46
(sizeof_field(struct ip_tunnel_key, u) - \
include/net/ip_tunnels.h
47
sizeof_field(struct ip_tunnel_key, u.ipv4))
include/net/libeth/tx.h
88
static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
include/net/mac80211.h
1807
static_assert(sizeof(struct ieee80211_rx_status) <= sizeof_field(struct sk_buff, cb));
include/net/mrp.h
46
sizeof_field(struct sk_buff, cb));
include/net/netfilter/nf_conntrack_helper.h
86
BUILD_BUG_ON((structsize) > sizeof_field(struct nf_conn_help, data))
include/net/sch_generic.h
1185
BUILD_BUG_ON(sizeof(*cb) > sizeof_field(struct sk_buff, cb));
include/net/sock.h
2772
#define SOCK_SKB_CB_OFFSET (sizeof_field(struct sk_buff, cb) - \
include/rdma/uverbs_ioctl.h
397
BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
include/rdma/uverbs_ioctl.h
412
BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
io_uring/io_uring.c
3161
.usersize = sizeof_field(struct io_kiocb, cmd.data),
io_uring/io_uring.c
3168
BUILD_BUG_ON(sizeof_field(stype, ename) != esize); \
io_uring/io_uring.c
3238
BUILD_BUG_ON(__REQ_F_LAST_BIT > 8 * sizeof_field(struct io_kiocb, flags));
io_uring/opdef.c
206
.filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, connect),
io_uring/opdef.c
222
.filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, open),
io_uring/opdef.c
310
.filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, open),
io_uring/opdef.c
409
.filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, socket),
ipc/util.c
104
.key_len = sizeof_field(struct kern_ipc_perm, key),
kernel/bpf/arena.c
46
#define GUARD_SZ round_up(1ull << sizeof_field(struct bpf_insn, off) * 8, PAGE_SIZE << 1)
kernel/bpf/cgroup.c
2466
sizeof_field(struct bpf_sysctl_kern,
kernel/bpf/local_storage.c
395
size = sizeof_field(struct bpf_cgroup_storage_key, cgroup_inode_id);
kernel/bpf/local_storage.c
404
size = sizeof_field(struct bpf_cgroup_storage_key, attach_type);
kernel/events/hw_breakpoint.c
77
.key_len = sizeof_field(struct hw_perf_event, target),
kernel/fork.c
3112
sizeof_field(struct mm_struct, saved_auxv),
kernel/sched/ext/ext.c
167
.key_len = sizeof_field(struct scx_dispatch_q, id),
kernel/sched/ext/ext.c
43
.key_len = sizeof_field(struct scx_sched, ops.sub_cgroup_id),
kernel/sched/ext/ext.c
54
.key_len = sizeof_field(struct sched_ext_entity, tid),
kernel/signal.c
4966
BUILD_BUG_ON(sizeof_field(struct siginfo, si_pid) !=
kernel/signal.c
4969
BUILD_BUG_ON((sizeof_field(struct siginfo, si_pid) +
kernel/signal.c
4970
sizeof_field(struct siginfo, si_uid)) !=
kernel/signal.c
4978
BUILD_BUG_ON(sizeof_field(struct compat_siginfo, si_pid) !=
kernel/signal.c
4980
BUILD_BUG_ON(sizeof_field(struct compat_siginfo, si_pid) !=
kernel/signal.c
4981
sizeof_field(struct siginfo, si_pid));
kernel/trace/fprobe.c
74
.key_len = sizeof_field(struct fprobe_hlist_node, addr),
kernel/utsname.c
161
sizeof_field(struct uts_namespace, name),
mm/hugetlb.c
4084
BUILD_BUG_ON(sizeof_field(struct page, private) * BITS_PER_BYTE <
mm/hugetlb_cgroup.c
24
#define MEMFILE_OFFSET(t, m0) (((offsetof(t, m0) << 16) | sizeof_field(t, m0)))
net/802/mrp.c
540
sizeof_field(struct sk_buff, cb))
net/802/mrp.c
565
sizeof_field(struct sk_buff, cb))
net/802/mrp.c
719
sizeof_field(struct sk_buff, cb))
net/9p/trans_usbg.c
890
if (strlen(tag) >= sizeof_field(struct f_usb9pfs_dev, tag))
net/batman-adv/main.c
532
i = sizeof_field(struct sk_buff, cb);
net/batman-adv/multicast_forw.c
155
BUILD_BUG_ON(sizeof_field(struct batadv_tvlv_mcast_tracker, num_dests)
net/bridge/br.c
429
BUILD_BUG_ON(sizeof(struct br_input_skb_cb) > sizeof_field(struct sk_buff, cb));
net/core/dev.c
12914
BITS_PER_BYTE * sizeof_field(struct gro_node, bitmask));
net/core/filter.c
10014
BUILD_BUG_ON(sizeof_field(struct qdisc_skb_cb, tc_classid) != 2);
net/core/filter.c
10084
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_family) != 2);
net/core/filter.c
10095
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_daddr) != 4);
net/core/filter.c
10106
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
10120
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
10140
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
10159
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_dport) != 2);
net/core/filter.c
10174
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_num) != 2);
net/core/filter.c
10185
BUILD_BUG_ON(sizeof_field(struct sk_buff, tstamp) != 8);
net/core/filter.c
10214
BUILD_BUG_ON(sizeof_field(struct qdisc_skb_cb, pkt_len) != 4);
net/core/filter.c
10230
BUILD_BUG_ON(sizeof_field(struct skb_shared_hwtstamps, hwtstamp) != 8);
net/core/filter.c
10255
BUILD_BUG_ON(sizeof_field(struct sock, sk_bound_dev_if) != 4);
net/core/filter.c
10266
BUILD_BUG_ON(sizeof_field(struct sock, sk_mark) != 4);
net/core/filter.c
10277
BUILD_BUG_ON(sizeof_field(struct sock, sk_priority) != 4);
net/core/filter.c
10293
sizeof_field(struct sock_common,
net/core/filter.c
10303
sizeof_field(struct sock, sk_type),
net/core/filter.c
10312
sizeof_field(struct sock, sk_protocol),
net/core/filter.c
10320
sizeof_field(struct sock_common,
net/core/filter.c
10329
sizeof_field(struct sock_common,
net/core/filter.c
10343
sizeof_field(struct sock_common,
net/core/filter.c
10360
sizeof_field(struct sock_common,
net/core/filter.c
10374
sizeof_field(struct sock_common,
net/core/filter.c
10384
sizeof_field(struct sock_common,
net/core/filter.c
10394
sizeof_field(struct sock_common,
net/core/filter.c
10404
sizeof_field(struct sock,
net/core/filter.c
10516
bpf_target_off(NS, NF, sizeof_field(NS, NF), \
net/core/filter.c
10548
bpf_target_off(NS, NF, sizeof_field(NS, NF), \
net/core/filter.c
10573
int off, port_size = sizeof_field(struct sockaddr_in6, sin6_port);
net/core/filter.c
10607
BUILD_BUG_ON(sizeof_field(struct sockaddr_in, sin_port) !=
net/core/filter.c
10608
sizeof_field(struct sockaddr_in6, sin6_port));
net/core/filter.c
10670
BUILD_BUG_ON(sizeof_field(OBJ, OBJ_FIELD) > \
net/core/filter.c
10671
sizeof_field(struct bpf_sock_ops, BPF_FIELD)); \
net/core/filter.c
10764
BUILD_BUG_ON(sizeof_field(OBJ, OBJ_FIELD) > \
net/core/filter.c
10765
sizeof_field(struct bpf_sock_ops, BPF_FIELD)); \
net/core/filter.c
10812
BUILD_BUG_ON(sizeof_field(struct bpf_sock_ops, reply) !=
net/core/filter.c
10813
sizeof_field(struct bpf_sock_ops_kern, reply));
net/core/filter.c
10814
BUILD_BUG_ON(sizeof_field(struct bpf_sock_ops, replylong) !=
net/core/filter.c
10815
sizeof_field(struct bpf_sock_ops_kern, replylong));
net/core/filter.c
10827
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_family) != 2);
net/core/filter.c
10838
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_daddr) != 4);
net/core/filter.c
10849
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
10864
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
10885
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
10904
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_dport) != 2);
net/core/filter.c
10918
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_num) != 2);
net/core/filter.c
10938
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_state) != 1);
net/core/filter.c
10949
BUILD_BUG_ON(sizeof_field(struct tcp_sock, rtt_min) !=
net/core/filter.c
10960
sizeof_field(struct minmax_sample, t));
net/core/filter.c
11070
*target_size = sizeof_field(struct tcp_skb_cb, tcp_flags);
net/core/filter.c
11166
BUILD_BUG_ON(sizeof_field(struct sk_skb_cb, data) < 20);
net/core/filter.c
11217
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_family) != 2);
net/core/filter.c
11228
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_daddr) != 4);
net/core/filter.c
11239
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
11254
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
11275
BUILD_BUG_ON(sizeof_field(struct sock_common,
net/core/filter.c
11294
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_dport) != 2);
net/core/filter.c
11308
BUILD_BUG_ON(sizeof_field(struct sock_common, skc_num) != 2);
net/core/filter.c
11724
if (size < sizeof_field(struct sk_buff, protocol))
net/core/filter.c
11742
sizeof_field(struct sk_reuseport_kern, F), \
net/core/filter.c
321
BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4);
net/core/filter.c
336
BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2);
net/core/filter.c
343
BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2);
net/core/filter.c
350
BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_all) != 4);
net/core/filter.c
369
BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2);
net/core/filter.c
385
BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4);
net/core/filter.c
386
BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2);
net/core/filter.c
408
BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4);
net/core/filter.c
432
BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2);
net/core/filter.c
7458
BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \
net/core/filter.c
7459
sizeof_field(struct bpf_tcp_sock, FIELD)); \
net/core/filter.c
7467
BUILD_BUG_ON(sizeof_field(struct inet_connection_sock, \
net/core/filter.c
7469
sizeof_field(struct bpf_tcp_sock, FIELD)); \
net/core/filter.c
7483
BUILD_BUG_ON(sizeof_field(struct tcp_sock, rtt_min) !=
net/core/filter.c
7652
BUILD_BUG_ON(sizeof_field(struct xdp_sock, FIELD) > \
net/core/filter.c
7653
sizeof_field(struct bpf_xdp_sock, FIELD)); \
net/core/filter.c
9162
size_default : sizeof_field(struct bpf_sock, dst_port);
net/core/filter.c
9996
BUILD_BUG_ON(sizeof_field(struct qdisc_skb_cb, data) < 20);
net/core/flow_dissector.c
689
offset += sizeof_field(struct gre_full_hdr, csum) +
net/core/flow_dissector.c
690
sizeof_field(struct gre_full_hdr, reserved1);
net/core/flow_dissector.c
712
offset += sizeof_field(struct gre_full_hdr, key);
net/core/flow_dissector.c
716
offset += sizeof_field(struct pptp_gre_header, seq);
net/core/flow_dissector.c
743
offset += sizeof_field(struct pptp_gre_header, ack);
net/core/gro.c
504
BUILD_BUG_ON(sizeof_field(struct napi_gro_cb, zeroed) != sizeof(u32));
net/core/skbuff.c
127
static_assert(sizeof_field(struct bio_vec, bv_page) ==
net/core/skbuff.c
128
sizeof_field(skb_frag_t, netmem));
net/core/skbuff.c
131
static_assert(sizeof_field(struct bio_vec, bv_len) ==
net/core/skbuff.c
132
sizeof_field(skb_frag_t, len));
net/core/skbuff.c
136
static_assert(sizeof_field(struct bio_vec, bv_offset) ==
net/core/skbuff.c
137
sizeof_field(skb_frag_t, offset));
net/core/skbuff.c
5204
sizeof_field(struct sk_buff, cb),
net/core/xdp.c
45
BUILD_BUG_ON(sizeof_field(struct xdp_mem_allocator, mem.id)
net/core/xdp.c
65
.key_len = sizeof_field(struct xdp_mem_allocator, mem.id),
net/ethtool/cmis_fw_update.c
104
sizeof_field(struct cmis_cdb_start_fw_download_pl, vendor_data)) {
net/ethtool/cmis_fw_update.c
188
max_lpl_len - sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl,
net/ethtool/cmis_fw_update.c
205
sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl,
net/ethtool/cmis_fw_update.c
242
lpl_len = sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl,
net/ethtool/plca.c
234
sizeof_field(struct plca_reply_data, plca_st));
net/ethtool/plca.c
85
sizeof_field(struct plca_reply_data, plca_cfg));
net/handshake/request.c
44
.key_len = sizeof_field(struct handshake_req, hr_sk),
net/ipv4/ip_gre.c
1656
[IFLA_GRE_LOCAL] = { .len = sizeof_field(struct iphdr, saddr) },
net/ipv4/ip_gre.c
1657
[IFLA_GRE_REMOTE] = { .len = sizeof_field(struct iphdr, daddr) },
net/ipv4/ip_vti.c
644
[IFLA_VTI_LOCAL] = { .len = sizeof_field(struct iphdr, saddr) },
net/ipv4/ip_vti.c
645
[IFLA_VTI_REMOTE] = { .len = sizeof_field(struct iphdr, daddr) },
net/ipv4/raw.c
959
.usersize = sizeof_field(struct raw_sock, filter),
net/ipv4/tcp.c
5291
sizeof_field(struct sk_buff, cb));
net/ipv6/ioam6.c
962
sclen = sizeof_field(struct ioam6_schema, hdr) / 4;
net/ipv6/ip6_gre.c
2185
[IFLA_GRE_LOCAL] = { .len = sizeof_field(struct ipv6hdr, saddr) },
net/ipv6/ip6_gre.c
2186
[IFLA_GRE_REMOTE] = { .len = sizeof_field(struct ipv6hdr, daddr) },
net/ipv6/raw.c
1216
.usersize = sizeof_field(struct raw6_sock, filter),
net/iucv/af_iucv.c
55
#define TRGCLS_SIZE sizeof_field(struct iucv_message, class)
net/mac80211/mesh_pathtbl.c
40
.key_len = sizeof_field(struct ieee80211_mesh_fast_tx, key),
net/mptcp/options.c
367
BUILD_BUG_ON(sizeof_field(struct mptcp_options_received, status) != sizeof(u32));
net/mptcp/protocol.c
4672
BUILD_BUG_ON(sizeof(struct mptcp_skb_cb) > sizeof_field(struct sk_buff, cb));
net/netfilter/nf_bpf_link.c
307
if (size != sizeof_field(struct bpf_nf_ctx, skb))
net/netfilter/nf_bpf_link.c
312
if (size != sizeof_field(struct bpf_nf_ctx, state))
net/netfilter/nf_tables_api.c
11638
if (reg * NFT_REG32_SIZE + len > sizeof_field(struct nft_regs, data))
net/netfilter/nf_tables_api.c
11710
sizeof_field(struct nft_regs, data))
net/netfilter/nfnetlink_cthelper.c
252
if (size > sizeof_field(struct nf_conn_help, data)) {
net/netfilter/nft_cmp.c
202
__le32 mask = cpu_to_le32(~0U >> (sizeof_field(struct nft_cmp_fast_expr,
net/netfilter/nft_ct.c
450
len = sizeof_field(struct nf_conntrack_tuple,
net/netfilter/nft_ct.c
455
len = sizeof_field(struct nf_conntrack_tuple,
net/netfilter/nft_ct.c
467
len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip);
net/netfilter/nft_ct.c
474
len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6);
net/netfilter/nft_ct.c
480
len = sizeof_field(struct nf_conntrack_tuple, src.u.all);
net/netfilter/nft_ct.c
572
len = sizeof_field(struct nf_conn, mark);
net/netfilter/nft_masq.c
46
u32 plen = sizeof_field(struct nf_nat_range, min_proto.all);
net/netfilter/nft_nat.c
203
alen = sizeof_field(struct nf_nat_range, min_addr.ip);
net/netfilter/nft_nat.c
206
alen = sizeof_field(struct nf_nat_range, min_addr.ip6);
net/netfilter/nft_nat.c
234
plen = sizeof_field(struct nf_nat_range, min_proto.all);
net/netfilter/nft_payload.c
111
offset += sizeof_field(struct gre_full_hdr, csum) +
net/netfilter/nft_payload.c
112
sizeof_field(struct gre_full_hdr, reserved1);
net/netfilter/nft_payload.c
115
offset += sizeof_field(struct gre_full_hdr, key);
net/netfilter/nft_payload.c
118
offset += sizeof_field(struct gre_full_hdr, seq);
net/netfilter/nft_redir.c
51
plen = sizeof_field(struct nf_nat_range, min_proto.all);
net/netfilter/nft_tproxy.c
228
alen = sizeof_field(union nf_inet_addr, in);
net/netfilter/nft_tproxy.c
235
alen = sizeof_field(union nf_inet_addr, in6);
net/netfilter/xt_RATEEST.c
33
return jhash(name, sizeof_field(struct xt_rateest, name), jhash_rnd) &
net/netlink/af_netlink.c
2934
BUILD_BUG_ON(sizeof(struct netlink_skb_parms) > sizeof_field(struct sk_buff, cb));
net/openvswitch/datapath.c
2813
sizeof_field(struct sk_buff, cb));
net/openvswitch/flow.h
53
(sizeof_field(struct sw_flow_key, tun_opts) - opt_len)
net/openvswitch/flow.h
68
sizeof_field(struct sw_flow_key, recirc_id))
net/rxrpc/af_rxrpc.c
1040
BUILD_BUG_ON(sizeof(struct rxrpc_skb_priv) > sizeof_field(struct sk_buff, cb));
net/sched/act_ct.c
1276
unsigned int n_bits = sizeof_field(struct tcf_ct_params, labels) * 8;
net/sched/act_ct.c
927
size_t labels_sz = sizeof_field(struct tcf_ct_params, labels);
net/sched/cls_flower.c
2142
#define FL_KEY_MEMBER_SIZE(member) sizeof_field(struct fl_flow_key, member)
net/sctp/socket.c
9679
sizeof_field(struct sctp_sock, initmsg),
net/sctp/socket.c
9735
sizeof_field(struct sctp6_sock, sctp.initmsg),
net/strparser/strparser.c
539
sizeof_field(struct sk_buff, cb));
net/tls/tls_main.c
64
static_assert(sizeof_field(struct ci, iv) == cipher ## _IV_SIZE); \
net/tls/tls_main.c
65
static_assert(sizeof_field(struct ci, key) == cipher ## _KEY_SIZE); \
net/tls/tls_main.c
66
static_assert(sizeof_field(struct ci, salt) == cipher ## _SALT_SIZE); \
net/tls/tls_main.c
67
static_assert(sizeof_field(struct ci, rec_seq) == cipher ## _REC_SEQ_SIZE);
net/unix/af_unix.c
3938
BUILD_BUG_ON(sizeof(struct unix_skb_parms) > sizeof_field(struct sk_buff, cb));
net/wireless/tests/util.h
63
skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
net/xdp/xsk.c
1839
sizeof_field(struct xdp_umem_reg, tx_metadata_len) !=
net/xfrm/xfrm_user.c
3937
nla_total_size(sizeof_field(struct xfrm_state, dir)) +
security/integrity/ima/ima_policy.c
424
memset(nentry->lsm, 0, sizeof_field(struct ima_rule_entry, lsm));
security/integrity/ima/ima_policy.c
54
(a) >= (sizeof_field(struct ima_iint_cache, measured_pcrs) * 8))
sound/soc/codecs/hdmi-codec.c
309
uinfo->count = sizeof_field(struct hdmi_codec_priv, eld);
sound/soc/codecs/hdmi-codec.c
438
sizeof_field(struct hdmi_codec_priv, iec_status));
sound/soc/fsl/fsl_xcvr.c
1015
uinfo->count = sizeof_field(struct snd_aes_iec958, status);
tools/objtool/klp-diff.c
2009
BUILD_BUG_ON(sizeof(sympos) != sizeof_field(struct klp_func_ext, sympos));
tools/objtool/klp-diff.c
2014
sizeof_field(struct klp_func_ext, sympos));
tools/objtool/klp-diff.c
2020
BUILD_BUG_ON(sizeof(nr_funcs) != sizeof_field(struct klp_object_ext, nr_funcs));
tools/objtool/klp-diff.c
2022
sizeof_field(struct klp_object_ext, nr_funcs));
tools/testing/selftests/bpf/bpf_util.h
73
#ifndef sizeof_field
tools/testing/selftests/bpf/bpf_util.h
79
(offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
tools/testing/selftests/bpf/progs/bpf_misc.h
189
(offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
tools/testing/selftests/bpf/progs/verifier_ctx.c
260
: __imm_const(size, sizeof_field(struct ctx, field) * 8), \
tools/testing/selftests/iommu/iommufd_utils.h
57
(offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
virt/kvm/kvm_main.c
5144
BUILD_BUG_ON(sizeof_field(struct kvm_userspace_memory_region, field) != \
virt/kvm/kvm_main.c
5145
sizeof_field(struct kvm_userspace_memory_region2, field)); \