Searched refs:FIELD_SIZEOF (Results 1 – 10 of 10) sorted by relevance
/include/linux/ |
D | phy_led_triggers.h | 17 FIELD_SIZEOF(struct mdio_device, addr)+\
|
D | filter.h | 420 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()
|
D | kernel.h | 89 #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) macro
|
D | kvm_host.h | 152 …BUILD_BUG_ON((unsigned)(nr) >= (FIELD_SIZEOF(struct kvm_vcpu, requests) * 8) - KVM_REQUEST_ARCH_BA…
|
/include/net/ |
D | garp.h | 40 FIELD_SIZEOF(struct sk_buff, cb)); in garp_cb()
|
D | mrp.h | 42 FIELD_SIZEOF(struct sk_buff, cb)); in mrp_cb()
|
D | ip_tunnels.h | 36 (FIELD_SIZEOF(struct ip_tunnel_key, u) - \ 37 FIELD_SIZEOF(struct ip_tunnel_key, u.ipv4)) 66 GENMASK((FIELD_SIZEOF(struct ip_tunnel_info, \
|
D | sock.h | 2314 #define SOCK_SKB_CB_OFFSET ((FIELD_SIZEOF(struct sk_buff, cb) - \
|
/include/net/netfilter/ |
D | nf_tables_core.h | 44 return cpu_to_le32(~0U >> (FIELD_SIZEOF(struct nft_cmp_fast_expr, in nft_cmp_fast_mask()
|
D | nf_conntrack_helper.h | 84 BUILD_BUG_ON((structsize) > FIELD_SIZEOF(struct nf_conn_help, data))
|