Searched refs:THREAD_NULL (Results 1 - 25 of 46) sorted by relevance

12

/darwin-on-arm/xnu/osfmk/kern/
H A Dsched_grrr.c322 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 Dthread.c432 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 Dthread_act.c153 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 Dextmod_statistics.c93 if ((ctask == kernel_task) || (target == THREAD_NULL))
H A Dsync_sema.c316 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 Dsyscall_subr.c261 thread = THREAD_NULL;
265 thread = THREAD_NULL;
268 thread = THREAD_NULL;
273 if (thread != THREAD_NULL) {
H A Dsync_lock.c81 (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 Dprocessor.c154 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 Dmk_sp.c75 if ( thread == THREAD_NULL ||
179 if ( thread == THREAD_NULL ||
292 if (thread == THREAD_NULL)
H A Dthread_policy.c59 if (thread == THREAD_NULL)
329 assert(thread != THREAD_NULL);
392 if (thread == THREAD_NULL)
H A Dstartup.c441 if (processor->next_thread == THREAD_NULL) {
448 processor->next_thread = THREAD_NULL;
H A Dsched_fixedpriority.c385 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 Dsched_prim.c1633 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 Dipc_tt.c731 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 Dtask_policy.c415 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 Dbsd_kern.c115 thread = THREAD_NULL;
118 return (THREAD_NULL);
130 thread_t inc, thread = THREAD_NULL;
H A Dsched_proto.c350 return (THREAD_NULL);
358 return (THREAD_NULL);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_upcall.c182 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 Dux_exception.c193 thread_t thread = THREAD_NULL;
260 th_act = THREAD_NULL;
266 if (th_act != THREAD_NULL) {
/darwin-on-arm/xnu/osfmk/mach/
H A Dmach_types.h247 #define THREAD_NULL ((thread_t) 0) macro
/darwin-on-arm/xnu/bsd/kern/
H A Dmach_process.c328 if (th_act == THREAD_NULL) {
401 if (th_act == THREAD_NULL)
H A Dpthread_synch.c743 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 Dbsd_init.c559 kernproc->sigwait_thread = THREAD_NULL;
560 kernproc->exit_thread = THREAD_NULL;
/darwin-on-arm/xnu/osfmk/vm/
H A Dpmap.h363 PMAP_ACTIVATE(pmap_kernel(), THREAD_NULL, cpu)
372 PMAP_DEACTIVATE(pmap_kernel(), THREAD_NULL, cpu)
/darwin-on-arm/xnu/bsd/net/
H A Ddlil.c923 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...]

Completed in 201 milliseconds

12