Searched refs:mk_ctx (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | swapcontext_extd.c | 32 static ucontext_t *mk_ctx, *orig_ctx; variable 46 (void) swapcontext_extd(mk_ctx, 0, orig_ctx); in mkctx_target() 65 mk_ctx = ucontext_alloc(0); in main() 66 if (mk_ctx == NULL) in main() 78 if (getcontext_extd(mk_ctx, 0) != 0) { in main() 83 xsu_ustack_alloc(mk_ctx); in main() 84 makecontext(mk_ctx, mkctx_target, 2, hwsup, &hwsup); in main() 86 if (swapcontext_extd(orig_ctx, 0, mk_ctx) != 0) { in main() 97 xsu_ustack_alloc(mk_ctx); in main() 98 makecontext(mk_ctx, mkctx_failure, 0); in main() [all …]
|