Home
last modified time | relevance | path

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

/NextBSD/sys/dev/cxgbe/cxgbei/
HDcxgbei.h76 return (__containerof(ic, struct icl_cxgbei_conn, ic)); in ic_to_icc()
94 return (__containerof(ip, struct icl_cxgbei_pdu, ip)); in ip_to_icp()
/NextBSD/sys/fs/devfs/
HDdevfs_int.h73 #define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c)
/NextBSD/sys/dev/cxgbe/
HDt4_l2t.h99 struct l2t_data *d = __containerof(e, struct l2t_data, l2tab[e->idx]); in t4_l2t_release()
HDadapter.h547 return (__containerof(iq, struct sge_rxq, iq)); in iq_to_rxq()
562 return (__containerof(iq, struct sge_ofld_rxq, iq)); in iq_to_ofld_rxq()
HDt4_sge.c2235 struct wrqe *wr = __containerof(w, struct wrqe, wr); in commit_wrq_wr()
HDt4_main.c5059 __containerof(rpl, struct cpl_fw6_msg, data[0]); in fw_msg_not_handled()
/NextBSD/sys/sys/
HDcdefs.h498 #define __containerof(x, s, m) ({ \ macro
503 #define __containerof(x, s, m) \ macro
HDqueue.h348 __containerof((head)->stqh_last, \
507 __containerof((elm)->field.le_prev, \
HDrwlock.h125 #define rwlock2rw(c) (__containerof(c, struct rwlock, rw_lock))
HDsysctl.h229 __containerof((oid_ptr)->oid_parent, struct sysctl_oid, \
/NextBSD/sys/dev/cxgb/ulp/tom/
HDcxgb_tom.h146 return (__containerof(tod, struct tom_data, tod)); in t3_tomdata()
/NextBSD/sys/dev/cxgbe/tom/
HDt4_tom.h217 return (__containerof(tod, struct tom_data, tod)); in tod_td()
/NextBSD/sys/dev/drm2/
HDdrm_gem.c452 obj = __containerof(map_list, struct drm_gem_object, map_list); in drm_gem_object_from_offset()
/NextBSD/sys/kern/
HDkern_exit.c122 p = __containerof(p->p_orphan.le_prev, struct proc, in proc_realparent()
127 parent = __containerof(p->p_orphan.le_prev, struct proc, in proc_realparent()
HDkern_mutex.c88 #define mtxlock2mtx(c) (__containerof(c, struct mtx, mtx_lock))
/NextBSD/sys/dev/drm2/i915/
HDi915_drv.h947 #define to_intel_bo(x) __containerof(x, struct drm_i915_gem_object, base)
/NextBSD/sys/mips/mips/
HDpmap.c1646 (u_long)VM_PAGE_TO_PHYS(__containerof(pvh, struct vm_page, md)), in pmap_pvh_free()