Searched refs:__containerof (Results 1 – 17 of 17) sorted by relevance
| /NextBSD/sys/dev/cxgbe/cxgbei/ |
| HD | cxgbei.h | 76 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/ |
| HD | devfs_int.h | 73 #define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c)
|
| /NextBSD/sys/dev/cxgbe/ |
| HD | t4_l2t.h | 99 struct l2t_data *d = __containerof(e, struct l2t_data, l2tab[e->idx]); in t4_l2t_release()
|
| HD | adapter.h | 547 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()
|
| HD | t4_sge.c | 2235 struct wrqe *wr = __containerof(w, struct wrqe, wr); in commit_wrq_wr()
|
| HD | t4_main.c | 5059 __containerof(rpl, struct cpl_fw6_msg, data[0]); in fw_msg_not_handled()
|
| /NextBSD/sys/sys/ |
| HD | cdefs.h | 498 #define __containerof(x, s, m) ({ \ macro 503 #define __containerof(x, s, m) \ macro
|
| HD | queue.h | 348 __containerof((head)->stqh_last, \ 507 __containerof((elm)->field.le_prev, \
|
| HD | rwlock.h | 125 #define rwlock2rw(c) (__containerof(c, struct rwlock, rw_lock))
|
| HD | sysctl.h | 229 __containerof((oid_ptr)->oid_parent, struct sysctl_oid, \
|
| /NextBSD/sys/dev/cxgb/ulp/tom/ |
| HD | cxgb_tom.h | 146 return (__containerof(tod, struct tom_data, tod)); in t3_tomdata()
|
| /NextBSD/sys/dev/cxgbe/tom/ |
| HD | t4_tom.h | 217 return (__containerof(tod, struct tom_data, tod)); in tod_td()
|
| /NextBSD/sys/dev/drm2/ |
| HD | drm_gem.c | 452 obj = __containerof(map_list, struct drm_gem_object, map_list); in drm_gem_object_from_offset()
|
| /NextBSD/sys/kern/ |
| HD | kern_exit.c | 122 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()
|
| HD | kern_mutex.c | 88 #define mtxlock2mtx(c) (__containerof(c, struct mtx, mtx_lock))
|
| /NextBSD/sys/dev/drm2/i915/ |
| HD | i915_drv.h | 947 #define to_intel_bo(x) __containerof(x, struct drm_i915_gem_object, base)
|
| /NextBSD/sys/mips/mips/ |
| HD | pmap.c | 1646 (u_long)VM_PAGE_TO_PHYS(__containerof(pvh, struct vm_page, md)), in pmap_pvh_free()
|