Home
last modified time | relevance | path

Searched refs:list_head (Results 1 – 8 of 8) sorted by relevance

/xnu-11215/bsd/net/
H A Dinit.c54 static struct init_list_entry *list_head = NULL; variable
66 if (list_head == LIST_RAN) { in net_init_add()
76 entry->next = list_head; in net_init_add()
83 } while (!os_atomic_cmpxchg(&list_head, entry->next, entry, acq_rel)); in net_init_add()
100 backward_head = list_head; in net_init_run()
101 } while (!os_atomic_cmpxchg(&list_head, backward_head, LIST_RAN, acq_rel)); in net_init_run()
H A Dpf_ioctl.c239 SLIST_HEAD(list_head, pfioc_kernel_token);
240 static struct list_head token_list_head;
/xnu-11215/libkern/libkern/c++/
H A DOSKext.h127 struct list_head { struct
128 struct list_head *prev; argument
129 struct list_head *next; argument
138 struct list_head list_head; member
375 struct list_head pendingPgoHead;
/xnu-11215/bsd/kern/
H A Dkern_memorystatus_freeze.c821 global_freezable_status_t *list_head; in memorystatus_freezer_get_status() local
844 list_head = (global_freezable_status_t *)kalloc_data(list_size, Z_WAITOK | Z_ZERO); in memorystatus_freezer_get_status()
845 if (list_head == NULL) { in memorystatus_freezer_get_status()
856 …list_head->freeze_pages_threshold_crossed = (memorystatus_available_pages < memorystatus_freeze_th… in memorystatus_freezer_get_status()
858 …list_head->freeze_eligible_procs_available = memorystatus_frozen_count < memorystatus_global_freez… in memorystatus_freezer_get_status()
860 …list_head->freeze_eligible_procs_available = ((memorystatus_suspended_count - memorystatus_frozen_… in memorystatus_freezer_get_status()
862 list_head->freeze_scheduled_in_future = (curr_time < memorystatus_freezer_thread_next_run_ts); in memorystatus_freezer_get_status()
864 …list_entry_start = (proc_freezable_status_t*) ((uintptr_t)list_head + sizeof(global_freezable_stat… in memorystatus_freezer_get_status()
1096 error = copyout(list_head, buffer, buffer_size); in memorystatus_freezer_get_status()
1104 kfree_data(list_head, list_size); in memorystatus_freezer_get_status()
/xnu-11215/osfmk/vm/
H A Dvm_compressor.c1920 queue_head_t *list_head; in c_seg_switch_state() local
1925 list_head = donate_swappedin_list_head; in c_seg_switch_state()
1930 list_head = &c_early_swappedin_list_head; in c_seg_switch_state()
1933 list_head = &c_regular_swappedin_list_head; in c_seg_switch_state()
1948 queue_head_t *list_head; in c_seg_switch_state() local
1960 list_head = &c_early_swapout_list_head; in c_seg_switch_state()
1967 list_head = donate_swapout_list_head; in c_seg_switch_state()
1971 list_head = &c_regular_swapout_list_head; in c_seg_switch_state()
3059 queue_head_t *list_head = NULL; in vm_compressor_major_compact_cseg() local
3066 list_head = &c_age_list_head; in vm_compressor_major_compact_cseg()
[all …]
/xnu-11215/osfmk/kern/
H A Ddebug.c956 struct kdp_callout * list_head; in kdp_register_callout() local
966 list_head = kdp_callout_list; in kdp_register_callout()
967 kcp->callout_next = list_head; in kdp_register_callout()
968 } while (!OSCompareAndSwapPtr(list_head, kcp, &kdp_callout_list)); in kdp_register_callout()
/xnu-11215/libkern/c++/
H A DOSKext.cpp8720 struct list_head *p;
8721 struct list_head *prev;
8722 struct list_head *next;
11307 struct list_head *prev = &kext->pendingPgoHead;
11308 struct list_head *next = kext->pendingPgoHead.next;
11310 s.list_head.prev = prev;
11311 s.list_head.next = next;
11313 prev->next = &s.list_head;
11314 next->prev = &s.list_head;
11320 prev = s.list_head.prev;
[all …]
/xnu-11215/tools/lldbmacros/
H A Dmemory.py4614 list_head = vnodeval.v_cleanblkhd;
4616 list_head = vnodeval.v_dirtyblkhd
4621 for buf in IterateListEntry(list_head, 'b_hash'):