| /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 | 273 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist() 274 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 275 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist() 276 sizeof_field(struct thread_struct, uw.fpmr) + in arch_thread_struct_whitelist() 277 sizeof_field(struct thread_struct, uw.pad) + in arch_thread_struct_whitelist() 278 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist() 281 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | bpf_util.h | 73 #ifndef sizeof_field 74 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro 79 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
|
| /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/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_ctx.c | 260 : __imm_const(size, sizeof_field(struct ctx, field) * 8), \ 8 #define sizeof_field( global() macro
|
| H A D | bpf_misc.h | 187 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro 189 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | util.h | 30 #define item_size(n) (sizeof_field(struct nxpwifi_debug_info, n)) 34 #define adapter_item_size(n) (sizeof_field(struct nxpwifi_adapter, n))
|
| /linux/net/core/ |
| H A D | filter.c | 325 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in convert_skb_access() 340 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access() 347 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in convert_skb_access() 354 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_all) != 4); in convert_skb_access() 373 BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2); in convert_bpf_extensions() 389 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in convert_bpf_extensions() 390 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in convert_bpf_extensions() 412 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in convert_bpf_extensions() 436 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() 7620 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access() [all …]
|
| /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 | 307 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 D | nft_tproxy.c | 228 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/include/linux/ |
| H A D | phy_led_triggers.h | 17 sizeof_field(struct mdio_device, addr)+\
|
| /linux/drivers/hv/ |
| H A D | mshv.h | 15 0, sizeof_field(typeof(STRUCT), MEMBER))
|
| /linux/io_uring/ |
| H A D | opdef.c | 206 .filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, connect), 222 .filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, open), 310 .filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, open), 409 .filter_pdu_size = sizeof_field(struct io_uring_bpf_ctx, socket),
|
| /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/wireless/tests/ |
| H A D | util.h | 63 skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
|
| /linux/arch/s390/include/asm/ |
| H A D | smp.h | 20 BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu)); in raw_smp_processor_id()
|
| /linux/include/net/libeth/ |
| H A D | tx.h | 88 static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
|
| /linux/block/ |
| H A D | blk-integrity.c | 106 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/drivers/spi/ |
| H A D | spi-dw.h | 156 (sizeof_field(struct spi_mem_op, cmd.opcode) + \ 157 sizeof_field(struct spi_mem_op, addr.val) + 256)
|
| /linux/drivers/net/can/usb/etas_es58x/ |
| H A D | es58x_core.h | 626 + sizeof_field(es58x_urb_cmd_type, msg_field) \ 627 + sizeof_field(es58x_urb_cmd_type, \
|
| /linux/include/net/ |
| H A D | garp.h | 42 sizeof_field(struct sk_buff, cb)); in garp_cb()
|
| H A D | mrp.h | 46 sizeof_field(struct sk_buff, cb)); in mrp_cb()
|