/freebsd/sys/kern/ |
H A D | kern_context.c | 55 struct __ucontext *oucp; member 106 if (uap->oucp == NULL || uap->ucp == NULL) in sys_swapcontext() 114 ret = copyout(&uc, uap->oucp, UC_COPY_SIZE); in sys_swapcontext()
|
H A D | systrace_args.c | 2113 uarg[a++] = (intptr_t)p->oucp; /* struct __ucontext * */ in systrace_args()
|
/freebsd/lib/libc/sys/ |
H A D | swapcontext.c | 45 swapcontext(ucontext_t *oucp, const ucontext_t *ucp) in swapcontext() argument 47 return (INTERPOS_SYS(swapcontext, oucp, ucp)); in swapcontext()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_mac.cpp | 405 TSAN_INTERCEPTOR(int, swapcontext, ucontext_t *oucp, const ucontext_t *ucp) { in TSAN_INTERCEPTOR() argument 407 SCOPED_INTERCEPTOR_RAW(swapcontext, oucp, ucp); in TSAN_INTERCEPTOR() 411 if (!oucp || !ucp) { in TSAN_INTERCEPTOR() 417 oucp->uc_onstack &= ~UCF_SWAPPED; in TSAN_INTERCEPTOR() 419 int ret = getcontext(oucp); in TSAN_INTERCEPTOR() 420 if (!(oucp->uc_onstack & UCF_SWAPPED)) { in TSAN_INTERCEPTOR() 423 oucp->uc_onstack |= UCF_SWAPPED; in TSAN_INTERCEPTOR()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_sig.c | 800 __thr_swapcontext(ucontext_t *oucp, const ucontext_t *ucp) in __thr_swapcontext() argument 804 if (oucp == NULL || ucp == NULL) { in __thr_swapcontext() 813 return (__sys_swapcontext(oucp, ucp)); in __thr_swapcontext()
|
H A D | thr_private.h | 900 int __sys_swapcontext(ucontext_t *oucp, const ucontext_t *ucp); 1000 int __thr_swapcontext(ucontext_t *oucp, const ucontext_t *ucp);
|
/freebsd/sys/arm64/arm64/ |
H A D | freebsd32_machdep.c | 326 if (uap->oucp == NULL || uap->ucp == NULL) in freebsd32_swapcontext() 334 ret = copyout(&uc, uap->oucp, UC32_COPY_SIZE); in freebsd32_swapcontext()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_interceptors.cpp | 399 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, argument 417 int res = real_swapcontext(oucp, ucp); 419 int res = REAL(swapcontext)(oucp, ucp);
|
/freebsd/sys/powerpc/powerpc/ |
H A D | exec_machdep.c | 987 if (uap->oucp == NULL || uap->ucp == NULL) in freebsd32_swapcontext() 995 ret = copyout(&uc, uap->oucp, UC32_COPY_SIZE); in freebsd32_swapcontext()
|
/freebsd/sys/amd64/ia32/ |
H A D | ia32_signal.c | 301 if (uap->oucp == NULL || uap->ucp == NULL) in freebsd32_swapcontext() 309 ret = copyout(&uc, uap->oucp, UC_COPY_SIZE); in freebsd32_swapcontext()
|
/freebsd/lib/libsys/ |
H A D | _libsys.h | 717 int __sys_swapcontext(struct __ucontext * oucp, const struct __ucontext * ucp);
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_proto.h | 349 …char oucp_l_[PADL_(struct __ucontext32 *)]; struct __ucontext32 * oucp; char oucp_r_[PADR_(struct … member
|
H A D | freebsd32_systrace_args.c | 1980 uarg[a++] = (intptr_t)p->oucp; /* struct __ucontext32 * */ in systrace_args()
|
/freebsd/sys/sys/ |
H A D | sysproto.h | 1128 …char oucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * oucp; char oucp_r_[PADR_(struct __uc… member
|