Home
last modified time | relevance | path

Searched refs:__containerof (Results 1 – 25 of 41) sorted by relevance

12

/f-stack/freebsd/kern/
H A Dsubr_rangeset.c65 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 Dsubr_epoch.c552 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 Dkern_mbuf.c962 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 Dkern_rmlock.c1117 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 Dkern_exit.c113 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 Dintel_dmar.h95 __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 Djz4780_gpio.c672 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 Dqueue.h366 __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 Dqueue.h396 __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 Dcdefs.h494 #define __containerof(x, s, m) ({ \ macro
499 #define __containerof(x, s, m) \ macro
/f-stack/freebsd/netinet6/
H A Dip6_gre.c108 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 Dip_gre.c117 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 Din_pcb.c281 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 Dfib_algo.c861 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 Dnhop.c129 ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx); in destroy_ctl_epoch()
H A Droute_ctl.c168 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 Dnhgrp_ctl.c393 nhg_priv = __containerof(ctx, struct nhgrp_priv, nhg_epoch_ctx); in destroy_nhgrp_epoch()
H A Dnhop_ctl.c627 nh_priv = __containerof(ctx, struct nhop_priv, nh_epoch_ctx); in destroy_nhop_epoch()
/f-stack/freebsd/net/
H A Dbpf.c300 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 Dpfil.c421 link = __containerof(ctx, struct pfil_link, link_epoch_ctx); in pfil_link_free()
H A Dif_gre.c449 gs = __containerof(ctx, struct gre_socket, epoch_ctx); in gre_sofree()
H A Dif_vlan.c127 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 Dqueue.h349 __containerof((head)->stqh_last, \
508 __containerof((elm)->field.le_prev, \
/f-stack/freebsd/vm/
H A Duma_int.h411 return (__containerof(slab, struct uma_hash_slab, uhs_slab)); in slab_tohashslab()
/f-stack/freebsd/amd64/amd64/
H A Dvm_machdep.c120 td = __containerof(pcb, struct thread, td_md.md_pcb); in get_pcb_user_save_pcb()

12