Searched refs:threadlist (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dpthread_internal.h61 struct threadlist { struct
62 TAILQ_ENTRY(threadlist) th_entry;
99 TAILQ_HEAD(, threadlist) wq_thrunlist;
100 TAILQ_HEAD(, threadlist) wq_thidlelist;
/darwin-on-arm/xnu/osfmk/kern/
H A Dtask_policy.c2026 thread_watchlist_t * threadlist; local
2034 threadlist = (thread_watchlist_t *)kalloc(numwatchers*sizeof(thread_watchlist_t));
2035 if (threadlist == NULL)
2038 bzero(threadlist, numwatchers*sizeof(thread_watchlist_t));
2045 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2051 kfree(threadlist, numwatchers*sizeof(thread_watchlist_t));
2059 threadlist[i].thread = twp->tw_thread;
2060 thread_reference(threadlist[i].thread);
2063 threadlist[i].importance = INT_MIN;
2065 threadlist[
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dpthread_synch.c132 static void wq_runreq(proc_t p, boolean_t overcommit, uint32_t priority, thread_t th, struct threadlist *tl,
135 static int setup_wqthread(proc_t p, thread_t th, boolean_t overcommit, uint32_t priority, int reuse_thread, struct threadlist *tl);
141 static void workqueue_removethread(struct threadlist *tl, int fromexit);
841 struct threadlist *tl;
883 struct threadlist *tl;
947 workqueue_removethread(struct threadlist *tl, int fromexit)
966 * Clear the threadlist pointer in uthread so
1005 kfree(tl, sizeof(struct threadlist));
1017 struct threadlist *tl;
1057 tl = kalloc(sizeof(struct threadlist));
[all...]

Completed in 28 milliseconds