| /freebsd-13.1/sys/kern/ |
| H A D | subr_rangeset.c | 64 rs = __containerof(ptree, struct rangeset, rs_trie); in rs_node_alloc() 104 r = __containerof(r1, struct rs_el, re_start); in rangeset_check_empty() 144 r = __containerof(r1, struct rs_el, re_start); in rangeset_remove_pred() 256 r = __containerof(r1, struct rs_el, re_start); in rangeset_remove_all() 272 r = __containerof(r1, struct rs_el, re_start); in rangeset_lookup() 294 src_r = __containerof(r1, struct rs_el, re_start); in rangeset_copy() 321 r = __containerof(r1, struct rs_el, re_start); in rangeset_check() 359 r = __containerof(r1, struct rs_el, re_start); in DB_SHOW_COMMAND()
|
| H A D | subr_epoch.c | 553 record = __containerof(cr, struct epoch_record, er_record); in epoch_block_handler_preempt() 925 __containerof(ctx, struct epoch_record, er_drain_ctx)->er_parent; in epoch_drain_cb()
|
| H A D | kern_mbuf.c | 984 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); in _mb_unmapped_to_ext() 1191 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); in mb_free_ext() 1283 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); in mb_free_extpg()
|
| H A D | kern_rmlock.c | 1124 rmsipi = __containerof(arg, struct rmslock_ipi, srcra); in rms_action_func() 1144 rmsipi = __containerof(arg, struct rmslock_ipi, srcra); in rms_wait_func()
|
| /freebsd-13.1/sys/dev/ice/ |
| H A D | ice_osdep.c | 83 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); in ice_hw_to_dev() 194 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); in rd32() 212 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); in rd64() 240 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); in wr32() 259 struct ice_softc *sc = __containerof(hw, struct ice_softc, hw); in wr64()
|
| H A D | ice_osdep.h | 232 __containerof(ptr, type, member)
|
| /freebsd-13.1/sys/dev/cxgbe/cxgbei/ |
| H A D | cxgbei.h | 90 return (__containerof(ic, struct icl_cxgbei_conn, ic)); in ic_to_icc() 120 return (__containerof(ip, struct icl_cxgbei_pdu, ip)); in ip_to_icp()
|
| /freebsd-13.1/tools/build/cross-build/include/common/sys/ |
| H A D | cdefs.h | 215 #ifndef __containerof 216 #define __containerof(x, s, m) \ macro
|
| /freebsd-13.1/sys/x86/iommu/ |
| H A D | intel_dmar.h | 94 __containerof((dmar), struct dmar_unit, iommu) 98 __containerof((domain), struct dmar_domain, iodom) 102 __containerof((ctx), struct dmar_ctx, context)
|
| /freebsd-13.1/sys/fs/devfs/ |
| H A D | devfs_int.h | 77 #define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c)
|
| /freebsd-13.1/sys/dev/cxgbe/ |
| H A D | t4_l2t.h | 107 struct l2t_data *d = __containerof(e, struct l2t_data, l2tab[e->idx]); in t4_l2t_release()
|
| H A D | offload.h | 113 return (__containerof(t, struct cxgbe_rate_tag, com)); in mst_to_crt()
|
| /freebsd-13.1/sys/mips/ingenic/ |
| H A D | jz4780_gpio.c | 672 pin = __containerof(isrc, struct jz4780_gpio_pin, pin_irqsrc); in jz4780_gpio_pic_setup_intr() 724 pin = __containerof(isrc, struct jz4780_gpio_pin, pin_irqsrc); in jz4780_gpio_pic_enable_intr() 736 pin = __containerof(isrc, struct jz4780_gpio_pin, pin_irqsrc); in jz4780_gpio_pic_disable_intr() 762 pin = __containerof(isrc, struct jz4780_gpio_pin, pin_irqsrc); in jz4780_gpio_pic_post_filter()
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_transfer.h | 53 __containerof(dpt, struct usb_xfer_root, dma_parent_tag)
|
| /freebsd-13.1/contrib/bsnmp/snmpd/ |
| H A D | trans_inet.c | 353 struct inet_port *port = __containerof(tp, struct inet_port, tport); in inet_recv() 354 struct port_sock *sock = __containerof(pi, struct port_sock, input); in inet_recv() 387 struct inet_port *p = __containerof(tp, struct inet_port, tport); in inet_send2() 389 __containerof(pi, struct port_sock, input); in inet_send2()
|
| /freebsd-13.1/sys/sys/ |
| H A D | queue.h | 401 __containerof((head)->stqh_last, \ 596 __containerof((elm)->field.le_prev, \ 834 (TAILQ_EMPTY(head) ? NULL : __containerof((head)->tqh_last, QUEUE_TYPEOF(type), field.tqe_next)) 843 __containerof((elm)->field.tqe_prev, QUEUE_TYPEOF(type), field.tqe_next))
|
| H A D | cdefs.h | 490 #define __containerof(x, s, m) ({ \ macro 495 #define __containerof(x, s, m) \ macro
|
| /freebsd-13.1/sys/netinet/ |
| H A D | ip_gre.c | 117 s = __containerof(gs, struct in_gre_socket, base); in in_gre_lookup_socket() 282 s = __containerof(gs, struct in_gre_socket, base); in in_gre_setup_socket()
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | ip6_gre.c | 108 s = __containerof(gs, struct in6_gre_socket, base); in in6_gre_lookup_socket() 278 s = __containerof(gs, struct in6_gre_socket, base); in in6_gre_setup_socket()
|
| /freebsd-13.1/sys/net/ |
| H A D | bpf.c | 302 bp = __containerof(ctx, struct bpf_if, epoch_ctx); in bpfif_free() 352 ptr = __containerof(ctx, struct bpf_program_buffer, epoch_ctx); in bpf_program_buffer_free() 2013 fcode = __containerof((void *)d->bd_wfilter, in bpf_setf() 2022 fcode = __containerof((void *)d->bd_rfilter, in bpf_setf() 2657 d = __containerof(ctx, struct bpf_d, epoch_ctx); in bpfd_free() 2660 p = __containerof((void *)d->bd_rfilter, in bpfd_free() 2668 p = __containerof((void *)d->bd_wfilter, in bpfd_free()
|
| /freebsd-13.1/sys/net/route/ |
| H A D | nhop.c | 129 ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx); in destroy_ctl_epoch()
|
| H A D | fib_algo.c | 1136 fd = __containerof(ctx, struct fib_data, fd_epoch_ctx); in destroy_fd_instance_epoch() 1552 fdh = __containerof(ctx, struct fib_dp_header, fdh_epoch_ctx); in destroy_fdh_epoch() 1581 return (__containerof((void *)dp, struct fib_dp_header, fdh_idx)); in get_fib_dp_header() 1818 nrd = __containerof(ctx, struct nhop_release_data, ctx); in release_nhop_epoch()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_gem.c | 453 obj = __containerof(map_list, struct drm_gem_object, map_list); in drm_gem_object_from_offset()
|
| /freebsd-13.1/sys/vm/ |
| H A D | uma_int.h | 409 return (__containerof(slab, struct uma_hash_slab, uhs_slab)); in slab_tohashslab()
|
| /freebsd-13.1/sys/dev/cxgbe/tom/ |
| H A D | t4_tom.h | 325 return (__containerof(tod, struct tom_data, tod)); in tod_td()
|