Home
last modified time | relevance | path

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

12345678

/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.h273 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 Dbpf_util.h73 #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 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/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/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/tools/testing/selftests/bpf/progs/
H A Dverifier_ctx.c260 : __imm_const(size, sizeof_field(struct ctx, field) * 8), \
8 #define sizeof_field( global() macro
H A Dbpf_misc.h187 #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 Dutil.h30 #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 Dfilter.c325 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 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()
/linux/include/linux/
H A Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
/linux/drivers/hv/
H A Dmshv.h15 0, sizeof_field(typeof(STRUCT), MEMBER))
/linux/io_uring/
H A Dopdef.c206 .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 Dflow.h53 (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 Dutil.h63 skb_trim(skb, (skb)->len - sizeof_field(type, member)); \
/linux/arch/s390/include/asm/
H A Dsmp.h20 BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu)); in raw_smp_processor_id()
/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/drivers/spi/
H A Dspi-dw.h156 (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 Des58x_core.h626 + sizeof_field(es58x_urb_cmd_type, msg_field) \
627 + sizeof_field(es58x_urb_cmd_type, \
/linux/include/net/
H A Dgarp.h42 sizeof_field(struct sk_buff, cb)); in garp_cb()
H A Dmrp.h46 sizeof_field(struct sk_buff, cb)); in mrp_cb()

12345678