Home
last modified time | relevance | path

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

1234567

/linux/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,
58 sizeof_field(struct ipa_indication_register_req,
68 sizeof_field(struct ipa_indication_register_req,
78 sizeof_field(struct ipa_indication_register_req,
88 sizeof_field(struct ipa_indication_register_req,
98 sizeof_field(struct ipa_indication_register_req,
108 sizeof_field(struct ipa_indication_register_req,
[all …]
/linux/arch/arm64/include/asm/
H A Dprocessor.h270 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
271 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
272 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
273 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist()
274 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist()
275 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
278 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/linux/drivers/media/test-drivers/vidtv/
H A 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()
343 desc->length = sizeof_field(struct vidtv_psi_desc_registration, format_id) in vidtv_psi_registration_desc_init()
451 sizeof_field(struct vidtv_psi_desc_short_event, event_name_len) + in vidtv_psi_short_event_desc_init()
453 sizeof_field(struct vidtv_psi_desc_short_event, text_len) + in vidtv_psi_short_event_desc_init()
617 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()
[all …]
/linux/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/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/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/tools/testing/selftests/bpf/progs/
H A Dverifier_ctx.c257 : __imm_const(size, sizeof_field(struct ctx, field) * 8), \
8 #define sizeof_field( global() macro
/linux/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/drivers/hv/
H A Dmshv.h15 0, sizeof_field(typeof(STRUCT), MEMBER))
/linux/net/core/
H A Dfilter.c326 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in convert_skb_access()
341 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
348 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
355 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_all) != 4); in convert_skb_access()
374 BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2); in convert_bpf_extensions()
390 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in convert_bpf_extensions()
391 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in convert_bpf_extensions()
413 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in convert_bpf_extensions()
437 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions()
7329 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
[all …]
/linux/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()
H A Dnf_bpf_link.c307 if (size != sizeof_field(struct bpf_nf_ctx, skb)) in nf_is_valid_access()
312 if (size != sizeof_field(struct bpf_nf_ctx, state)) in nf_is_valid_access()
H A 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()
H A Dnft_ct.c451 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
456 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
468 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
475 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
481 len = sizeof_field(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
572 len = sizeof_field(struct nf_conn, mark); in nft_ct_set_init()
/linux/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/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()
H A Dplca.c85 sizeof_field(struct plca_reply_data, plca_cfg)); in plca_get_cfg_prepare_data()
234 sizeof_field(struct plca_reply_data, plca_st)); in plca_get_status_prepare_data()
/linux/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),
807 sizeof_field(struct prev_params, yclimit),
813 sizeof_field(struct prev_params, dcor),
[all …]
/linux/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()
376 BUILD_BUG_ON(sizeof_field(struct compat_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 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_set_singleshot_timer, timeout_abs_ns) != in kvm_xen_hcall_vcpu_op()
[all …]
/linux/net/wireless/tests/
H A Dutil.h63 skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
/linux/include/net/libeth/
H A Dtx.h88 static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
/linux/block/
H A Dblk-integrity.c106 sizeof_field(struct crc64_pi_tuple, ref_tag); in blk_get_meta_cap()
111 sizeof_field(struct t10_pi_tuple, ref_tag); in blk_get_meta_cap()
/linux/include/net/
H A Dgarp.h42 sizeof_field(struct sk_buff, cb)); in garp_cb()
/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h626 + sizeof_field(es58x_urb_cmd_type, msg_field) \
627 + sizeof_field(es58x_urb_cmd_type, \

1234567