/illumos-gate/usr/src/head/ |
H A D | ucontext.h | 66 extern int getcontext(ucontext_t *) __RETURNS_TWICE; 68 extern int setcontext(const ucontext_t *); 69 extern int swapcontext(ucontext_t *_RESTRICT_KYWD, 70 const ucontext_t *_RESTRICT_KYWD); 71 extern void makecontext(ucontext_t *, void(*)(), int, ...); 74 extern ucontext_t *ucontext_alloc(uint32_t); 75 extern void ucontext_free(ucontext_t *); 76 extern int getcontext_extd(ucontext_t *, uint32_t) __RETURNS_TWICE; 78 extern int swapcontext_extd(ucontext_t *_RESTRICT_KYWD, uint32_t, 79 const ucontext_t *_RESTRICT_KYWD); [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | xsave_baducontext.c | 51 test_bad_version(ucontext_t *ctx) in test_bad_version() 58 test_bad_length_small(ucontext_t *ctx) in test_bad_length_small() 65 test_bad_length_large(ucontext_t *ctx) in test_bad_length_large() 77 test_bad_vector(ucontext_t *ctx) in test_bad_vector() 84 test_context_too_short(ucontext_t *ctx) in test_context_too_short() 96 test_context_badptr0(ucontext_t *ctx) in test_context_badptr0() 102 test_context_badptr1(ucontext_t *ctx) in test_context_badptr1() 114 test_context_badptr2(ucontext_t *ctx) in test_context_badptr2() 131 static ucontext_t * 134 ucontext_t *ctx = ucontext_alloc(0); in setup_context() [all …]
|
H A D | xsave_util.h | 115 extern void xsu_overwrite_uctx(ucontext_t *, const xsu_fpu_t *, uint32_t); 184 extern void xsu_ustack_alloc(ucontext_t *);
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 83 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext() 121 ucontext_t uc; in resumecontext() 134 ucontext_t * 138 size_t to_alloc = sizeof (ucontext_t); in ucontext_alloc() 139 ucontext_t *ucp; in ucontext_alloc() 178 ucp->uc_xsave = addr + sizeof (ucontext_t); in ucontext_alloc() 185 ucontext_free(ucontext_t *ucp) in ucontext_free()
|
H A D | siglongjmp.c | 50 ucontext_t *ucp = (ucontext_t *)env; in siglongjmp()
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | ucontext.h | 73 typedef struct ucontext ucontext_t; typedef 75 typedef struct __ucontext ucontext_t; typedef 84 ucontext_t *uc_link; 115 extern void ucontext_nto32(const ucontext_t *src, ucontext32_t *dest); 116 extern void ucontext_32ton(const ucontext32_t *src, ucontext_t *dest); 186 int savecontext(ucontext_t *, const k_sigset_t *, savecontext_flags_t); 187 void restorecontext(ucontext_t *);
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fex_handler.h | 59 extern void __fex_mklog(ucontext_t *, char *, int, enum fex_exception, 63 extern enum fex_exception __fex_get_invalid_type(siginfo_t *, ucontext_t *); 64 extern void __fex_get_op(siginfo_t *, ucontext_t *, fex_info_t *); 65 extern void __fex_st_result(siginfo_t *, ucontext_t *, fex_info_t *); 202 extern void __fex_get_x86_exc(siginfo_t *, ucontext_t *); 203 extern int __fex_parse_sse(ucontext_t *, sseinst_t *); 204 extern enum fex_exception __fex_get_sse_op(ucontext_t *, sseinst_t *, 206 extern void __fex_get_simd_op(ucontext_t *, sseinst_t *, 208 extern void __fex_st_sse_result(ucontext_t *, sseinst_t *, 210 extern void __fex_st_simd_result(ucontext_t *, sseinst_t *,
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 57 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext() 125 ucontext_t uc; in resumecontext() 138 ucontext_t * 142 size_t to_alloc = sizeof (ucontext_t); in ucontext_alloc() 143 ucontext_t *ucp; in ucontext_alloc() 188 ucp->uc_xsave = addr + sizeof (ucontext_t); in ucontext_alloc() 195 ucontext_free(ucontext_t *ucp) in ucontext_free()
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | ucontext.h | 73 typedef struct ucontext ucontext_t; typedef 75 typedef struct __ucontext ucontext_t; typedef 84 ucontext_t *uc_link; 109 extern void ucontext_32ton(const ucontext32_t *, ucontext_t *, 147 extern void savecontext(ucontext_t *, const k_sigset_t *); 148 extern void restorecontext(ucontext_t *);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | makectxt.c | 55 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext() 108 __makecontext_v2(ucontext_t *ucp, void (*func)(), int argc, ...) in __makecontext_v2() 161 extern int getcontext(ucontext_t *); in resumecontext() 162 extern int setcontext(const ucontext_t *); in resumecontext() 163 ucontext_t uc; in resumecontext()
|
H A D | swapctxt.c | 38 swapcontext(ucontext_t *oucp, const ucontext_t *nucp) in swapcontext() 59 return (setcontext((ucontext_t *)nucp)); in swapcontext()
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | makectxt.c | 55 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext() 108 __makecontext_v2(ucontext_t *ucp, void (*func)(), int argc, ...) in __makecontext_v2() 161 extern int getcontext(ucontext_t *); in resumecontext() 162 extern int setcontext(const ucontext_t *); in resumecontext() 163 ucontext_t uc; in resumecontext()
|
H A D | swapctxt.c | 38 swapcontext(ucontext_t *oucp, const ucontext_t *nucp) in swapcontext() 59 return (setcontext((ucontext_t *)nucp)); in swapcontext()
|
/illumos-gate/usr/src/uts/sparc/syscall/ |
H A D | getcontext.c | 57 savecontext(ucontext_t *ucp, const k_sigset_t *mask) in savecontext() 66 bzero(&ucp->uc_mcontext.fpregs.fpu_en, sizeof (ucontext_t) - in savecontext() 67 offsetof(ucontext_t, uc_mcontext.fpregs.fpu_en)); in savecontext() 82 ucp->uc_link = (ucontext_t *)lwp->lwp_oldcontext; in savecontext() 121 restorecontext(ucontext_t *ucp) in restorecontext() 178 ucontext_t uc; in getsetcontext() 185 ucontext_t *ucp; in getsetcontext() 219 if (copyout(&uc, arg, sizeof (ucontext_t))) in getsetcontext() 231 if (copyin(ucp, &uc, sizeof (ucontext_t) - in getsetcontext() 426 ucontext_t ucnat; in getsetcontext32()
|
/illumos-gate/usr/src/uts/intel/syscall/ |
H A D | getcontext.c | 97 savecontext(ucontext_t *ucp, const k_sigset_t *mask, savecontext_flags_t flags) in savecontext() 132 bzero(&ucp->uc_mcontext.fpregs, sizeof (ucontext_t) - in savecontext() 133 offsetof(ucontext_t, uc_mcontext.fpregs)); in savecontext() 233 restorecontext(ucontext_t *ucp) in restorecontext() 291 ucontext_t uc; in getsetcontext() 292 ucontext_t *ucp; in getsetcontext() 360 if (copyin(ucp, &uc, offsetof(ucontext_t, uc_filler) - in getsetcontext() 520 ucontext_t ucnat; in getsetcontext32()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_context_impl.h | 40 void kmdb_makecontext(ucontext_t *, void (*)(void *), void *, caddr_t, size_t); 41 int kmdb_setcontext(ucontext_t *);
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | libc.h | 160 extern void _xregs_clrptr(ucontext_t *); 228 extern int _getcontext(ucontext_t *) __RETURNS_TWICE; 233 extern int __getcontext(ucontext_t *); 234 extern int __getcontext_extd(ucontext_t *);
|
H A D | sigjmp_struct.h | 62 ucontext_t *sjs_uclink; 88 ((ucontext_t *)P2ROUNDUP((uintptr_t)(x), sizeof (upad128_t)))
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_create.c | 66 syslwp_create(ucontext_t *ucp, int flags, id_t *new_lwp) in syslwp_create() 71 ucontext_t uc; in syslwp_create() 90 if (copyin(ucp, &uc, sizeof (ucontext_t))) in syslwp_create()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | walkstack.c | 188 walkcontext(const ucontext_t *uptr, int (*operate_func)(uintptr_t, int, void *), in walkcontext() 191 ucontext_t *oldctx = uptr->uc_link; in walkcontext() 377 ucontext_t u; in printstack() 416 ucontext_t u; in backtrace()
|
/illumos-gate/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 88 setup_context(ucontext_t *ucp, void *(*func)(ulwp_t *), in setup_context() 97 ucontext_t uc; in setup_context() 218 ucontext_t *ucp = (ucontext_t *)env; in __csigsetjmp()
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | getcontext_extd.c | 51 ucontext_t ctx; in getcontext_stack() 90 ucontext_t *ctx = ucontext_alloc(0); in main()
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | dtrace_isa.c | 163 ucontext_t *ucp = (ucontext_t *)oldcontext; in dtrace_getustack_common() 367 ucontext_t *ucp = (ucontext_t *)oldcontext; in dtrace_getufpstack() 375 ucontext_t *ucp = (ucontext_t *)oldcontext; in dtrace_getufpstack()
|
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 89 static void ucbsigvechandler(int, siginfo_t *, ucontext_t *); 99 _sigvechandler(int sig, siginfo_t *sip, ucontext_t *ucp) in _sigvechandler() 106 ucbsigvechandler(int sig, siginfo_t *sip, ucontext_t *ucp) in ucbsigvechandler() 337 ucontext_t uc, *ucp; in __sigcleanup() 347 ucp = (ucontext_t *)scp->sc_spbuf[1]; in __sigcleanup()
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | xregs.c | 54 xregs_clrptr(klwp_id_t lwp, ucontext_t *uc) in xregs_clrptr() 66 xregs_hasptr(klwp_id_t lwp, ucontext_t *uc) in xregs_hasptr() 76 xregs_getptr(klwp_id_t lwp, ucontext_t *uc) in xregs_getptr() 88 xregs_setptr(klwp_id_t lwp, ucontext_t *uc, caddr_t xrp) in xregs_setptr()
|