Lines Matching defs:task
30 #include <mach/task.h>
72 if (thread->task == kernel_task)
117 #pragma mark **** task memory read/write ****
122 task_t task,
139 if(current_task()==task) {
145 vm_map_t map = get_task_map(task);
156 task_t task,
173 if(current_task()==task) {
179 vm_map_t map = get_task_map(task);
228 task_t task,
269 kr = chudxnu_task_read(task, &tmpWord, (vm_offset_t) &fp->caller, sizeof(uint32_t));
287 kr = chudxnu_task_read(task, &tmpWord, (vm_offset_t)&fp->prev, sizeof(uint32_t));
307 task_t task,
348 kr = chudxnu_task_read(task, &currPC, caller, sizeof(uint64_t));
364 kr = chudxnu_task_read(task, &prevFP, currFP, sizeof(uint64_t));
491 task_t task = thread->task;
530 if(!ml_at_interrupt_context() && kernel_task == task) {
670 kr = do_backtrace64(task, thread, regs64, callstack, &bufferIndex,
682 kr = do_backtrace32(task, thread, regs32, callstack, &bufferIndex,
693 kr = do_backtrace64(task, thread, u_regs64, callstack, &bufferIndex,
696 if(KERN_SUCCESS == chudxnu_task_read(task, &rsp, (addr64_t) u_regs64->isf.rsp, sizeof(uint64_t)) &&
704 kr = do_backtrace32(task, thread, u_regs32, callstack, &bufferIndex,
707 if(KERN_SUCCESS == chudxnu_task_read(task, &esp, (addr64_t) u_regs32->uesp, sizeof(uint32_t)) &&