Searched refs:ucontext_t (Results 1 - 25 of 87) sorted by relevance

1234

/freebsd-12-stable/sys/powerpc/include/
H A Dsigframe.h37 ucontext_t sf_uc;
/freebsd-12-stable/sys/sparc64/include/
H A Dsigframe.h38 ucontext_t sf_uc;
/freebsd-12-stable/lib/libc/gen/
H A Dtrivial-getcontextx.c39 return (sizeof(ucontext_t));
52 ucontext_t *ucp;
54 ucp = (ucontext_t *)ctx;
60 ucontext_t *
75 return ((ucontext_t *)ctx);
/freebsd-12-stable/sys/sys/
H A Ducontext.h60 int getcontext(ucontext_t *) __returns_twice;
61 ucontext_t *getcontextx(void);
62 int setcontext(const ucontext_t *);
63 void makecontext(ucontext_t *, void (*)(void), int, ...);
64 int signalcontext(ucontext_t *, int, __sighandler_t *);
65 int swapcontext(ucontext_t *, const ucontext_t *);
H A D_ucontext.h41 * sigcontext and ucontext_t. This allows us to
52 } ucontext_t; typedef in typeref:struct:__ucontext
/freebsd-12-stable/lib/libthread_db/
H A Dlibpthread_db.h86 void pt_reg_to_ucontext(const struct reg *, ucontext_t *);
87 void pt_ucontext_to_reg(const ucontext_t *, struct reg *);
88 void pt_fpreg_to_ucontext(const struct fpreg *, ucontext_t *);
89 void pt_ucontext_to_fpreg(const ucontext_t *, struct fpreg *);
91 void pt_fxsave_to_ucontext(const char *, ucontext_t *);
92 void pt_ucontext_to_fxsave(const ucontext_t *, char *);
/freebsd-12-stable/lib/libc/sys/
H A Dswapcontext.c47 swapcontext(ucontext_t *oucp, const ucontext_t *ucp)
50 return (((int (*)(ucontext_t *, const ucontext_t *))
H A Dsetcontext.c46 setcontext(const ucontext_t *uc)
49 return (((int (*)(const ucontext_t *))
/freebsd-12-stable/sys/x86/include/
H A Dsigframe.h58 ucontext_t sf_uc; /* = *sf_ucontext */
69 ucontext_t sf_uc; /* = *sf_ucontext */
/freebsd-12-stable/lib/libc/x86/gen/
H A Dgetcontextx.c61 return (sizeof(ucontext_t) + xstate_sz);
79 ucontext_t *ucp;
81 ucp = (ucontext_t *)ctx;
95 ucontext_t *ucp;
97 ucp = (ucontext_t *)ctx;
113 ucontext_t *ucp;
115 ucp = (ucontext_t *)ctx;
124 ucontext_t *
139 return ((ucontext_t *)ctx);
/freebsd-12-stable/lib/libc/amd64/gen/
H A Dsignalcontext.c41 static void sigctx_wrapper(ucontext_t *ucp, handler_t func, uint64_t *args);
46 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
50 ucontext_t *sig_uc;
63 sp = (ucp->uc_mcontext.mc_rsp - 128 - sizeof(ucontext_t)) & ~15UL;
64 sig_uc = (ucontext_t *)sp;
98 sigctx_wrapper(ucontext_t *ucp, handler_t func, uint64_t *args)
104 setcontext((const ucontext_t *)ucp->uc_link);
H A Dmakecontext.c41 static void makectx_wrapper(ucontext_t *ucp, func_t func, uint64_t *args);
46 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
100 makectx_wrapper(ucontext_t *ucp, func_t func, uint64_t *args)
105 setcontext((const ucontext_t *)ucp->uc_link);
/freebsd-12-stable/lib/libc/powerpc/gen/
H A Dsignalcontext.c41 static void ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig,
47 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
50 ucontext_t *sig_uc;
60 sp = (ucp->uc_mcontext.mc_gpr[1] - sizeof(ucontext_t)) & ~15UL;
61 sig_uc = (ucontext_t *)sp;
94 ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig, uint32_t sig_si,
101 setcontext((const ucontext_t *)ucp->uc_link);
H A Dmakecontext.c42 void _ctx_done(ucontext_t *ucp);
46 _ctx_done(ucontext_t *ucp)
54 setcontext((const ucontext_t *)ucp->uc_link);
61 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
/freebsd-12-stable/lib/libc/powerpc64/gen/
H A Dsignalcontext.c41 static void ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig,
47 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
50 ucontext_t *sig_uc;
60 sp = (ucp->uc_mcontext.mc_gpr[1] - sizeof(ucontext_t)) & ~15UL;
61 sig_uc = (ucontext_t *)sp;
94 ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig, uint32_t sig_si,
101 setcontext((const ucontext_t *)ucp->uc_link);
H A Dmakecontext.c42 void _ctx_done(ucontext_t *ucp);
46 _ctx_done(ucontext_t *ucp)
54 setcontext((const ucontext_t *)ucp->uc_link);
61 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
/freebsd-12-stable/lib/libc/arm/gen/
H A Dgetcontextx.c39 ucontext_t ucontext;
54 ucontext_t *ucp;
85 ucontext_t *
100 return ((ucontext_t *)ctx);
/freebsd-12-stable/lib/libthread_db/arch/mips/
H A Dlibpthread_md.c44 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
55 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
65 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
73 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-12-stable/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c39 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
47 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
55 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc)
64 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-12-stable/lib/libthread_db/arch/sparc64/
H A Dlibpthread_md.c42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
49 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
68 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-12-stable/lib/libthread_db/arch/i386/
H A Dlibpthread_md.c42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
49 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
56 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
71 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
85 pt_fxsave_to_ucontext(const char* r, ucontext_t *uc)
92 pt_ucontext_to_fxsave(const ucontext_t *uc, char *r)
101 ucontext_t uc;
/freebsd-12-stable/sys/kern/
H A Dkern_context.c45 * The first two fields of a ucontext_t are the signal mask and the machine
49 #define UC_COPY_SIZE offsetof(ucontext_t, uc_link)
67 ucontext_t uc;
73 bzero(&uc, sizeof(ucontext_t));
87 ucontext_t uc;
108 ucontext_t uc;
114 bzero(&uc, sizeof(ucontext_t));
/freebsd-12-stable/lib/libc/i386/gen/
H A Dmakecontext.c42 extern void _ctx_start(ucontext_t *, int argc, ...);
48 _ctx_done (ucontext_t *ucp)
62 setcontext((const ucontext_t *)ucp->uc_link);
68 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
/freebsd-12-stable/lib/libc/mips/gen/
H A Dmakecontext.c53 void _ctx_done(ucontext_t *);
57 __makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
114 _ctx_done(ucontext_t *ucp)
120 setcontext((const ucontext_t *)ucp->uc_link);
H A Dsignalcontext.c51 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)

Completed in 285 milliseconds

1234