Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/drivers/net/ipa/
Dipa_qmi_msg.c17 sizeof_field(struct ipa_indication_register_req,
27 sizeof_field(struct ipa_indication_register_req,
37 sizeof_field(struct ipa_indication_register_req,
47 sizeof_field(struct ipa_indication_register_req,
57 sizeof_field(struct ipa_indication_register_req,
67 sizeof_field(struct ipa_indication_register_req,
77 sizeof_field(struct ipa_indication_register_req,
87 sizeof_field(struct ipa_indication_register_req,
97 sizeof_field(struct ipa_indication_register_req,
107 sizeof_field(struct ipa_indication_register_req,
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/
Dbpf_util.h34 #ifndef sizeof_field
35 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
40 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/linux-6.1.9/drivers/media/test-drivers/vidtv/
Dvidtv_psi.c294 desc->length = sizeof_field(struct vidtv_psi_desc_service, service_type) in vidtv_psi_service_desc_init()
295 + sizeof_field(struct vidtv_psi_desc_service, provider_name_len) in vidtv_psi_service_desc_init()
297 + sizeof_field(struct vidtv_psi_desc_service, service_name_len) in vidtv_psi_service_desc_init()
330 desc->length = sizeof_field(struct vidtv_psi_desc_registration, format_id) in vidtv_psi_registration_desc_init()
433 sizeof_field(struct vidtv_psi_desc_short_event, event_name_len) + in vidtv_psi_short_event_desc_init()
435 sizeof_field(struct vidtv_psi_desc_short_event, text_len) + in vidtv_psi_short_event_desc_init()
582 length += sizeof_field(struct vidtv_psi_desc, type); in vidtv_psi_desc_comp_loop_len()
583 length += sizeof_field(struct vidtv_psi_desc, length); in vidtv_psi_desc_comp_loop_len()
640 .len = sizeof_field(struct vidtv_psi_desc, type) + in vidtv_psi_desc_write_into()
641 sizeof_field(struct vidtv_psi_desc, length), in vidtv_psi_desc_write_into()
[all …]
/linux-6.1.9/include/linux/
Dstddef.h24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
/linux-6.1.9/arch/arm64/include/asm/
Dprocessor.h243 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
244 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
245 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
246 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
249 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/linux-6.1.9/drivers/mfd/
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.1.9/drivers/net/wireless/marvell/mwifiex/
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.1.9/drivers/net/ethernet/cavium/liquidio/
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()
271 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
277 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
284 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
295 sizeof_field( in cvmx_bootmem_phy_named_block_find()
/linux-6.1.9/arch/m68k/kernel/
Dsignal.c64 #define FMT4SIZE sizeof_field(struct frame, un.fmt4)
69 [2] = sizeof_field(struct frame, un.fmt2),
70 [3] = sizeof_field(struct frame, un.fmt3),
74 [7] = sizeof_field(struct frame, un.fmt7),
76 [9] = sizeof_field(struct frame, un.fmt9),
77 [10] = sizeof_field(struct frame, un.fmta),
78 [11] = sizeof_field(struct frame, un.fmtb),
646 char buf[sizeof_field(struct frame, un)]; in mangle_kernel_stack()
/linux-6.1.9/net/core/
Dfilter.c300 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in convert_skb_access()
315 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
322 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
348 BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2); in convert_bpf_extensions()
364 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in convert_bpf_extensions()
365 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in convert_bpf_extensions()
387 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in convert_bpf_extensions()
411 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions()
6817 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
6818 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
[all …]
/linux-6.1.9/drivers/s390/net/
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.1.9/net/netfilter/
Dnft_nat.c198 alen = sizeof_field(struct nf_nat_range, min_addr.ip); in nft_nat_init()
201 alen = sizeof_field(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
229 plen = sizeof_field(struct nf_nat_range, min_addr.all); in nft_nat_init()
Dnft_tproxy.c228 alen = sizeof_field(union nf_inet_addr, in); in nft_tproxy_init()
235 alen = sizeof_field(union nf_inet_addr, in6); in nft_tproxy_init()
Dnft_ct.c444 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
449 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
461 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
468 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
474 len = sizeof_field(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
558 len = sizeof_field(struct nf_conn, mark); in nft_ct_set_init()
/linux-6.1.9/arch/x86/kvm/
Dxen.c268 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest()
270 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest()
282 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
284 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
297 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
298 sizeof_field(struct compat_vcpu_runstate_info, time)); in kvm_xen_update_runstate_guest()
299 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
415 sizeof_field(struct vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
417 sizeof_field(struct compat_vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
1154 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_set_singleshot_timer, timeout_abs_ns) != in kvm_xen_hcall_vcpu_op()
[all …]
/linux-6.1.9/net/openvswitch/
Dflow.h53 (sizeof_field(struct sw_flow_key, tun_opts) - opt_len)
68 sizeof_field(struct sw_flow_key, recirc_id))
/linux-6.1.9/drivers/media/platform/ti/omap3isp/
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),
807 sizeof_field(struct prev_params, yclimit),
813 sizeof_field(struct prev_params, dcor),
[all …]
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
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),
Dmcp251xfd.h447 u8 data[sizeof_field(struct canfd_frame, data)];
453 u8 data[sizeof_field(struct can_frame, data)];
459 u8 data[sizeof_field(struct canfd_frame, data)];
466 u8 data[sizeof_field(struct can_frame, data)];
473 u8 data[sizeof_field(struct canfd_frame, data)];
/linux-6.1.9/arch/riscv/include/asm/
Dprocessor.h49 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/linux-6.1.9/drivers/spi/
Dspi-dw.h127 (sizeof_field(struct spi_mem_op, cmd.opcode) + \
128 sizeof_field(struct spi_mem_op, addr.val) + 256)
/linux-6.1.9/include/net/
Dip_tunnels.h36 (sizeof_field(struct ip_tunnel_key, u) - \
37 sizeof_field(struct ip_tunnel_key, u.ipv4))
67 GENMASK((sizeof_field(struct ip_tunnel_info, \
Dgarp.h42 sizeof_field(struct sk_buff, cb)); in garp_cb()
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.h583 + sizeof_field(es58x_urb_cmd_type, msg_field) \
584 + sizeof_field(es58x_urb_cmd_type, \

12345678