| /xnu-11417.101.15/bsd/sys/ |
| H A D | queue.h | 165 #define QMD_TRACE_HEAD(head) do { \ argument 181 #define QMD_TRACE_HEAD(head) argument 251 #define SLIST_HEAD_INITIALIZER(head) \ argument 266 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 268 #define SLIST_FIRST(head) ((head)->slh_first) argument 270 #define SLIST_FOREACH(var, head, field) \ argument 275 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 280 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument 285 #define SLIST_INIT(head) do { \ argument 294 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument [all …]
|
| /xnu-11417.101.15/osfmk/kern/ |
| H A D | circle_queue.h | 46 queue_entry_t head; member 94 queue_entry_t head = circle_queue_first(cq); in circle_enqueue_tail() local 245 #define cqe_foreach(qe, head) \ argument 263 #define cqe_foreach_safe(qe, head) \ argument 283 #define cqe_foreach_element(elt, head, field) \ argument 306 #define cqe_foreach_element_safe(elt, head, field) \ argument 313 #define cqe_dequeue_head(head, type, field) ({ \ argument 322 #define cqe_dequeue_tail(head, type, field) ({ \ argument 331 #define cqe_queue_first(head, type, field) ({ \ argument 340 #define cqe_queue_next(elt, head, type, field) ({ \ argument [all …]
|
| H A D | queue.h | 473 #define qe_foreach(qe, head) \ argument 491 #define qe_foreach_safe(qe, head) \ argument 512 #define qe_foreach_element(elt, head, field) \ argument 535 #define qe_foreach_element_safe(elt, head, field) \ argument 545 #define qe_dequeue_head(head, type, field) ({ \ argument 554 #define qe_dequeue_tail(head, type, field) ({ \ argument 563 #define qe_queue_first(head, type, field) ({ \ argument 572 #define qe_queue_last(head, type, field) ({ \ argument 581 #define qe_queue_next(head, element, type, field) ({ \ argument 590 #define qe_queue_prev(head, element, type, field) ({ \ argument [all …]
|
| H A D | smr.h | 301 #define smrq_init(head) ({ \ argument 317 #define smrq_empty(head) \ argument 327 #define smrq_entered_first(head, type_t, field) \ argument 348 #define smrq_entered_foreach(it, head, field) \ argument 361 #define smrq_serialized_first(head, type_t, link) \ argument 382 #define smrq_serialized_foreach(it, head, field) \ argument 397 #define smrq_serialized_foreach_safe(it, head, field) \ argument 412 #define smrq_serialized_insert_head(head, elem) ({ \ argument 427 #define smrq_serialized_insert_tail(head, elem) ({ \ argument 442 #define smrq_serialized_insert_head_relaxed(head, elem) ({ \ argument [all …]
|
| H A D | mpsc_queue.c | 48 mpsc_queue_chain_t head = os_atomic_load(&q->mpqh_head.mpqc_next, relaxed); in mpsc_queue_restore_batch() local 68 mpsc_queue_chain_t head, tail; in mpsc_queue_dequeue_batch() local 267 mpsc_queue_chain_t head, cur, tail; in _mpsc_daemon_queue_drain() local
|
| H A D | workload_config.c | 152 struct workload_config_hashhead *head = in workload_config_free() local 467 struct workload_config_hashhead *head = &ctx->wlcc_hashtbl[i]; variable 470 LIST_FOREACH(entry, head, wce_link) { in LIST_FOREACH() argument
|
| H A D | mpsc_queue.h | 137 #define MPSC_QUEUE_INITIALIZER(head) { .mpqh_tail = &(head).mpqh_head } argument 393 #define mpsc_queue_batch_foreach_safe(item, head, tail) \ argument
|
| H A D | smr_hash.h | 1483 hw_lck_ptr_t *head; member 1647 const struct smrq_slist_head *head, in __smr_hash_entered_find() 1663 const struct smrq_slist_head *head, in __smr_hash_serialized_find() 1683 struct smrq_slist_head *head; in __smr_hash_get() local 1704 struct smrq_slist_head *head; in __smr_hash_serialized_get_or_insert() local 1840 __smr_shash_bucket_stop(const hw_lck_ptr_t *head) in __smr_shash_bucket_stop() 1859 hw_lck_ptr_t *head; in __smr_shash_entered_find() local
|
| /xnu-11417.101.15/iokit/DriverKit/ |
| H A D | queue_implementation.h | 473 #define qe_foreach(qe, head) \ argument 491 #define qe_foreach_safe(qe, head) \ argument 512 #define qe_foreach_element(elt, head, field) \ argument 535 #define qe_foreach_element_safe(elt, head, field) \ argument 545 #define qe_dequeue_head(head, type, field) ({ \ argument 554 #define qe_dequeue_tail(head, type, field) ({ \ argument 563 #define qe_queue_first(head, type, field) ({ \ argument 572 #define qe_queue_last(head, type, field) ({ \ argument 581 #define qe_queue_next(head, element, type, field) ({ \ argument 590 #define qe_queue_prev(head, element, type, field) ({ \ argument [all …]
|
| /xnu-11417.101.15/libkern/libkern/ |
| H A D | tree.h | 108 #define SPLAY_ROOT(head) (head)->sph_root argument 109 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 112 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 118 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 124 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument 130 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument 136 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument 335 #define SPLAY_FOREACH(x, name, head) \ argument 367 #define RB_ROOT(head) (head)->rbh_root argument 368 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument [all …]
|
| /xnu-11417.101.15/san/memory/ |
| H A D | ubsan_log.c | 104 ubsan_log_recorded(size_t head, size_t tail) in ubsan_log_recorded() 117 size_t head, tail; variable 155 size_t head, tail; variable
|
| H A D | kasan-fakestack.c | 143 struct fakestack_header_list *head = &kasan_get_thread_data(thread)->fakestack_head; in kasan_fakestack_gc() local 211 struct fakestack_header_list *head = &kasan_get_thread_data(current_thread())->fakestack_head; in kasan_fakestack_alloc() local 259 struct fakestack_header_list *head = &kasan_get_thread_data(thread)->fakestack_head; in kasan_fakestack_drop() local
|
| /xnu-11417.101.15/bsd/netinet6/ |
| H A D | in6_rmx.c | 158 in6_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in in6_addroute() 344 in6_deleteroute(void *v_arg, void *netmask_arg, struct radix_node_head *head) in in6_deleteroute() 411 in6_matroute(void *v_arg, struct radix_node_head *head) in in6_matroute() 422 in6_matroute_args(void *v_arg, struct radix_node_head *head, in in6_matroute_args() 459 in6_clsroute(struct radix_node *rn, struct radix_node_head *head) in in6_clsroute() 779 in6_inithead(void **head, int off) in in6_inithead()
|
| /xnu-11417.101.15/bsd/netinet/ |
| H A D | tcp_cache.c | 313 tcp_cache_unlock(struct tcp_cache_head *head) in tcp_cache_unlock() 333 struct tcp_cache_head *__single head; in tcp_getcache_with_lock() local 444 struct tcp_cache_head *__single head; in tcp_cache_set_cookie_common() local 474 struct tcp_cache_head *__single head; in tcp_cache_get_cookie_common() local 523 struct tcp_cache_head *__single head; in tcp_cache_get_cookie_len_common() local 561 struct tcp_cache_head *__single head; in tcp_cache_get_mptcp_version() local 589 struct tcp_cache_head *__single head; in tcp_cache_update_mptcp_version() local 665 tcp_heuristic_unlock(struct tcp_heuristics_head *head) in tcp_heuristic_unlock() 689 struct tcp_heuristics_head *__single head; in tcp_getheuristic_with_lock() local 772 struct tcp_heuristics_head *__single head; in tcp_heuristic_reset_counters() local [all …]
|
| H A D | in_rmx.c | 115 in_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in in_addroute() 265 in_deleteroute(void *v_arg, void *netmask_arg, struct radix_node_head *head) in in_deleteroute() 325 in_matroute(void *v_arg, struct radix_node_head *head) in in_matroute() 336 in_matroute_args(void *v_arg, struct radix_node_head *head, in in_matroute_args() 373 in_clsroute(struct radix_node *rn, struct radix_node_head *head) in in_clsroute() 687 in_inithead(void **head, int off) in in_inithead()
|
| /xnu-11417.101.15/bsd/net/ |
| H A D | radix.c | 168 rn_search(void *v_arg, struct radix_node *head) in rn_search() 185 rn_search_m(void *v_arg, struct radix_node *head, void *m_arg) in rn_search_m() 243 rn_lookup(void *v_arg, void *m_arg, struct radix_node_head *head) in rn_lookup() 249 rn_lookup_args(void *v_arg, void *m_arg, struct radix_node_head *head, in rn_lookup_args() 308 rn_match(void *v_arg, struct radix_node_head *head) in rn_match() 314 rn_match_args(void *v_arg, struct radix_node_head *head, in rn_match_args() 479 rn_insert(void *v_arg, struct radix_node_head *head, int *dupentry, in rn_insert() 674 rn_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in rn_addroute() 849 rn_delete(void *v_arg, void *netmask_arg, struct radix_node_head *head) in rn_delete() 1259 rn_inithead(void **head, int off) in rn_inithead()
|
| H A D | mblist.h | 45 mbuf_t head; member
|
| /xnu-11417.101.15/iokit/Kernel/ |
| H A D | IOSharedDataQueue.cpp | 186 volatile IODataQueueEntry * head = NULL; in peek() local 221 UInt32 head; in enqueue() local 333 volatile IODataQueueEntry * head = NULL; in dequeue() local
|
| /xnu-11417.101.15/bsd/skywalk/channel/ |
| H A D | channel_ring.c | 469 const slot_idx_t head, uint32_t *byte_count, uint64_t *err_reason, in kr_txprologue() 517 const slot_idx_t head, uint32_t *byte_count, uint64_t *err_reason, in kr_txprologue_upp() 663 slot_idx_t head; in kr_txsync_prologue() local 735 slot_idx_t head; in kr_free_sync_prologue() local 773 const slot_idx_t head, uint32_t *byte_count, uint64_t *err_reason, in kr_rxprologue() 832 struct __kern_channel_ring *kring, const slot_idx_t head, in kr_rxprologue_nodetach() 889 const slot_idx_t head, uint32_t *byte_count, uint64_t *err_reason, in kr_rxprologue_upp() 987 slot_idx_t head; in kr_rxsync_prologue() local 1065 slot_idx_t head; in kr_alloc_sync_prologue() local 1108 const slot_idx_t head, struct proc *p) in kr_txfinalize() [all …]
|
| /xnu-11417.101.15/iokit/System/ |
| H A D | IODataQueueDispatchSourceShared.h | 9 volatile uint32_t head; member 315 IODataQueueEntry * head = NULL; in Peek() local 402 IODataQueueEntry * head = NULL; in DequeueWithCoalesce() local 498 uint32_t head; in EnqueueWithCoalesce() local 630 uint32_t head; in CanEnqueueData() local
|
| /xnu-11417.101.15/libsyscall/mach/ |
| H A D | vm_reclaim.c | 197 mach_vm_reclaim_id_t tail = 0, head = 0, original_tail = 0, busy = 0; in mach_vm_reclaim_try_enter() local 292 uint64_t head = 0, busy = 0, original_tail = 0; in mach_vm_reclaim_try_cancel() local 384 mach_vm_reclaim_id_t head = os_atomic_load_wide(&indices->head, relaxed); in mach_vm_reclaim_query_state() local
|
| /xnu-11417.101.15/bsd/net/classq/ |
| H A D | classq.c | 375 struct mq_head *head = &qmbufq(q); in _getq_tail_mbuf() local 437 struct mq_head *head = &qmbufq(q); in _getq_random_mbuf() local 520 struct mq_head *head = &qmbufq(q); in _removeq_mbuf() local
|
| H A D | classq_subr.c | 343 ifclassq_enqueue(struct ifclassq *ifq, classq_pkt_t *head, classq_pkt_t *tail, in ifclassq_enqueue() 351 u_int32_t byte_limit, classq_pkt_t *head, classq_pkt_t *tail, in ifclassq_dequeue() 360 u_int32_t pkt_limit, u_int32_t byte_limit, classq_pkt_t *head, in ifclassq_dequeue_sc() 369 u_int32_t pkt_limit, u_int32_t byte_limit, classq_pkt_t *head, in ifclassq_dequeue_common_default() 482 u_int32_t pkt_limit, u_int32_t byte_limit, classq_pkt_t *head, in ifclassq_dequeue_common()
|
| /xnu-11417.101.15/bsd/kern/ |
| H A D | kern_lockf.c | 212 struct lockf **head = &vp->v_lockf; in lf_advlock() local 525 struct lockf **head = lock->lf_head; in lf_setlock() local 990 struct lockf **head = unlock->lf_head; in lf_clearlock() local 1089 struct lockf **head = transfer->lf_head; in lf_transferlock() local
|
| /xnu-11417.101.15/osfmk/corpses/ |
| H A D | task_corpse.h | 46 #define CRASHINFO_ITEM_FOREACH(head) KCDATA_ITEM_FOREACH(head) argument
|