| /xnu-12377.1.9/osfmk/ipc/ |
| H A D | ipc_pset.h | 86 #define ips_object_to_pset(io) __container_of(io, struct ipc_pset, ips_object) 92 return __container_of(wq.wqs_set, struct ipc_pset, ips_wqset); in ips_from_waitq()
|
| H A D | ipc_object.h | 308 (&__container_of(io, struct ipc_object_waitq, iowq_object)->iowq_waitq) 310 (&__container_of(waitq, struct ipc_object_waitq, iowq_waitq)->iowq_object)
|
| H A D | ipc_port.h | 285 #define ip_object_to_port(io) __container_of(io, struct ipc_port, ip_object) 304 #define ip_from_waitq(wq) __container_of(wq, struct ipc_port, ip_waitq) 305 #define ip_from_mq(mq) __container_of(mq, struct ipc_port, ip_messages)
|
| H A D | ipc_space.c | 124 ipc_entry_t entry = __container_of(node, struct ipc_entry, ie_smr_node); in ipc_space_free_table()
|
| /xnu-12377.1.9/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | priority_queue.cpp | 7 #define __container_of(ptr, type, field) __extension__({ \ macro
|
| /xnu-12377.1.9/osfmk/i386/ |
| H A D | locks.h | 151 #define LCK_EVENT_TO_MUTEX(e) __container_of((uint32_t *)(event), lck_mtx_t, lck_mtx_owner)
|
| /xnu-12377.1.9/bsd/netinet/ |
| H A D | in_var.h | 105 return __container_of(ifa, const struct in_ifaddr, ia_ifa); in __ifatoia_const() 111 return __container_of(ifa, struct in_ifaddr, ia_ifa); in __ifatoia()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule_eth.c | 121 ntre = __container_of(ntr, struct nxctl_traffic_rule_eth, ntre_common); in nxctl_eth_traffic_rule_find_qset_id() 578 tdi = __container_of(td, struct ifnet_traffic_descriptor_eth, eth_common); in eth_traffic_rule_create() 579 ras = __container_of(ra, struct ifnet_traffic_rule_action_steer, ras_common); in eth_traffic_rule_create()
|
| H A D | nexus_traffic_rule_inet.c | 148 ntri = __container_of(ntr, struct nxctl_traffic_rule_inet, ntri_common); in nxctl_inet_traffic_rule_find_qset_id() 841 tdi = __container_of(td, struct ifnet_traffic_descriptor_inet, inet_common); in inet_traffic_rule_create() 842 ras = __container_of(ra, struct ifnet_traffic_rule_action_steer, ras_common); in inet_traffic_rule_create()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_manager.c | 87 struct flow_entry *__single fe = __container_of(node, struct flow_entry, in __fe_cuckoo_cmp() 130 struct flow_entry *__single fe = __container_of(node, struct flow_entry, in __fe_cuckoo_retain() 140 __container_of(node, struct flow_entry, fe_cnode); in __fe_cuckoo_release() 1166 fe = __container_of(node, struct flow_entry, fe_cnode); in flow_mgr_find_fe_by_key() 1198 fe = __container_of(node, struct flow_entry, fe_cnode); in flow_mgr_find_conflicting_fe() 1214 fe = __container_of(node, struct flow_entry, fe_cnode);
|
| /xnu-12377.1.9/bsd/skywalk/packet/ |
| H A D | packet_queue.h | 152 __container_of((head)->kq_last, struct __kern_packet, pkt_nextpkt))
|
| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_map_store.c | 115 vm_map_t, __container_of(mapHdr, struct _vm_map, hdr), in _vm_map_store_entry_link() 204 vm_map_t, __container_of(mapHdr, struct _vm_map, hdr), in _vm_map_store_entry_unlink()
|
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | mpsc_queue.h | 184 #define mpsc_queue_element(ptr, type, field) __container_of(ptr, type, field)
|
| H A D | smr.h | 1159 struct smrq_link *elem = __container_of(link, struct smrq_link, next); in __smr_linkage_invalid() 1168 struct smrq_slink *elem = __container_of(link, struct smrq_slink, next); in __smr_stail_invalid() 1177 struct smrq_link *elem = __container_of(link, struct smrq_link, next); in __smr_tail_invalid()
|
| H A D | turnstile.h | 371 #define waitq_to_turnstile(waitq) __container_of(waitq, struct turnstile, ts_waitq)
|
| H A D | mk_timer.c | 163 msg = __container_of(ikm_header(kmsg), in mk_timer_expire()
|
| H A D | circle_queue.h | 230 #define cqe_element(qe, type, field) __container_of(qe, type, field)
|
| H A D | priority_queue.h | 320 #define pqe_element_fast(qe, type, field) __container_of(qe, type, field)
|
| H A D | debug.c | 771 adef = __container_of(hdr, struct mach_assert_default, hdr); in panic_assert_format() 777 a3x = __container_of(hdr, struct mach_assert_3x, hdr); in panic_assert_format() 785 a3x = __container_of(hdr, struct mach_assert_3x, hdr); in panic_assert_format() 793 a3x = __container_of(hdr, struct mach_assert_3x, hdr); in panic_assert_format()
|
| /xnu-12377.1.9/libkern/c++/ |
| H A D | OSSymbol.cpp | 85 OSSymbol *sym = __container_of(link, OSSymbol, hashlink); in OSSymbol_obj_hash() 93 OSSymbol *sym = __container_of(link, OSSymbol, hashlink); in OSSymbol_obj_equ()
|
| /xnu-12377.1.9/bsd/sys/ |
| H A D | cdefs.h | 1255 #define __container_of(ptr, type_t, field) __extension__({ \ macro 1264 __ptr_or_null ? __container_of(__ptr_or_null, type_t, field) : NULL; \
|
| /xnu-12377.1.9/tests/ |
| H A D | priority_queue.cpp | 15 #define __container_of(ptr, type, field) __extension__({ \ macro
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | route_private.h | 204 return __container_of(rn, struct rtentry, rt_nodes[0]); in rn_rtentry()
|
| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | in6_var.h | 194 return __container_of(ifa, const struct in6_ifaddr, ia_ifa); in __ifatoia6_const() 200 return __container_of(ifa, struct in6_ifaddr, ia_ifa); in __ifatoia6()
|
| /xnu-12377.1.9/bsd/netkey/ |
| H A D | keysock.c | 291 kp = __container_of(rp, struct keycb, kp_raw); in key_sendup_mbuf()
|