Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/ipa/
A 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,
177 sizeof_field(struct ipa_init_complete_ind,
195 sizeof_field(struct ipa_mem_bounds, start),
202 sizeof_field(struct ipa_mem_bounds, end),
216 sizeof_field(struct ipa_mem_array, start),
223 sizeof_field(struct ipa_mem_array, count),
237 sizeof_field(struct ipa_mem_range, start),
[all …]
/linux/drivers/media/test-drivers/vidtv/
A Dvidtv_psi.c588 length += sizeof_field(struct vidtv_psi_desc, type); in vidtv_psi_desc_comp_loop_len()
589 length += sizeof_field(struct vidtv_psi_desc, length); in vidtv_psi_desc_comp_loop_len()
646 .len = sizeof_field(struct vidtv_psi_desc, type) + in vidtv_psi_desc_write_into()
647 sizeof_field(struct vidtv_psi_desc, length), in vidtv_psi_desc_write_into()
1179 sizeof_field(struct vidtv_psi_table_pmt, bitfield2), in vidtv_psi_pmt_write_into()
1319 .len = sizeof_field(struct vidtv_psi_table_sdt, network_id) + in vidtv_psi_sdt_write_into()
1320 sizeof_field(struct vidtv_psi_table_sdt, reserved), in vidtv_psi_sdt_write_into()
1559 length += sizeof_field(struct vidtv_psi_table_nit, bitfield2); in vidtv_psi_nit_table_update_sec_len()
1719 sizeof_field(struct vidtv_psi_table_transport, bitfield); in vidtv_psi_nit_write_into()
1871 sizeof_field(struct vidtv_psi_table_eit, network_id) + in vidtv_psi_eit_write_into()
[all …]
/linux/tools/testing/selftests/bpf/
A 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/arch/arm64/include/asm/
A Dprocessor.h220 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
221 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
222 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
223 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
226 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/linux/drivers/mfd/
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/include/linux/
A Dstddef.h28 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
37 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
A Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
/linux/arch/x86/kvm/
A Dxen.c130 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest()
132 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest()
147 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
149 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
166 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
167 sizeof_field(struct compat_vcpu_runstate_info, time)); in kvm_xen_update_runstate_guest()
168 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
208 sizeof_field(struct vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
210 sizeof_field(struct compat_vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
/linux/drivers/net/ethernet/cavium/liquidio/
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()
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/drivers/net/wireless/marvell/mwifiex/
A Dutil.h39 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n))
43 #define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n))
/linux/net/core/
A Dfilter.c8772 BUILD_BUG_ON(sizeof_field(struct sock_common, in bpf_convert_ctx_access()
8963 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
8973 sizeof_field(struct sock, sk_type), in bpf_sock_convert_ctx_access()
8990 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
8999 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9013 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9030 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9044 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9054 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9064 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
[all …]
/linux/arch/m68k/kernel/
A 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),
645 char buf[sizeof_field(struct frame, un)]; in mangle_kernel_stack()
/linux/drivers/s390/net/
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/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd.h439 u8 data[sizeof_field(struct canfd_frame, data)];
445 u8 data[sizeof_field(struct can_frame, data)];
451 u8 data[sizeof_field(struct canfd_frame, data)];
458 u8 data[sizeof_field(struct can_frame, data)];
465 u8 data[sizeof_field(struct canfd_frame, data)];
A Dmcp251xfd-regmap.c431 .max_raw_read = sizeof_field(struct mcp251xfd_map_buf_nocrc, data),
432 .max_raw_write = sizeof_field(struct mcp251xfd_map_buf_nocrc, data),
453 .max_raw_read = sizeof_field(struct mcp251xfd_map_buf_crc, data),
454 .max_raw_write = sizeof_field(struct mcp251xfd_map_buf_crc, data),
/linux/net/netfilter/
A 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()
A Dnft_ct.c442 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
447 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init()
459 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
466 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
472 len = sizeof_field(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
555 len = sizeof_field(struct nf_conn, mark); in nft_ct_set_init()
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()
/linux/drivers/media/platform/omap3isp/
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/net/openvswitch/
A Dflow.h40 (sizeof_field(struct sw_flow_key, tun_opts) - opt_len)
55 sizeof_field(struct sw_flow_key, recirc_id))
/linux/drivers/spi/
A Dspi-dw.h112 (sizeof_field(struct spi_mem_op, cmd.opcode) + \
113 sizeof_field(struct spi_mem_op, addr.val) + 256)
/linux/include/net/
A Dip_tunnels.h36 (sizeof_field(struct ip_tunnel_key, u) - \
37 sizeof_field(struct ip_tunnel_key, u.ipv4))
66 GENMASK((sizeof_field(struct ip_tunnel_info, \
/linux/arch/riscv/include/asm/
A Dprocessor.h45 *size = sizeof_field(struct thread_struct, fstate); in arch_thread_struct_whitelist()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_dcb.c455 sizeof_field(struct hnae3_tc_info, prio_tc)); in hclge_sync_mqprio_qopt()
457 sizeof_field(struct hnae3_tc_info, tqp_count)); in hclge_sync_mqprio_qopt()
459 sizeof_field(struct hnae3_tc_info, tqp_offset)); in hclge_sync_mqprio_qopt()
/linux/drivers/net/can/usb/etas_es58x/
A Des58x_core.h583 + sizeof_field(es58x_urb_cmd_type, msg_field) \
584 + sizeof_field(es58x_urb_cmd_type, \

Completed in 78 milliseconds

1234567