Lines Matching refs:error
39 kern_return_t error; in __mach_setup_thread() local
50 error = __vm_allocate (task, &stack, size + __vm_page_size, anywhere); in __mach_setup_thread()
51 if (error) in __mach_setup_thread()
52 return error; in __mach_setup_thread()
69 #error stack direction unknown in __mach_setup_thread()
73 if (error = __vm_protect (task, stack, __vm_page_size, 0, VM_PROT_NONE)) in __mach_setup_thread()
74 return error; in __mach_setup_thread()
86 kern_return_t error; in weak_alias() local
95 if (error = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR, in weak_alias()
97 return error; in weak_alias()
102 error = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, in weak_alias()
104 return error; in weak_alias()