Home
last modified time | relevance | path

Searched refs:ucontext_t (Results 1 – 25 of 88) sorted by relevance

1234

/titanic_50/usr/src/head/
H A Ducontext.h64 extern int getcontext(ucontext_t *) __RETURNS_TWICE;
66 extern int setcontext(const ucontext_t *) __NORETURN;
67 extern int swapcontext(ucontext_t *_RESTRICT_KYWD,
68 const ucontext_t *_RESTRICT_KYWD);
69 extern void makecontext(ucontext_t *, void(*)(), int, ...);
72 extern int walkcontext(const ucontext_t *, int (*)(uintptr_t, int, void *),
82 extern int stack_violation(int, const siginfo_t *, const ucontext_t *);
/titanic_50/usr/src/uts/intel/sys/
H A Ducontext.h72 typedef struct ucontext ucontext_t; typedef
74 typedef struct __ucontext ucontext_t; typedef
83 ucontext_t *uc_link;
104 extern void ucontext_nto32(const ucontext_t *src, ucontext32_t *dest);
105 extern void ucontext_32ton(const ucontext32_t *src, ucontext_t *dest);
139 void savecontext(ucontext_t *, const k_sigset_t *);
140 void restorecontext(ucontext_t *);
/titanic_50/usr/src/lib/libm/common/m9x/
H A Dfex_handler.h59 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 *,
/titanic_50/usr/src/uts/sparc/sys/
H A Ducontext.h73 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 *);
/titanic_50/usr/src/lib/libc/sparcv9/gen/
H A Dmakectxt.c55 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 Dswapctxt.c40 swapcontext(ucontext_t *oucp, const ucontext_t *nucp) in swapcontext()
61 return (setcontext((ucontext_t *)nucp)); in swapcontext()
/titanic_50/usr/src/lib/libc/sparc/gen/
H A Dmakectxt.c55 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 Dswapctxt.c40 swapcontext(ucontext_t *oucp, const ucontext_t *nucp) in swapcontext()
61 return (setcontext((ucontext_t *)nucp)); in swapcontext()
/titanic_50/usr/src/uts/intel/ia32/syscall/
H A Dgetcontext.c54 savecontext(ucontext_t *ucp, const k_sigset_t *mask) in savecontext()
65 bzero(&ucp->uc_mcontext.fpregs, sizeof (ucontext_t) - in savecontext()
66 offsetof(ucontext_t, uc_mcontext.fpregs)); in savecontext()
135 restorecontext(ucontext_t *ucp) in restorecontext()
183 ucontext_t uc; in getsetcontext()
184 ucontext_t *ucp; in getsetcontext()
217 if (copyin(ucp, &uc, sizeof (ucontext_t) - in getsetcontext()
321 ucontext_t ucnat; in getsetcontext32()
/titanic_50/usr/src/uts/sparc/syscall/
H A Dgetcontext.c57 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()
/titanic_50/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_context_impl.h42 void kmdb_makecontext(ucontext_t *, void (*)(void *), void *, caddr_t, size_t);
43 int kmdb_setcontext(ucontext_t *);
/titanic_50/usr/src/lib/libc/i386/gen/
H A Dsiglongjmp.c44 ucontext_t *ucp = (ucontext_t *)env; in siglongjmp()
H A Dmakectxt.c76 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext()
114 ucontext_t uc; in resumecontext()
/titanic_50/usr/src/lib/libc/amd64/gen/
H A Dsiglongjmp.c41 ucontext_t *ucp = (ucontext_t *)env; in siglongjmp()
H A Dmakectxt.c52 makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) in makecontext()
120 ucontext_t uc; in resumecontext()
/titanic_50/usr/src/uts/common/syscall/
H A Dlwp_create.c66 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()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dwalkstack.c189 walkcontext(const ucontext_t *uptr, int (*operate_func)(uintptr_t, int, void *), in walkcontext()
192 ucontext_t *oldctx = uptr->uc_link; in walkcontext()
379 ucontext_t u; in printstack()
419 ucontext_t u; in backtrace()
/titanic_50/usr/src/lib/libc/i386/threads/
H A Dmachdep.c88 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()
/titanic_50/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c68 setup_context(ucontext_t *ucp, void *(*func)(ulwp_t *), in setup_context()
176 ucontext_t *ucp = (ucontext_t *)env; in __csigsetjmp()
/titanic_50/usr/src/uts/intel/ia32/os/
H A Dsendsig.c139 ucontext_t *volatile tuc = NULL; in sendsig()
140 ucontext_t *uc; in sendsig()
289 uc = (ucontext_t *)(sp + sizeof (struct sigframe)); in sendsig()
603 ucontext_t *ucp;
618 ucontext_t *volatile tuc = NULL; in sendsig()
619 ucontext_t *uc; in sendsig()
727 uc = (ucontext_t *)fp; in sendsig()
/titanic_50/usr/src/uts/intel/dtrace/
H A Ddtrace_isa.c162 ucontext_t *ucp = (ucontext_t *)oldcontext; in dtrace_getustack_common()
366 ucontext_t *ucp = (ucontext_t *)oldcontext; in dtrace_getufpstack()
374 ucontext_t *ucp = (ucontext_t *)oldcontext; in dtrace_getufpstack()
/titanic_50/usr/src/lib/libbc/libc/sys/common/
H A Dsigsetjmp.c46 ucontext_t uc;
106 ucontext_t uc;
/titanic_50/usr/src/lib/libproc/i386/
H A DPisadep.c168 ucontext_n_to_prgregs(const ucontext_t *src, prgregset_t dst) in ucontext_n_to_prgregs()
200 ucontext_t *ucp; in Pstack_iter()
205 ucontext_t uc; in Pstack_iter()
/titanic_50/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c93 static void ucbsigvechandler(int, siginfo_t *, ucontext_t *);
103 _sigvechandler(int sig, siginfo_t *sip, ucontext_t *ucp) in _sigvechandler()
110 ucbsigvechandler(int sig, siginfo_t *sip, ucontext_t *ucp) in ucbsigvechandler()
341 ucontext_t uc, *ucp; in __sigcleanup()
351 ucp = (ucontext_t *)scp->sc_spbuf[1]; in __sigcleanup()
/titanic_50/usr/src/uts/sparc/v9/os/
H A Dxregs.c54 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()

1234