/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/headers/ |
H A D | mach_init.h | 78 #define current_task() mach_task_self() macro
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/chud/ |
H A D | chud_process.c | 71 task_t t = current_task();
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | task_policy.c | 90 if ( task != current_task() || 100 if ( task != current_task() ||
|
H A D | task.h | 257 #define current_task() current_task_fast() macro 263 extern task_t current_task(void);
|
H A D | exception.c | 347 task = current_task(); 403 task = current_task();
|
H A D | ipc_tt.c | 578 assert(task == current_task()); 654 task_t task = current_task(); 708 kr = ipc_port_alloc(current_task()->itk_space, &name, &port); 983 if (mac_task_check_service(current_task(), task, "set_special_port")) { 1521 boolean_t privileged = current_task()->sec_token.val[0] == 0; 1592 boolean_t privileged = current_task()->sec_token.val[0] == 0; 1688 boolean_t privileged = current_task()->sec_token.val[0] == 0; 1784 boolean_t privileged = current_task()->sec_token.val[0] == 0;
|
H A D | task.c | 1479 /* assert(task == current_task()); */ /* bogus assert 4803227 4807483 */ 1516 assert(task == current_task()); 1536 assert(task == current_task()); 1722 #undef current_task macro 1723 task_t current_task(void); 1724 task_t current_task(void) function
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Families/IOSystemManagement/ |
H A D | IOWatchDogTimer.cpp | 81 result = IOUserClient::clientHasPrivilege(current_task(),
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | user_ldt.c | 100 task_t task = current_task(); 291 task_t task = current_task(); 363 if (arg_task == current_task()) {
|
H A D | fpu.c | 546 if (current_task() == kernel_task) 597 if (current_task() == kernel_task) 720 if (current_task() == kernel_task)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | systemcalls.c | 100 p = (struct proc *)get_bsdtask_info(current_task()); 108 task_terminate_internal(current_task()); 268 p = (struct proc *)get_bsdtask_info(current_task()); 276 task_terminate_internal(current_task());
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | systemcalls.c | 110 proc = (struct proc *)get_bsdtask_info(current_task()); 119 task_terminate_internal(current_task());
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | bsd_stubs.c | 95 p = (struct proc *)get_bsdtask_info(current_task());
|
H A D | kern_exec.c | 749 task = current_task(); 1358 ret = ipc_object_copyin(get_task_ipcspace(current_task()), 1763 task = current_task(); 1956 task = current_task(); 2656 if (current_task() == p->task) {
|
H A D | mach_loader.c | 308 task_halt(current_task()); 310 old_map = swap_task_map(current_task(), map); 618 pmap_map_sharedpage(current_task(), get_map_pmap(map));
|
H A D | kern_core.c | 186 task_t task = current_task();
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_mqueue.c | 555 current_task()->messages_sent++; 731 task = current_task(); 760 task = current_task(); 881 current_task()->messages_received++;
|
H A D | mach_msg.c | 1228 current_task()->messages_sent++; 1509 current_task()->messages_received++; 1621 current_task()->messages_sent++;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/ |
H A D | ux_exception.c | 100 task_t self = current_task(); 230 task_t self = current_task();
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IONVRAM.cpp | 235 hasPrivilege = (kIOReturnSuccess == IOUserClient::clientHasPrivilege(current_task(), kIONVRAMPrivilege)); 249 ( ! (variablePerm == kOFVariablePermKernelOnly && current_task() != kernel_task) )) { 272 result = IOUserClient::clientHasPrivilege(current_task(), kIONVRAMPrivilege); 276 if (variablePerm == kOFVariablePermKernelOnly && current_task() != kernel_task) return 0; 306 result = IOUserClient::clientHasPrivilege(current_task(), kIONVRAMPrivilege); 310 if (propPerm == kOFVariablePermKernelOnly && current_task() != kernel_task) return 0; 371 result = IOUserClient::clientHasPrivilege(current_task(), kIOClientPrivilegeAdministrator); 375 if (propPerm == kOFVariablePermKernelOnly && current_task() != kernel_task) return;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | PseudoKernel.c | 83 task = current_task(); /* Figure out who our task is */ 406 task = current_task(); /* Figure out who our task is */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vm_unix.c | 180 pmap = get_task_pmap(current_task()); 563 get_task_ipcspace(current_task())); 646 get_task_ipcspace(current_task())); 763 shared_region = vm_shared_region_get(current_task()); 997 shared_region = vm_shared_region_get(current_task());
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_fault.c | 476 if (!(current_task()->priv_flags & VM_BACKING_STORE_PRIV)) { 1536 if (!(current_task()->priv_flags & VM_BACKING_STORE_PRIV)) { 1612 current_task()->cow_faults++; 1777 if (!(current_task()->priv_flags & VM_BACKING_STORE_PRIV)) { 1934 current_task()->pageins++; 2055 current_task()->pageins++; 2282 current_task()->faults++; 2819 current_task()->cow_faults++; 2887 if (!(current_task()->priv_flags & VM_BACKING_STORE_PRIV))
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/ |
H A D | chud_thread_i386.c | 131 if(current_task()==task) { 165 if(current_task()==task) {
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ |
H A D | chud_thread.c | 452 return current_task();
|