| /f-stack/freebsd/kern/ |
| H A D | subr_rangeset.c | 65 rs = __containerof(ptree, struct rangeset, rs_trie); in rs_node_alloc() 105 r = __containerof(r1, struct rs_el, re_start); in rangeset_check_empty() 145 r = __containerof(r1, struct rs_el, re_start); in rangeset_remove_pred() 257 r = __containerof(r1, struct rs_el, re_start); in rangeset_remove_all() 273 r = __containerof(r1, struct rs_el, re_start); in rangeset_lookup() 295 src_r = __containerof(r1, struct rs_el, re_start); in rangeset_copy() 322 r = __containerof(r1, struct rs_el, re_start); in rangeset_check() 360 r = __containerof(r1, struct rs_el, re_start); in DB_SHOW_COMMAND()
|
| H A D | subr_epoch.c | 552 record = __containerof(cr, struct epoch_record, er_record); in epoch_block_handler_preempt() 924 __containerof(ctx, struct epoch_record, er_drain_ctx)->er_parent; in epoch_drain_cb()
|
| H A D | kern_mbuf.c | 962 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); in _mb_unmapped_to_ext() 1176 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); in mb_free_ext() 1268 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); in mb_free_extpg()
|
| H A D | kern_rmlock.c | 1117 rmsipi = __containerof(arg, struct rmslock_ipi, srcra); in rms_action_func() 1137 rmsipi = __containerof(arg, struct rmslock_ipi, srcra); in rms_wait_func()
|
| H A D | kern_exit.c | 113 p = __containerof(p->p_orphan.le_prev, struct proc, in proc_realparent() 118 parent = __containerof(p->p_orphan.le_prev, struct proc, in proc_realparent()
|
| /f-stack/freebsd/x86/iommu/ |
| H A D | intel_dmar.h | 95 __containerof((dmar), struct dmar_unit, iommu) 99 __containerof((domain), struct dmar_domain, iodom) 103 __containerof((ctx), struct dmar_ctx, context)
|
| /f-stack/freebsd/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()
|
| /f-stack/dpdk/lib/librte_eal/windows/include/sys/ |
| H A D | queue.h | 366 __containerof((head)->stqh_last, \ 559 __containerof((elm)->field.le_prev, \ 795 (TAILQ_EMPTY(head) ? NULL : __containerof((head)->tqh_last, QUEUE_TYPEOF(type), field.tqe_next)) 804 __containerof((elm)->field.tqe_prev, QUEUE_TYPEOF(type), field.tqe_next))
|
| /f-stack/freebsd/sys/ |
| H A D | queue.h | 396 __containerof((head)->stqh_last, \ 588 __containerof((elm)->field.le_prev, \ 824 (TAILQ_EMPTY(head) ? NULL : __containerof((head)->tqh_last, QUEUE_TYPEOF(type), field.tqe_next)) 833 __containerof((elm)->field.tqe_prev, QUEUE_TYPEOF(type), field.tqe_next))
|
| H A D | cdefs.h | 494 #define __containerof(x, s, m) ({ \ macro 499 #define __containerof(x, s, m) \ macro
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/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()
|
| H A D | in_pcb.c | 281 grp = __containerof(ctx, struct inpcblbgroup, il_epoch_ctx); in in_pcblbgroup_free_deferred() 1726 il = __containerof(ctx, struct in_pcblist, il_epoch_ctx); in in_pcblist_rele_rlocked() 1745 phd = __containerof(ctx, struct inpcbport, phd_epoch_ctx); in inpcbport_free() 1755 inp = __containerof(ctx, struct inpcb, inp_epoch_ctx); in in_pcbfree_deferred()
|
| /f-stack/freebsd/net/route/ |
| H A D | fib_algo.c | 861 fd = __containerof(ctx, struct fib_data, fd_epoch_ctx); in destroy_fd_instance_epoch() 1229 fdh = __containerof(ctx, struct fib_dp_header, fdh_epoch_ctx); in destroy_fdh_epoch() 1251 return (__containerof((void *)dp, struct fib_dp_header, fdh_idx)); in get_fib_dp_header() 1456 nrd = __containerof(ctx, struct nhop_release_data, ctx); in release_nhop_epoch()
|
| H A D | nhop.c | 129 ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx); in destroy_ctl_epoch()
|
| H A D | route_ctl.c | 168 rt = __containerof(ctx, struct rtentry, rt_epoch_ctx); in destroy_rtentry_epoch() 1529 rs = __containerof(ctx, struct rib_subscription, epoch_ctx); in destroy_subscription_epoch()
|
| H A D | nhgrp_ctl.c | 393 nhg_priv = __containerof(ctx, struct nhgrp_priv, nhg_epoch_ctx); in destroy_nhgrp_epoch()
|
| H A D | nhop_ctl.c | 627 nh_priv = __containerof(ctx, struct nhop_priv, nh_epoch_ctx); in destroy_nhop_epoch()
|
| /f-stack/freebsd/net/ |
| H A D | bpf.c | 300 bp = __containerof(ctx, struct bpf_if, epoch_ctx); in bpfif_free() 350 ptr = __containerof(ctx, struct bpf_program_buffer, epoch_ctx); in bpf_program_buffer_free() 1991 fcode = __containerof((void *)d->bd_wfilter, in bpf_setf() 2000 fcode = __containerof((void *)d->bd_rfilter, in bpf_setf() 2635 d = __containerof(ctx, struct bpf_d, epoch_ctx); in bpfd_free() 2638 p = __containerof((void *)d->bd_rfilter, in bpfd_free() 2646 p = __containerof((void *)d->bd_wfilter, in bpfd_free()
|
| H A D | pfil.c | 421 link = __containerof(ctx, struct pfil_link, link_epoch_ctx); in pfil_link_free()
|
| H A D | if_gre.c | 449 gs = __containerof(ctx, struct gre_socket, epoch_ctx); in gre_sofree()
|
| H A D | if_vlan.c | 127 return (__containerof(mst, struct vlan_snd_tag, com)); in mst_to_vst() 335 struct vlan_mc_entry *mc = __containerof(ctx, struct vlan_mc_entry, mc_epoch_ctx); in vlan_mc_free()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | queue.h | 349 __containerof((head)->stqh_last, \ 508 __containerof((elm)->field.le_prev, \
|
| /f-stack/freebsd/vm/ |
| H A D | uma_int.h | 411 return (__containerof(slab, struct uma_hash_slab, uhs_slab)); in slab_tohashslab()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | vm_machdep.c | 120 td = __containerof(pcb, struct thread, td_md.md_pcb); in get_pcb_user_save_pcb()
|