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

1234

/freebsd-11-stable/sys/powerpc/include/
H A Dsigframe.h35 ucontext_t sf_uc;
/freebsd-11-stable/sys/sparc64/include/
H A Dsigframe.h36 ucontext_t sf_uc;
/freebsd-11-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-11-stable/sys/sys/
H A Ducontext.h58 int getcontext(ucontext_t *) __returns_twice;
59 ucontext_t *getcontextx(void);
60 int setcontext(const ucontext_t *);
61 void makecontext(ucontext_t *, void (*)(void), int, ...);
62 int signalcontext(ucontext_t *, int, __sighandler_t *);
63 int swapcontext(ucontext_t *, const ucontext_t *);
H A D_ucontext.h39 * sigcontext and ucontext_t. This allows us to
50 } ucontext_t; typedef in typeref:struct:__ucontext
/freebsd-11-stable/lib/libthread_db/
H A Dlibpthread_db.h84 void pt_reg_to_ucontext(const struct reg *, ucontext_t *);
85 void pt_ucontext_to_reg(const ucontext_t *, struct reg *);
86 void pt_fpreg_to_ucontext(const struct fpreg *, ucontext_t *);
87 void pt_ucontext_to_fpreg(const ucontext_t *, struct fpreg *);
89 void pt_fxsave_to_ucontext(const char *, ucontext_t *);
90 void pt_ucontext_to_fxsave(const ucontext_t *, char *);
/freebsd-11-stable/lib/libc/sys/
H A Dswapcontext.c48 swapcontext(ucontext_t *oucp, const ucontext_t *ucp)
51 return (((int (*)(ucontext_t *, const ucontext_t *))
H A Dsetcontext.c47 setcontext(const ucontext_t *uc)
50 return (((int (*)(const ucontext_t *))
/freebsd-11-stable/sys/x86/include/
H A Dsigframe.h56 ucontext_t sf_uc; /* = *sf_ucontext */
67 ucontext_t sf_uc; /* = *sf_ucontext */
/freebsd-11-stable/lib/libc/amd64/gen/
H A Dgetcontextx.c56 return (sizeof(ucontext_t) + xstate_sz);
63 ucontext_t *ucp;
65 ucp = (ucontext_t *)ctx;
84 ucontext_t *ucp;
86 ucp = (ucontext_t *)ctx;
95 ucontext_t *
110 return ((ucontext_t *)ctx);
H A Dsignalcontext.c39 static void sigctx_wrapper(ucontext_t *ucp, handler_t func, uint64_t *args);
44 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
48 ucontext_t *sig_uc;
61 sp = (ucp->uc_mcontext.mc_rsp - 128 - sizeof(ucontext_t)) & ~15UL;
62 sig_uc = (ucontext_t *)sp;
96 sigctx_wrapper(ucontext_t *ucp, handler_t func, uint64_t *args)
102 setcontext((const ucontext_t *)ucp->uc_link);
/freebsd-11-stable/lib/libc/powerpc/gen/
H A Dsignalcontext.c39 static void ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig,
45 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
48 ucontext_t *sig_uc;
58 sp = (ucp->uc_mcontext.mc_gpr[1] - sizeof(ucontext_t)) & ~15UL;
59 sig_uc = (ucontext_t *)sp;
92 ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig, uint32_t sig_si,
99 setcontext((const ucontext_t *)ucp->uc_link);
H A Dmakecontext.c40 void _ctx_done(ucontext_t *ucp);
44 _ctx_done(ucontext_t *ucp)
52 setcontext((const ucontext_t *)ucp->uc_link);
59 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
/freebsd-11-stable/lib/libc/powerpc64/gen/
H A Dsignalcontext.c39 static void ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig,
45 __signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
48 ucontext_t *sig_uc;
58 sp = (ucp->uc_mcontext.mc_gpr[1] - sizeof(ucontext_t)) & ~15UL;
59 sig_uc = (ucontext_t *)sp;
92 ctx_wrapper(ucontext_t *ucp, handler_t func, uint32_t sig, uint32_t sig_si,
99 setcontext((const ucontext_t *)ucp->uc_link);
H A Dmakecontext.c40 void _ctx_done(ucontext_t *ucp);
44 _ctx_done(ucontext_t *ucp)
52 setcontext((const ucontext_t *)ucp->uc_link);
59 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
/freebsd-11-stable/lib/libc/i386/gen/
H A Dgetcontextx.c88 return (sizeof(ucontext_t) + xstate_sz);
95 ucontext_t *ucp;
97 ucp = (ucontext_t *)ctx;
116 ucontext_t *ucp;
118 ucp = (ucontext_t *)ctx;
127 ucontext_t *
142 return ((ucontext_t *)ctx);
/freebsd-11-stable/lib/libthread_db/arch/powerpc/
H A Dlibpthread_md.c37 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
45 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
53 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc)
62 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-11-stable/lib/libthread_db/arch/sparc64/
H A Dlibpthread_md.c40 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
47 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
54 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
66 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-11-stable/lib/libc/arm/gen/
H A Dgetcontextx.c37 ucontext_t ucontext;
52 ucontext_t *ucp;
83 ucontext_t *
98 return ((ucontext_t *)ctx);
/freebsd-11-stable/lib/libthread_db/arch/mips/
H A Dlibpthread_md.c42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
53 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
63 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
71 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-11-stable/lib/libthread_db/arch/i386/
H A Dlibpthread_md.c40 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
47 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
54 pt_fpreg_to_ucontext(const struct fpreg* r, ucontext_t *uc)
69 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
83 pt_fxsave_to_ucontext(const char* r, ucontext_t *uc)
90 pt_ucontext_to_fxsave(const ucontext_t *uc, char *r)
99 ucontext_t uc;
/freebsd-11-stable/sys/kern/
H A Dkern_context.c43 * The first two fields of a ucontext_t are the signal mask and the machine
47 #define UC_COPY_SIZE offsetof(ucontext_t, uc_link)
65 ucontext_t uc;
71 bzero(&uc, sizeof(ucontext_t));
85 ucontext_t uc;
106 ucontext_t uc;
112 bzero(&uc, sizeof(ucontext_t));
/freebsd-11-stable/lib/libc/sparc64/gen/
H A Dmakecontext.c44 void _ctx_done(ucontext_t *ucp);
48 __makecontext(ucontext_t *ucp, void (*start)(void), int argc, ...)
79 _ctx_done(ucontext_t *ucp)
86 setcontext((const ucontext_t *)ucp->uc_link);
/freebsd-11-stable/lib/libthread_db/arch/aarch64/
H A Dlibpthread_md.c42 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
54 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
66 pt_fpreg_to_ucontext(const struct fpreg *r, ucontext_t *uc)
75 pt_ucontext_to_fpreg(const ucontext_t *uc, struct fpreg *r)
/freebsd-11-stable/lib/libthread_db/arch/riscv/
H A Dlibpthread_md.c45 pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
63 pt_ucontext_to_reg(const ucontext_t *uc, struct reg *r)
81 pt_fpreg_to_ucontext(const struct fpreg *r __unused, ucontext_t *uc __unused)
88 pt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r __unused)

Completed in 133 milliseconds

1234