/darwin-on-arm/xnu/osfmk/kern/ |
H A D | sched_grrr.c | 322 return (THREAD_NULL); 368 while ((thread = sched_grrr_choose_thread(processor, IDLEPRI)) != THREAD_NULL) { 376 while ((thread = (thread_t)dequeue_head(&bqueue)) != THREAD_NULL) { 382 while ((thread = (thread_t)dequeue_head(&tqueue)) != THREAD_NULL) { 589 return THREAD_NULL; 593 if (thread == THREAD_NULL) { 616 return THREAD_NULL; 686 runq->groups[index].current_client = THREAD_NULL; 732 if (group->current_client == THREAD_NULL || 760 if (thread != THREAD_NULL) { [all...] |
H A D | thread.c | 432 if (thread == THREAD_NULL) 485 while ((thread = (thread_t)dequeue_head(&thread_terminate_queue)) != THREAD_NULL) { 571 while ((thread = (thread_t)dequeue_head(&thread_stack_queue)) != THREAD_NULL) { 651 static thread_t first_thread = THREAD_NULL; 656 if (first_thread == THREAD_NULL) 659 if (new_thread == THREAD_NULL) 1087 return (THREAD_NULL); 1106 if (thread == THREAD_NULL) 1291 quantum_time = SCHED(initial_quantum_size)(THREAD_NULL); 1699 return (thread != THREAD_NULL [all...] |
H A D | thread_act.c | 153 if (thread == THREAD_NULL) 222 if (thread == THREAD_NULL || thread->task == kernel_task) 252 if (thread == THREAD_NULL || thread->task == kernel_task) 290 if (thread == THREAD_NULL) 337 if (thread == THREAD_NULL) 360 if (thread == THREAD_NULL) 401 if (thread == THREAD_NULL) 426 if (thread == THREAD_NULL) 476 if (thread == THREAD_NULL) 556 if (thread == THREAD_NULL) [all...] |
H A D | extmod_statistics.c | 93 if ((ctask == kernel_task) || (target == THREAD_NULL))
|
H A D | sync_sema.c | 316 if (thread != THREAD_NULL) { 420 if (thread == THREAD_NULL) 423 thread = THREAD_NULL; 432 if (thread != THREAD_NULL) { 461 THREAD_NULL, 491 THREAD_NULL, 516 THREAD_NULL, 539 THREAD_NULL, 660 THREAD_NULL,
|
H A D | syscall_subr.c | 261 thread = THREAD_NULL; 265 thread = THREAD_NULL; 268 thread = THREAD_NULL; 273 if (thread != THREAD_NULL) {
|
H A D | sync_lock.c | 81 (ul)->holder = THREAD_NULL; \ 190 ulock->holder = THREAD_NULL; 321 if (ulock->holder != THREAD_NULL) { 420 if (ulock->holder != THREAD_NULL) { 557 if (wqthread != THREAD_NULL) { 641 if (thread != THREAD_NULL) { 765 assert(ulock->holder != THREAD_NULL);
|
H A D | processor.c | 154 processor->active_thread = THREAD_NULL; 155 processor->next_thread = THREAD_NULL; 156 processor->idle_thread = THREAD_NULL; 435 if (processor->idle_thread == THREAD_NULL) { 453 if ( processor->active_thread == THREAD_NULL && 454 processor->next_thread == THREAD_NULL ) {
|
H A D | mk_sp.c | 75 if ( thread == THREAD_NULL || 179 if ( thread == THREAD_NULL || 292 if (thread == THREAD_NULL)
|
H A D | thread_policy.c | 59 if (thread == THREAD_NULL) 329 assert(thread != THREAD_NULL); 392 if (thread == THREAD_NULL)
|
H A D | startup.c | 441 if (processor->next_thread == THREAD_NULL) { 448 processor->next_thread = THREAD_NULL;
|
H A D | sched_fixedpriority.c | 385 if (thread != THREAD_NULL) { 397 return (THREAD_NULL); 447 while ((thread = sched_fixedpriority_choose_thread(processor, IDLEPRI)) != THREAD_NULL) { 455 while ((thread = (thread_t)dequeue_head(&bqueue)) != THREAD_NULL) { 461 while ((thread = (thread_t)dequeue_head(&tqueue)) != THREAD_NULL) {
|
H A D | sched_prim.c | 1633 thread_t new_thread = THREAD_NULL; 1696 (new_thread = SCHED(choose_thread)(processor, thread->sched_mode == TH_MODE_FAIRSHARE ? MINPRI : thread->sched_pri)) == THREAD_NULL) { 1714 if (new_thread != THREAD_NULL || 1716 (new_thread = SCHED(choose_thread)(processor, MINPRI)) != THREAD_NULL)) { 1751 if ((new_thread = SCHED(fairshare_dequeue)()) != THREAD_NULL) { 1784 if (new_thread != THREAD_NULL) { 1844 } while (new_thread == THREAD_NULL); 1963 if (thread != THREAD_NULL) { 1981 * Associated pset must be locked. Returns THREAD_NULL 2023 return (THREAD_NULL); [all...] |
H A D | ipc_tt.c | 731 if (thread == THREAD_NULL) 780 if (thread == THREAD_NULL) 1282 thread_t thread = THREAD_NULL; 1290 assert(thread != THREAD_NULL); 1313 thread_t thread = THREAD_NULL; 1320 return (THREAD_NULL); 1484 if (thread == THREAD_NULL) 1651 if (thread == THREAD_NULL) 1856 if (thread == THREAD_NULL)
|
H A D | task_policy.c | 415 thread_t thread = THREAD_NULL; 523 thread_t thread = THREAD_NULL; 586 thread_t thread = THREAD_NULL; 633 thread_t thread = THREAD_NULL; 714 if (thread != THREAD_NULL) { 731 thread_t thread = THREAD_NULL; 897 if (thread != THREAD_NULL) { 928 thread_t thread = THREAD_NULL; 1001 thread_t th = THREAD_NULL;
|
H A D | bsd_kern.c | 115 thread = THREAD_NULL; 118 return (THREAD_NULL); 130 thread_t inc, thread = THREAD_NULL;
|
H A D | sched_proto.c | 350 return (THREAD_NULL); 358 return (THREAD_NULL);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_upcall.c | 182 nfsrv_uc_queue_tbl[i].ucq_thd = THREAD_NULL; 258 if (nfsrv_uc_queue_tbl[i].ucq_thd != THREAD_NULL) 260 nfsrv_uc_queue_tbl[i].ucq_thd = THREAD_NULL;
|
/darwin-on-arm/xnu/bsd/uxkern/ |
H A D | ux_exception.c | 193 thread_t thread = THREAD_NULL; 260 th_act = THREAD_NULL; 266 if (th_act != THREAD_NULL) {
|
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | mach_types.h | 247 #define THREAD_NULL ((thread_t) 0) macro
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mach_process.c | 328 if (th_act == THREAD_NULL) { 401 if (th_act == THREAD_NULL)
|
H A D | pthread_synch.c | 743 retval = workqueue_run_nextreq(p, wq, THREAD_NULL, FALSE, FALSE, 0, 0); 862 (void)workqueue_run_nextreq(p, wq, THREAD_NULL, force_oc, overcommit, priority, affinity); 1508 ran_one = workqueue_run_nextreq(p, wq, THREAD_NULL, FALSE, overcommit, priority, -1); 1529 thread_t th_to_run = THREAD_NULL; 1530 thread_t th_to_park = THREAD_NULL; 1548 if (thread != THREAD_NULL) { 1596 if (thread != THREAD_NULL) { 1609 if (wq->wq_ocrequests[priority] && (thread != THREAD_NULL || wq->wq_thidlecount)) { 1636 if ((th_to_park = thread) == THREAD_NULL) 1643 if (thread != THREAD_NULL) { [all...] |
H A D | bsd_init.c | 559 kernproc->sigwait_thread = THREAD_NULL; 560 kernproc->exit_thread = THREAD_NULL;
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | pmap.h | 363 PMAP_ACTIVATE(pmap_kernel(), THREAD_NULL, cpu) 372 PMAP_DEACTIVATE(pmap_kernel(), THREAD_NULL, cpu)
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | dlil.c | 923 VERIFY(inp->input_thr == THREAD_NULL); 1016 inp->input_thr = THREAD_NULL; 1017 VERIFY(inp->wloop_thr == THREAD_NULL); 1018 VERIFY(inp->poll_thr == THREAD_NULL); 1063 thread_t thread = THREAD_NULL; 2012 ((!poll && inp->wloop_thr == THREAD_NULL) || 2013 (poll && inp->poll_thr == THREAD_NULL))) { 2017 VERIFY(inp->poll_thr == THREAD_NULL); 2020 VERIFY(inp->wloop_thr == THREAD_NULL); 2106 if (!ifp->if_start_active && ifp->if_start_thread != THREAD_NULL) { [all...] |