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

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_task_thread.c79 thread_t db_default_act = THREAD_NULL; /* default target thr_act */
208 return(THREAD_NULL);
210 return(THREAD_NULL);
215 return(THREAD_NULL);
230 *actp = THREAD_NULL;
253 db_default_act = THREAD_NULL;
288 if (thr_act != THREAD_NULL && !db_check_act_address_valid(thr_act))
329 if ((thr_act = db_lookup_act_id(task, ap->suffix[1])) == THREAD_NULL){
H A Ddb_break.c205 (thr_act == THREAD_NULL)
326 if (thr_act == THREAD_NULL
349 bkpt->flags = (task && thr_act == THREAD_NULL)?
733 if (thr_act == THREAD_NULL)
745 db_delete_breakpoint(db_target_space(THREAD_NULL, user_space),
791 if (thr_act == THREAD_NULL)
800 (user_global)? THREAD_NULL: thr_act,
804 db_set_breakpoint(db_target_space(THREAD_NULL, user_space),
806 count, THREAD_NULL, FALSE); local
H A Ddb_print.c161 aux_param.thr_act = THREAD_NULL;
169 if (aux_param.thr_act != THREAD_NULL)
494 if ((thread = db_default_act) == THREAD_NULL) {
495 if ((thread = current_thread()) == THREAD_NULL) {
643 if (thr_act == THREAD_NULL) {
718 if (thread == THREAD_NULL) {
832 if (thr_act == THREAD_NULL)
851 if (thr_act == THREAD_NULL) {
H A Ddb_variables.c201 ap->thr_act = (db_option(ap->modif, 't')?db_default_act: THREAD_NULL);
275 ap->thr_act = THREAD_NULL;
456 db_default_act : THREAD_NULL);
620 aux_param.thr_act = THREAD_NULL;
H A Ddb_examine.c84 thread_t db_examine_act = THREAD_NULL;
128 thr_act = THREAD_NULL;
671 thr_act = THREAD_NULL;
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Ddb_trace.c201 if (thr_act == THREAD_NULL) {
202 if ((thr_act = current_thread()) == THREAD_NULL)
210 if (thr_act == THREAD_NULL || thr_act == current_thread()) {
371 task_t task = (thr_act != THREAD_NULL)? thr_act->task: TASK_NULL;
412 if (thr_act != THREAD_NULL && thr_act->machine.pcb) {
496 if (th == THREAD_NULL)
498 if (th == THREAD_NULL) {
513 top_act = THREAD_NULL;
522 task = (th != THREAD_NULL)? th->task: TASK_NULL;
532 if (th == THREAD_NULL)
[all...]
H A Dfpu.c261 assert(thr_act != THREAD_NULL);
347 assert(thr_act != THREAD_NULL);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dthread.c384 if (thread == THREAD_NULL)
427 while ((thread = (thread_t)dequeue_head(&thread_terminate_queue)) != THREAD_NULL) {
495 while ((thread = (thread_t)dequeue_head(&thread_stack_queue)) != THREAD_NULL) {
863 return (THREAD_NULL);
880 if (thread == THREAD_NULL)
1304 if (thread != THREAD_NULL)
1320 if (thread != THREAD_NULL)
1328 if (thread != THREAD_NULL)
1336 if (thread != THREAD_NULL)
1344 if (thread != THREAD_NULL)
[all...]
H A Dthread_act.c151 if (thread == THREAD_NULL)
220 if (thread == THREAD_NULL || thread->task == kernel_task)
250 if (thread == THREAD_NULL || thread->task == kernel_task)
288 if (thread == THREAD_NULL)
335 if (thread == THREAD_NULL)
358 if (thread == THREAD_NULL)
399 if (thread == THREAD_NULL)
424 if (thread == THREAD_NULL)
473 if (thread == THREAD_NULL)
523 if (thread == THREAD_NULL)
[all...]
H A Dsync_lock.c82 (ul)->holder = THREAD_NULL; \
185 ulock->holder = THREAD_NULL;
318 if (ulock->holder != THREAD_NULL) {
417 if (ulock->holder != THREAD_NULL) {
554 if (wqthread != THREAD_NULL) {
648 if (thread != THREAD_NULL) {
769 assert(ulock->holder != THREAD_NULL);
H A Dsync_sema.c295 if (thread != THREAD_NULL) {
399 if (thread == THREAD_NULL)
402 thread = THREAD_NULL;
411 if (thread != THREAD_NULL) {
440 THREAD_NULL,
470 THREAD_NULL,
495 THREAD_NULL,
518 THREAD_NULL,
659 THREAD_NULL,
H A Dsyscall_subr.c240 thread = THREAD_NULL;
244 thread = THREAD_NULL;
247 thread = THREAD_NULL;
252 if (thread != THREAD_NULL) {
H A Dmk_sp.c75 if ( thread == THREAD_NULL ||
161 if ( thread == THREAD_NULL ||
274 if (thread == THREAD_NULL)
H A Dthread_policy.c51 if (thread == THREAD_NULL)
259 assert(thread != THREAD_NULL);
316 if (thread == THREAD_NULL)
H A Dsched_prim.c1173 thread_t new_thread = THREAD_NULL;
1310 if (new_thread != THREAD_NULL)
1349 } while (new_thread == THREAD_NULL);
1660 if (thread != THREAD_NULL) {
1924 if (thread != THREAD_NULL)
2531 while ((thread = (thread_t)dequeue_head(&tqueue)) != THREAD_NULL) {
2750 * Associated pset must be locked. Returns THREAD_NULL
2789 return (THREAD_NULL);
2799 * Returns the stolen thread, or THREAD_NULL on
2815 if (thread != THREAD_NULL) {
[all...]
H A Dstartup.c350 if (processor->next_thread == THREAD_NULL) {
357 processor->next_thread = THREAD_NULL;
H A Dipc_tt.c739 if (thread == THREAD_NULL)
788 if (thread == THREAD_NULL)
1322 thread_t thread = THREAD_NULL;
1330 assert(thread != THREAD_NULL);
1353 thread_t thread = THREAD_NULL;
1360 return (THREAD_NULL);
1524 if (thread == THREAD_NULL)
1691 if (thread == THREAD_NULL)
1896 if (thread == THREAD_NULL)
H A Dprocessor.c147 processor->active_thread = processor->next_thread = processor->idle_thread = THREAD_NULL;
365 if (processor->idle_thread == THREAD_NULL) {
383 if ( processor->active_thread == THREAD_NULL &&
384 processor->next_thread == THREAD_NULL ) {
H A Dbsd_kern.c108 thread = THREAD_NULL;
111 return (THREAD_NULL);
123 thread_t inc, thread = THREAD_NULL;
H A Dwait_queue.c1189 thread_t t = THREAD_NULL;
1218 if (t != THREAD_NULL)
1237 t = THREAD_NULL;
1241 return THREAD_NULL;
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dpmap.h344 PMAP_ACTIVATE(pmap_kernel(), THREAD_NULL, cpu)
353 PMAP_DEACTIVATE(pmap_kernel(), THREAD_NULL, cpu)
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/
H A Dmach_types.h247 #define THREAD_NULL ((thread_t) 0) macro
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmach_process.c304 if (th_act == THREAD_NULL) {
367 if (th_act == THREAD_NULL)
H A Dpthread_synch.c1191 workqueue_run_nextitem(wq->wq_proc, THREAD_NULL);
1251 workqueue_run_nextitem(wq->wq_proc, THREAD_NULL);
1456 workqueue_run_nextitem(p, THREAD_NULL);
1548 thread_t th = THREAD_NULL;
1724 thread_t th_to_run = THREAD_NULL;
1725 thread_t th_to_park = THREAD_NULL;
1742 if ((th_to_park = thread) == THREAD_NULL)
1746 if (thread != THREAD_NULL) {
1775 if (thread == THREAD_NULL) {
1910 if (th_to_park == THREAD_NULL) {
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/
H A Dux_exception.c253 th_act = THREAD_NULL;
259 if (th_act != THREAD_NULL) {

Completed in 190 milliseconds

12