Home
last modified time | relevance | path

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

123456789

/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,
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/tools/testing/selftests/bpf/
H A Dbpf_util.h53 #ifndef sizeof_field
54 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
59 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/linux/arch/arm64/include/asm/
H A Dprocessor.h255 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
256 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
257 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
258 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist()
259 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist()
260 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
263 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/linux/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/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/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/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/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/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/net/core/
H A Dfilter.c9724 BUILD_BUG_ON(sizeof_field(struct sock_common, in bpf_convert_ctx_access()
9911 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9921 sizeof_field(struct sock, sk_type), in bpf_sock_convert_ctx_access()
9938 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9947 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9961 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9978 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
9992 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10002 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
10012 sizeof_field(struct sock_common, in bpf_sock_convert_ctx_access()
[all …]
/linux/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/net/netfilter/
H A Dnft_nat.c204 alen = sizeof_field(struct nf_nat_range, min_addr.ip); in nft_nat_init()
207 alen = sizeof_field(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
235 plen = sizeof_field(struct nf_nat_range, min_proto.all); in nft_nat_init()
H A Dnf_bpf_link.c298 if (size != sizeof_field(struct bpf_nf_ctx, skb)) in nf_is_valid_access()
303 if (size != sizeof_field(struct bpf_nf_ctx, state)) in nf_is_valid_access()
/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/fs/btrfs/
H A Daccessors.h49 sizeof_field(type, member)))
55 sizeof_field(type, member)))
77 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
83 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
89 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
95 static_assert(sizeof(u##bits) == sizeof_field(type, member)); \
126 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); in btrfs_device_total_bytes()
133 static_assert(sizeof(u64) == sizeof_field(struct btrfs_dev_item, total_bytes)); in btrfs_set_device_total_bytes()
/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),
813 sizeof_field(struct prev_params, dcor),
831 sizeof_field(struct prev_params, nf),
[all …]
/linux/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/arch/x86/kvm/
H A Dxen.c315 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
317 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest()
326 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest()
340 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
341 sizeof_field(struct compat_vcpu_runstate_info, time)); in kvm_xen_update_runstate_guest()
342 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest()
664 sizeof_field(struct vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
666 sizeof_field(struct compat_vcpu_info, evtchn_upcall_pending)); in __kvm_xen_has_interrupt()
1576 sizeof_field(struct vcpu_set_singleshot_timer, timeout_abs_ns)); in kvm_xen_hcall_vcpu_op()
1579 BUILD_BUG_ON(sizeof_field(struct compat_vcpu_set_singleshot_timer, flags) != in kvm_xen_hcall_vcpu_op()
[all …]
/linux/net/ethtool/
H A Dplca.c81 sizeof_field(struct plca_reply_data, plca_cfg)); in plca_get_cfg_prepare_data()
224 sizeof_field(struct plca_reply_data, plca_st)); in plca_get_status_prepare_data()
/linux/net/wireless/tests/
H A Dutil.h63 skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
/linux/drivers/spi/
H A Dspi-dw.h127 (sizeof_field(struct spi_mem_op, cmd.opcode) + \
128 sizeof_field(struct spi_mem_op, addr.val) + 256)
/linux/include/net/
H A Dgarp.h42 sizeof_field(struct sk_buff, cb)); in garp_cb()

123456789