Home
last modified time | relevance | path

Searched refs:tw_thread (Results 1 – 4 of 4) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dtask_policy.c192 thread_t tw_thread; /* thread that is watching the watch_task */ member
3131 twp->tw_thread = target_thread; /* holds the thread reference */ in proc_lf_pidbind()
3219 threadlist[i].thread = twp->tw_thread; in apply_appstate_watchers()
3222 twp->tw_importance = twp->tw_thread->importance; in apply_appstate_watchers()
3261 thread_deallocate(twp->tw_thread); in thead_remove_taskwatch()
3285 twp->tw_thread->taskwatch = NULL; /* removed linkage, clear thread holding ref */ in task_removewatchers()
3294 set_thread_appbg(twp->tw_thread, 0, twp->tw_importance); in task_removewatchers()
3295 thread_deallocate(twp->tw_thread); in task_removewatchers()
H A Dtask.h673 thread_t tw_thread; /* (Space lock) & tw_refcount == 0 */ member
H A Dtask.c4861 watchports->tw_thread = thread; in task_watchports_alloc_init()
4882 thread_deallocate(watchports->tw_thread); in task_watchports_deallocate()
/xnu-11215/osfmk/ipc/
H A Dipc_port.c2475 return ipc_port_watchport_elem(port)->twe_task->watchports->tw_thread; in ipc_port_get_watchport_inheritor()