Lines Matching refs:ucp
56 __makecontext (ucontext_t *ucp, void (*func) (void), int argc, ...) in __makecontext() argument
67 sp = (greg_t *) ((uintptr_t) ucp->uc_stack.ss_sp in __makecontext()
68 + ucp->uc_stack.ss_size); in __makecontext()
77 ucp->uc_mcontext.gregs[REG_RIP] = (uintptr_t) func; in __makecontext()
79 ucp->uc_mcontext.gregs[REG_RBX] = (uintptr_t) &sp[idx_uc_link]; in __makecontext()
80 ucp->uc_mcontext.gregs[REG_RSP] = (uintptr_t) sp; in __makecontext()
93 - (uintptr_t) ucp->uc_stack.ss_sp) in __makecontext()
98 ucp->__ssp[1] = ssp_size; in __makecontext()
99 ucp->__ssp[2] = ssp_size; in __makecontext()
108 __push___start_context (ucp); in __makecontext()
113 sp[idx_uc_link] = (uintptr_t) ucp->uc_link; in __makecontext()
129 ucp->uc_mcontext.gregs[REG_RDI] = va_arg (ap, greg_t); in __makecontext()
132 ucp->uc_mcontext.gregs[REG_RSI] = va_arg (ap, greg_t); in __makecontext()
135 ucp->uc_mcontext.gregs[REG_RDX] = va_arg (ap, greg_t); in __makecontext()
138 ucp->uc_mcontext.gregs[REG_RCX] = va_arg (ap, greg_t); in __makecontext()
141 ucp->uc_mcontext.gregs[REG_R8] = va_arg (ap, greg_t); in __makecontext()
144 ucp->uc_mcontext.gregs[REG_R9] = va_arg (ap, greg_t); in __makecontext()