/linux/drivers/net/ipa/ |
H A D | ipa_qmi_msg.c | 18 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 D | processor.h | 263 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 264 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 265 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 266 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist() 267 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist() 268 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 271 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
|
/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.c | 294 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/drivers/mfd/ |
H A D | ioc3.c | 160 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/ |
H A D | stddef.h | 24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro 33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
|
H A D | phy_led_triggers.h | 17 sizeof_field(struct mdio_device, addr)+\
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_console.c | 208 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/net/wireless/marvell/mwifiex/ |
H A D | util.h | 27 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n)) 31 #define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n))
|
/linux/arch/m68k/kernel/ |
H A D | signal.c | 66 #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 D | filter.c | 309 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in convert_skb_access() 324 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access() 331 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in convert_skb_access() 338 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_all) != 4); in convert_skb_access() 357 BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2); in convert_bpf_extensions() 373 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in convert_bpf_extensions() 374 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in convert_bpf_extensions() 396 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in convert_bpf_extensions() 420 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() 7148 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access() [all …]
|
/linux/drivers/s390/net/ |
H A D | qeth_core_mpc.h | 427 #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 D | nft_nat.c | 203 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 D | nf_bpf_link.c | 303 if (size != sizeof_field(struct bpf_nf_ctx, skb)) in nf_is_valid_access() 308 if (size != sizeof_field(struct bpf_nf_ctx, state)) in nf_is_valid_access()
|
H A D | nft_ct.c | 438 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init() 443 len = sizeof_field(struct nf_conntrack_tuple, in nft_ct_get_init() 455 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init() 462 len = sizeof_field(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init() 468 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()
|
/linux/fs/btrfs/ |
H A D | accessors.h | 49 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 D | isppreview.c | 756 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/net/openvswitch/ |
H A D | flow.h | 53 (sizeof_field(struct sw_flow_key, tun_opts) - opt_len) 68 sizeof_field(struct sw_flow_key, recirc_id))
|
/linux/net/ethtool/ |
H A D | cmis_fw_update.c | 171 max_lpl_len - sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl, in cmis_fw_update_write_image_lpl() 188 sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl, in cmis_fw_update_write_image_lpl() 225 lpl_len = sizeof_field(struct cmis_cdb_write_fw_block_lpl_pl, in cmis_fw_update_write_image_epl()
|
H A D | plca.c | 85 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/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-regmap.c | 440 .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 D | mcp251xfd.h | 448 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/drivers/spi/ |
H A D | spi-dw.h | 127 (sizeof_field(struct spi_mem_op, cmd.opcode) + \ 128 sizeof_field(struct spi_mem_op, addr.val) + 256)
|
/linux/include/net/libeth/ |
H A D | tx.h | 69 static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
|
/linux/net/wireless/tests/ |
H A D | util.h | 63 skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_query.c | 461 sizeof_field(struct xe_gt, fuse_topo.g_dss_mask) + in calc_topo_query_size() 462 sizeof_field(struct xe_gt, fuse_topo.c_dss_mask) + in calc_topo_query_size() 463 sizeof_field(struct xe_gt, fuse_topo.eu_mask_per_dss); in calc_topo_query_size() 468 sizeof_field(struct xe_gt, fuse_topo.l3_bank_mask); in calc_topo_query_size()
|