/macosx-10.5.8/xnu-1228.15.4/osfmk/device/ |
H A D | device_init.c | 101 (void) kernel_thread(kernel_task, io_done_thread, (char *)0); 102 (void) kernel_thread(kernel_task, net_thread, (char *)0);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | task_policy.c | 50 if (task == TASK_NULL || task == kernel_task) 157 if (task == TASK_NULL || task == kernel_task) 190 if (task == TASK_NULL || task == kernel_task)
|
H A D | task.c | 155 task_t kernel_task; variable 260 if (task_create_internal(TASK_NULL, FALSE, FALSE, &kernel_task) != KERN_SUCCESS) 263 vm_map_deallocate(kernel_task->map); 264 kernel_task->map = kernel_map; 437 if (kernel_task == TASK_NULL) { 530 assert(task != kernel_task); 678 assert(task != kernel_task); 1017 if (task == TASK_NULL || task == kernel_task) 1065 if (task == TASK_NULL || task == kernel_task) 1203 map = (task == kernel_task) [all...] |
H A D | ipc_kobject.c | 332 kernel_task->messages_received++; 346 kernel_task->messages_received++; 348 kernel_task->messages_sent++;
|
H A D | thread_act.c | 154 if ( thread->task == kernel_task && 166 if (thread->task == kernel_task) { 220 if (thread == THREAD_NULL || thread->task == kernel_task) 250 if (thread == THREAD_NULL || thread->task == kernel_task)
|
H A D | thread.c | 629 parent_task != kernel_task)) { 670 if (parent_task != kernel_task) 717 if (task == TASK_NULL || task == kernel_task) 748 if (task == TASK_NULL || task == kernel_task) 793 task_t task = kernel_task; 858 if (task != kernel_task)
|
H A D | task.h | 351 extern task_t kernel_task;
|
H A D | bsd_kern.c | 523 map = (task == kernel_task)? kernel_map: task->map; 532 ptinfo->pti_policy = ((task != kernel_task)?
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_memorystatus.c | 83 (void)kernel_thread(kernel_task, kern_memorystatus_thread);
|
H A D | bsd_init.c | 340 * being "kernel_task", because the order of operation is inverted. To 385 /* kernel_task->proc = kernproc; */ 386 set_bsdtask_info(kernel_task,(void *)p); 392 process_name("kernel_task", p); 414 if (current_task() != kernel_task) 457 p->task = kernel_task; 564 ret = semaphore_create(kernel_task, &execve_semaphore,
|
H A D | kern_fork.c | 499 if (parent->task == kernel_task) 1152 if ((task != kernel_task) && p) { 1228 if ((task != kernel_task) && p) {
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOCommandQueue.cpp | 77 != semaphore_create(kernel_task, &producerSema, SYNC_POLICY_FIFO, inSize)) 122 semaphore_destroy(kernel_task, producerSema);
|
H A D | IOBufferMemoryDescriptor.cpp | 147 if (((inTask != kernel_task) && !(options & kIOMemoryPageable)) || 263 inTask = kernel_task; 403 return( initWithOptions(options, capacity, alignment, kernel_task) ); 411 return(IOBufferMemoryDescriptor::inTaskWithOptions(kernel_task, options, capacity, alignment)); 597 if (_task == kernel_task)
|
H A D | IOLib.cpp | 424 kernel_task, kIOMemoryPhysicallyContiguous, size, physicalMask); 634 if( task != kernel_task) 664 if( task != kernel_task)
|
H A D | IONVRAM.cpp | 249 ( ! (variablePerm == kOFVariablePermKernelOnly && current_task() != kernel_task) )) { 276 if (variablePerm == kOFVariablePermKernelOnly && current_task() != kernel_task) return 0; 310 if (propPerm == kOFVariablePermKernelOnly && current_task() != kernel_task) return 0; 375 if (propPerm == kOFVariablePermKernelOnly && current_task() != kernel_task) return;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Tests/ |
H A D | TestDevice.cpp | 164 != semaphore_create(kernel_task, &completeSema, SYNC_POLICY_FIFO, 4))
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | fpu.c | 546 if (current_task() == kernel_task) 597 if (current_task() == kernel_task) 720 if (current_task() == kernel_task)
|
H A D | db_interface.c | 558 if (task == kernel_task || task == TASK_NULL) { 603 if (task && task != kernel_task) { 610 db_write_bytes_user_space(addr, size, data, kernel_task); 686 if (task == kernel_task || task == TASK_NULL) { 687 if (kernel_task == TASK_NULL) 689 task = kernel_task;
|
H A D | perfmon.c | 54 * kernel_task - owned by pmc 703 if(pmc_owner == kernel_task) { 741 if(old_pmc_owner == kernel_task) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | db_interface.c | 389 if (task == kernel_task || task == TASK_NULL) { 390 if (kernel_task == TASK_NULL) return(TRUE); 391 task = kernel_task;
|
H A D | hw_perfmon.c | 57 * kernel_task - owned by hw_perfmon 81 if(hw_perfmon_owner==kernel_task) { 117 if(old_perfmon_owner==kernel_task) { 152 } else if(perfmon_acquire_facility(kernel_task)!=KERN_SUCCESS) { 154 } else { /* kernel_task owns the faciltity and this thread has not yet been counted */ 221 perfmon_release_facility(kernel_task); /* will release if hw_perfmon_thread_count is 0 */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_print.c | 297 DB_STGY_ANY, kernel_task); 328 DB_STGY_ANY, kernel_task); 337 DB_STGY_ANY, kernel_task);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/ |
H A D | chud_thread_i386.c | 66 if (thread->task == kernel_task) 570 if (task == kernel_task) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/ |
H A D | ux_exception.c | 189 (void) kernel_thread(kernel_task, ux_handler);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/orig/ |
H A D | db_print.c | 643 DB_STGY_ANY, kernel_task); 676 DB_STGY_ANY, kernel_task); 685 DB_STGY_ANY, kernel_task);
|