Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 94) sorted by relevance

1234

/xnu-8792.61.2/bsd/sys/
H A Dqueue.h164 #define QMD_TRACE_HEAD(head) do { \ argument
180 #define QMD_TRACE_HEAD(head) argument
250 #define SLIST_HEAD_INITIALIZER(head) \ argument
265 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
267 #define SLIST_FIRST(head) ((head)->slh_first) argument
269 #define SLIST_FOREACH(var, head, field) \ argument
274 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
279 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument
284 #define SLIST_INIT(head) do { \ argument
293 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
[all …]
/xnu-8792.61.2/osfmk/kern/
H A Dcircle_queue.h46 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 Dqueue.h460 #define qe_foreach(qe, head) \ argument
478 #define qe_foreach_safe(qe, head) \ argument
499 #define qe_foreach_element(elt, head, field) \ argument
522 #define qe_foreach_element_safe(elt, head, field) \ argument
532 #define qe_dequeue_head(head, type, field) ({ \ argument
541 #define qe_dequeue_tail(head, type, field) ({ \ argument
550 #define qe_queue_first(head, type, field) ({ \ argument
559 #define qe_queue_last(head, type, field) ({ \ argument
568 #define qe_queue_next(head, element, type, field) ({ \ argument
577 #define qe_queue_prev(head, element, type, field) ({ \ argument
[all …]
H A Dmpsc_queue.c62 mpsc_queue_chain_t head = os_atomic_load(&q->mpqh_head.mpqc_next, relaxed); in mpsc_queue_restore_batch() local
82 mpsc_queue_chain_t head, tail; in mpsc_queue_dequeue_batch() local
279 mpsc_queue_chain_t head, cur, tail; in _mpsc_daemon_queue_drain() local
H A Dworkload_config.c152 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 Dmpsc_queue.h137 #define MPSC_QUEUE_INITIALIZER(head) { .mpqh_tail = &(head).mpqh_head } argument
393 #define mpsc_queue_batch_foreach_safe(item, head, tail) \ argument
/xnu-8792.61.2/iokit/DriverKit/
H A Dqueue_implementation.h460 #define qe_foreach(qe, head) \ argument
478 #define qe_foreach_safe(qe, head) \ argument
499 #define qe_foreach_element(elt, head, field) \ argument
522 #define qe_foreach_element_safe(elt, head, field) \ argument
532 #define qe_dequeue_head(head, type, field) ({ \ argument
541 #define qe_dequeue_tail(head, type, field) ({ \ argument
550 #define qe_queue_first(head, type, field) ({ \ argument
559 #define qe_queue_last(head, type, field) ({ \ argument
568 #define qe_queue_next(head, element, type, field) ({ \ argument
577 #define qe_queue_prev(head, element, type, field) ({ \ argument
[all …]
/xnu-8792.61.2/libkern/libkern/
H A Dtree.h106 #define SPLAY_ROOT(head) (head)->sph_root argument
107 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument
110 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
116 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
122 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
128 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument
134 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument
333 #define SPLAY_FOREACH(x, name, head) \ argument
365 #define RB_ROOT(head) (head)->rbh_root argument
366 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument
[all …]
/xnu-8792.61.2/san/memory/
H A Dubsan_log.c104 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 Dkasan-fakestack.c137 struct fakestack_header_list *head = &kasan_get_thread_data(thread)->fakestack_head; in kasan_fakestack_gc() local
210 struct fakestack_header_list *head = &kasan_get_thread_data(current_thread())->fakestack_head; in kasan_fakestack_alloc() local
260 struct fakestack_header_list *head = &kasan_get_thread_data(thread)->fakestack_head; in kasan_fakestack_drop() local
/xnu-8792.61.2/bsd/netinet6/
H A Din6_rmx.c156 in6_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in in6_addroute()
343 in6_deleteroute(void *v_arg, void *netmask_arg, struct radix_node_head *head) in in6_deleteroute()
410 in6_matroute(void *v_arg, struct radix_node_head *head) in in6_matroute()
421 in6_matroute_args(void *v_arg, struct radix_node_head *head, in in6_matroute_args()
456 in6_clsroute(struct radix_node *rn, struct radix_node_head *head) in in6_clsroute()
776 in6_inithead(void **head, int off) in in6_inithead()
H A Din6_pcb.c1083 struct inpcbhead *head = pcbinfo->ipi_listhead; in in6_pcbnotify() local
1199 struct inpcbhead *head; in in6_pcblookup_local() local
1331 struct inpcbhead *head; in in6_pcblookup_hash_exists() local
1448 struct inpcbhead *head; in in6_pcblookup_hash() local
/xnu-8792.61.2/bsd/netinet/
H A Dtcp_cache.c313 tcp_cache_unlock(struct tcp_cache_head *head) in tcp_cache_unlock()
333 struct tcp_cache_head *head; in tcp_getcache_with_lock() local
444 struct tcp_cache_head *head; in tcp_cache_set_cookie_common() local
472 struct tcp_cache_head *head; in tcp_cache_get_cookie_common() local
520 struct tcp_cache_head *head; in tcp_cache_get_cookie_len_common() local
558 struct tcp_cache_head *head; in tcp_cache_get_mptcp_version() local
586 struct tcp_cache_head *head; in tcp_cache_update_mptcp_version() local
662 tcp_heuristic_unlock(struct tcp_heuristics_head *head) in tcp_heuristic_unlock()
686 struct tcp_heuristics_head *head; in tcp_getheuristic_with_lock() local
767 struct tcp_heuristics_head *head; in tcp_heuristic_reset_counters() local
[all …]
H A Din_rmx.c113 in_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in in_addroute()
264 in_deleteroute(void *v_arg, void *netmask_arg, struct radix_node_head *head) in in_deleteroute()
324 in_matroute(void *v_arg, struct radix_node_head *head) in in_matroute()
335 in_matroute_args(void *v_arg, struct radix_node_head *head, in in_matroute_args()
371 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-8792.61.2/bsd/net/
H A Dradix.c145 rn_search(void *v_arg, struct radix_node *head) in rn_search()
161 rn_search_m(void *v_arg, struct radix_node *head, void *m_arg) in rn_search_m()
212 rn_lookup(void *v_arg, void *m_arg, struct radix_node_head *head) in rn_lookup()
218 rn_lookup_args(void *v_arg, void *m_arg, struct radix_node_head *head, in rn_lookup_args()
271 rn_match(void *v_arg, struct radix_node_head *head) in rn_match()
277 rn_match_args(void *v_arg, struct radix_node_head *head, in rn_match_args()
437 rn_insert(void *v_arg, struct radix_node_head *head, int *dupentry, in rn_insert()
631 rn_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in rn_addroute()
801 rn_delete(void *v_arg, void *netmask_arg, struct radix_node_head *head) in rn_delete()
1211 rn_inithead(void **head, int off) in rn_inithead()
/xnu-8792.61.2/iokit/Kernel/
H A DIOSharedDataQueue.cpp184 volatile IODataQueueEntry * head = NULL; in peek() local
219 UInt32 head; in enqueue() local
331 volatile IODataQueueEntry * head = NULL; in dequeue() local
/xnu-8792.61.2/bsd/skywalk/channel/
H A Dchannel_ring.c469 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
1060 slot_idx_t head; in kr_alloc_sync_prologue() local
1103 const slot_idx_t head, struct proc *p) in kr_txfinalize()
[all …]
/xnu-8792.61.2/iokit/System/
H A DIODataQueueDispatchSourceShared.h9 volatile uint32_t head; member
310 IODataQueueEntry * head = NULL; in Peek() local
397 IODataQueueEntry * head = NULL; in DequeueWithCoalesce() local
493 uint32_t head; in EnqueueWithCoalesce() local
625 uint32_t head; in CanEnqueueData() local
/xnu-8792.61.2/libsyscall/mach/
H A Dvm_reclaim.c122 uint64_t idx = 0, head = 0; in mach_vm_reclaim_mark_free() local
162 uint64_t head = 0, busy = 0, original_tail = 0; in mach_vm_reclaim_mark_used() local
/xnu-8792.61.2/bsd/net/classq/
H A Dclassq.c375 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 Dclassq_subr.c339 ifclassq_enqueue(struct ifclassq *ifq, classq_pkt_t *head, classq_pkt_t *tail, in ifclassq_enqueue()
347 u_int32_t byte_limit, classq_pkt_t *head, classq_pkt_t *tail, in ifclassq_dequeue()
356 u_int32_t pkt_limit, u_int32_t byte_limit, classq_pkt_t *head, in ifclassq_dequeue_sc()
365 u_int32_t pkt_limit, u_int32_t byte_limit, classq_pkt_t *head, in ifclassq_dequeue_common_default()
478 u_int32_t pkt_limit, u_int32_t byte_limit, classq_pkt_t *head, in ifclassq_dequeue_common()
/xnu-8792.61.2/bsd/kern/
H A Dkern_lockf.c212 struct lockf **head = &vp->v_lockf; in lf_advlock() local
528 struct lockf **head = lock->lf_head; in lf_setlock() local
993 struct lockf **head = unlock->lf_head; in lf_clearlock() local
1092 struct lockf **head = transfer->lf_head; in lf_transferlock() local
/xnu-8792.61.2/osfmk/corpses/
H A Dtask_corpse.h46 #define CRASHINFO_ITEM_FOREACH(head) KCDATA_ITEM_FOREACH(head) argument
/xnu-8792.61.2/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter_compat.c208 fix_dequeue_mbuf_return_args(struct mbuf *m_chain, classq_pkt_t *head, in fix_dequeue_mbuf_return_args()
250 classq_pkt_t *head, classq_pkt_t *tail, uint32_t *cnt, uint32_t *len, in nx_netif_compat_tx_dequeue()
H A Dnx_netif_filter_native.c210 fix_dequeue_pkt_return_args(struct __kern_packet *p_chain, classq_pkt_t *head, in fix_dequeue_pkt_return_args()
252 classq_pkt_t *head, classq_pkt_t *tail, uint32_t *cnt, uint32_t *len, in nx_netif_native_tx_dequeue()

1234