/freebsd-current/sys/dev/ice/ |
H A D | ice_rdma_internal.h | 72 #define ice_rdma_peer_to_entry(p) __containerof(p, struct ice_rdma_entry, peer) 73 #define ice_rdma_entry_to_sc(e) __containerof(e, struct ice_softc, rdma_entry)
|
H A D | ice_osdep.c | 74 * allocated separately, so that __containerof math will work. 82 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); 193 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); 211 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); 239 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); 258 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw);
|
H A D | ice_osdep.h | 210 * contained structure is done via __containerof 222 * accessed using __containerof. This way, the ice_list_head doesn't need to 233 __containerof(ptr, type, member)
|
/freebsd-current/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.h | 74 return (__containerof(ic, struct icl_cxgbei_conn, ic)); 104 return (__containerof(ip, struct icl_cxgbei_pdu, ip));
|
/freebsd-current/sys/dev/firmware/arm/ |
H A D | scmi.h | 72 #define hdr_to_msg(h) __containerof((h), struct scmi_msg, hdr)
|
H A D | scmi.c | 105 #define buf_to_msg(b) __containerof((b), struct scmi_msg, payld) 106 #define msg_to_req(m) __containerof((m), struct scmi_req, msg)
|
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_l2t.h | 105 struct l2t_data *d = __containerof(e, struct l2t_data, l2tab[e->idx]);
|
H A D | offload.h | 111 return (__containerof(t, struct cxgbe_rate_tag, com));
|
/freebsd-current/sys/fs/devfs/ |
H A D | devfs_int.h | 74 #define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c)
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_transfer.h | 52 __containerof(dpt, struct usb_xfer_root, dma_parent_tag)
|
/freebsd-current/tools/build/cross-build/include/common/sys/ |
H A D | cdefs.h | 219 #ifndef __containerof 220 #define __containerof(x, s, m) \ macro
|
/freebsd-current/sys/x86/iommu/ |
H A D | intel_dmar.h | 92 __containerof((dmar), struct dmar_unit, iommu) 96 __containerof((domain), struct dmar_domain, iodom) 100 __containerof((ctx), struct dmar_ctx, context)
|
/freebsd-current/sys/net/route/ |
H A D | route_subscription.c | 183 rs = __containerof(ctx, struct rib_subscription, epoch_ctx);
|
H A D | nhop.c | 132 ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx);
|
H A D | route_rtentry.c | 142 rt = __containerof(ctx, struct rtentry, rt_epoch_ctx);
|
/freebsd-current/sys/netinet/ |
H A D | udp_var.h | 123 #define intoudpcb(ip) __containerof((ip), struct udpcb, u_inpcb)
|
H A D | ip_gre.c | 116 s = __containerof(gs, struct in_gre_socket, base); 267 s = __containerof(gs, struct in_gre_socket, base);
|
/freebsd-current/contrib/bsnmp/snmpd/ |
H A D | trans_inet.c | 353 struct inet_port *port = __containerof(tp, struct inet_port, tport); 354 struct port_sock *sock = __containerof(pi, struct port_sock, input); 387 struct inet_port *p = __containerof(tp, struct inet_port, tport); 389 __containerof(pi, struct port_sock, input);
|
/freebsd-current/contrib/libarchive/unzip/ |
H A D | la_queue.h | 365 __containerof((head)->stqh_last, \ 558 __containerof((elm)->field.le_prev, \ 794 (TAILQ_EMPTY(head) ? NULL : __containerof((head)->tqh_last, QUEUE_TYPEOF(type), field.tqe_next)) 803 __containerof((elm)->field.tqe_prev, QUEUE_TYPEOF(type), field.tqe_next))
|
/freebsd-current/sys/sys/ |
H A D | queue.h | 399 __containerof((head)->stqh_last, \ 594 __containerof((elm)->field.le_prev, \ 850 (TAILQ_EMPTY(head) ? NULL : __containerof((head)->tqh_last, QUEUE_TYPEOF(type), field.tqe_next)) 859 __containerof((elm)->field.tqe_prev, QUEUE_TYPEOF(type), field.tqe_next))
|
H A D | cdefs.h | 469 #define __containerof(x, s, m) ({ \ macro 474 #define __containerof(x, s, m) \ macro
|
/freebsd-current/sys/kern/ |
H A D | subr_rangeset.c | 61 rs = __containerof(ptree, struct rangeset, rs_trie);
|
H A D | kern_mbuf.c | 962 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); 1169 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); 1262 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count);
|
/freebsd-current/sys/netinet6/ |
H A D | ip6_gre.c | 107 s = __containerof(gs, struct in6_gre_socket, base); 262 s = __containerof(gs, struct in6_gre_socket, base);
|
/freebsd-current/sys/net/ |
H A D | bpf.c | 306 bp = __containerof(ctx, struct bpf_if, epoch_ctx); 356 ptr = __containerof(ctx, struct bpf_program_buffer, epoch_ctx); 2022 fcode = __containerof((void *)d->bd_wfilter, 2031 fcode = __containerof((void *)d->bd_rfilter, 2737 d = __containerof(ctx, struct bpf_d, epoch_ctx); 2740 p = __containerof((void *)d->bd_rfilter, 2748 p = __containerof((void *)d->bd_wfilter,
|