Home
last modified time | relevance | path

Searched refs:FIELD_SIZEOF (Results 1 – 10 of 10) sorted by relevance

/include/linux/
Dphy_led_triggers.h17 FIELD_SIZEOF(struct mdio_device, addr)+\
Dfilter.h420 const int __size = bytes_to_bpf_size(FIELD_SIZEOF(type, field)); \
496 BUILD_BUG_ON(FIELD_SIZEOF(TYPE, MEMBER) != (SIZE)); \
665 BUILD_BUG_ON(sizeof(*cb) > FIELD_SIZEOF(struct sk_buff, cb)); in bpf_compute_data_pointers()
703 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != BPF_SKB_CB_LEN); in bpf_skb_cb()
704 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != in bpf_skb_cb()
705 FIELD_SIZEOF(struct qdisc_skb_cb, data)); in bpf_skb_cb()
Dkernel.h89 #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) macro
Dkvm_host.h152 …BUILD_BUG_ON((unsigned)(nr) >= (FIELD_SIZEOF(struct kvm_vcpu, requests) * 8) - KVM_REQUEST_ARCH_BA…
/include/net/
Dgarp.h40 FIELD_SIZEOF(struct sk_buff, cb)); in garp_cb()
Dmrp.h42 FIELD_SIZEOF(struct sk_buff, cb)); in mrp_cb()
Dip_tunnels.h36 (FIELD_SIZEOF(struct ip_tunnel_key, u) - \
37 FIELD_SIZEOF(struct ip_tunnel_key, u.ipv4))
66 GENMASK((FIELD_SIZEOF(struct ip_tunnel_info, \
Dsock.h2314 #define SOCK_SKB_CB_OFFSET ((FIELD_SIZEOF(struct sk_buff, cb) - \
/include/net/netfilter/
Dnf_tables_core.h44 return cpu_to_le32(~0U >> (FIELD_SIZEOF(struct nft_cmp_fast_expr, in nft_cmp_fast_mask()
Dnf_conntrack_helper.h84 BUILD_BUG_ON((structsize) > FIELD_SIZEOF(struct nf_conn_help, data))