Home
last modified time | relevance | path

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

/include/linux/
A Dstddef.h24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
A Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
A Dfilter.h563 const int __size = bytes_to_bpf_size(sizeof_field(type, field)); \
643 BUILD_BUG_ON(sizeof_field(TYPE, MEMBER) != (SIZE)); \
896 BUILD_BUG_ON(sizeof(*cb) > sizeof_field(struct sk_buff, cb)); in bpf_compute_data_pointers()
934 BUILD_BUG_ON(sizeof_field(struct __sk_buff, cb) != BPF_SKB_CB_LEN); in bpf_skb_cb()
935 BUILD_BUG_ON(sizeof_field(struct __sk_buff, cb) != in bpf_skb_cb()
936 sizeof_field(struct qdisc_skb_cb, data)); in bpf_skb_cb()
A Dproperty.h399 .length = (_len_) * sizeof_field(struct property_entry, value._elem_[0]), \
439 .length = sizeof_field(struct property_entry, value._elem_[0]), \
A Dnetlink.h309 sizeof_field(struct netlink_callback, ctx))
A Dpacking.h38 sizeof_field(struct_name, struct_field), \
A Dslab.h462 .usersize = sizeof_field(struct __struct, __field), \
A Defi.h1286 / sizeof_field(struct linux_efi_memreserve, entry[0]))
A Dkvm_host.h182 …BUILD_BUG_ON((unsigned)(nr) >= (sizeof_field(struct kvm_vcpu, requests) * 8) - KVM_REQUEST_ARCH_BA…
/include/net/libeth/
A Dtx.h88 static_assert(sizeof(p) <= sizeof_field(struct libeth_sqe, priv))
/include/net/
A Dgarp.h42 sizeof_field(struct sk_buff, cb)); in garp_cb()
A Dmrp.h46 sizeof_field(struct sk_buff, cb)); in mrp_cb()
A Dip_tunnels.h36 (sizeof_field(struct ip_tunnel_key, u) - \
37 sizeof_field(struct ip_tunnel_key, u.ipv4))
93 GENMASK((sizeof_field(struct ip_tunnel_info, \
A Dinet_connection_sock.h136 #define ICSK_CA_PRIV_SIZE sizeof_field(struct inet_connection_sock, icsk_ca_priv)
A Dsch_generic.h1076 BUILD_BUG_ON(sizeof(*cb) > sizeof_field(struct sk_buff, cb)); in tc_skb_cb()
A Dsock.h2630 #define SOCK_SKB_CB_OFFSET (sizeof_field(struct sk_buff, cb) - \
/include/linux/io_uring/
A Dcmd.h31 BUILD_BUG_ON(cmd_sz > sizeof_field(struct io_uring_cmd, pdu)); in io_uring_cmd_private_sz_check()
/include/net/netfilter/
A Dnf_conntrack_helper.h84 BUILD_BUG_ON((structsize) > sizeof_field(struct nf_conn_help, data))
/include/rdma/
A Duverbs_ioctl.h397 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
412 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \

Completed in 60 milliseconds