Lines Matching defs:thread
29 #include <kern/thread.h>
65 extern void x86_toggle_sysenter_arg_store(thread_t thread, boolean_t valid);
66 extern boolean_t x86_sysenter_arg_store_isvalid(thread_t thread);
77 thread_t thread;
95 thread = current_thread();
96 uthread = get_bsdthread_info(thread);
114 args_in_uthread = ((regs->eax & I386_SYSCALL_ARG_BYTES_MASK) != 0) && x86_sysenter_arg_store_isvalid(thread);
168 * Delayed binding of thread credential to process credential, if we
169 * are not running with an explicitly set thread credential.
247 thread_t thread;
263 thread = current_thread();
264 uthread = get_bsdthread_info(thread);
332 * Delayed binding of thread credential to process credential, if we
333 * are not running with an explicitly set thread credential.
422 thread_t thread;
429 thread = current_thread();
430 uthread = get_bsdthread_info(thread);
437 regs = saved_state64(find_user_regs(thread));
497 regs = saved_state32(find_user_regs(thread));