/freebsd-11-stable/sys/amd64/ia32/ |
H A D | ia32_signal.c | 260 if (uap->ucp == NULL) 269 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE); 280 if (uap->ucp == NULL) 283 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); 301 if (uap->oucp == NULL || uap->ucp == NULL) 311 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); 769 struct ia32_ucontext4 *ucp; local 776 ucp = &uc; 778 eflags = ucp->uc_mcontext.mc_eflags; 793 cs = ucp 843 struct ia32_ucontext *ucp; local [all...] |
/freebsd-11-stable/sys/cddl/dev/dtrace/i386/ |
H A D | dtrace_isa.c | 159 ucontext_t *ucp = (ucontext_t *)oldcontext; local 160 greg_t *gregs = ucp->uc_mcontext.gregs; 165 oldcontext = dtrace_fulword(&ucp->uc_link); 167 ucontext32_t *ucp = (ucontext32_t *)oldcontext; local 168 greg32_t *gregs = ucp->uc_mcontext.gregs; 173 oldcontext = dtrace_fuword32(&ucp->uc_link); 383 ucontext_t *ucp = (ucontext_t *)oldcontext; local 384 greg_t *gregs = ucp->uc_mcontext.gregs; 389 oldcontext = dtrace_fulword(&ucp->uc_link); 391 ucontext_t *ucp local [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_linux.cpp | 236 ucontext_t *ucp = (ucontext_t*)context; local 237 *stack = (uptr)ucp->uc_stack.ss_sp; 238 *ssize = ucp->uc_stack.ss_size;
|
H A D | asan_interceptors.cpp | 270 struct ucontext_t *ucp) { 280 ReadContextStack(ucp, &stack, &ssize); 287 int res = real_swapcontext(oucp, ucp); 289 int res = REAL(swapcontext)(oucp, ucp); 293 // We need to clear shadow for ucp once again, as it may be in arbitrary 269 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, struct ucontext_t *ucp) argument
|
/freebsd-11-stable/lib/libmemstat/ |
H A D | memstat_uma.c | 302 struct uma_cache *ucp, *ucp_array; local 410 ucp = &ucp_array[i]; 411 mtp->mt_numallocs += ucp->uc_allocs; 412 mtp->mt_numfrees += ucp->uc_frees; 414 if (ucp->uc_allocbucket != NULL) { 415 ret = kread(kvm, ucp->uc_allocbucket, 425 if (ucp->uc_freebucket != NULL) { 426 ret = kread(kvm, ucp->uc_freebucket,
|
/freebsd-11-stable/tools/test/vm86/ |
H A D | vm86_test.c | 54 sig_handler(int signo, siginfo_t *si __unused, void *ucp) argument 59 uc = ucp;
|
/freebsd-11-stable/sys/kern/ |
H A D | init_main.c | 732 char *ucp, **uap, *arg0, *arg1; local 778 ucp = (char *)p->p_sysent->sv_usrstack; 779 (void)subyte(--ucp, 0); /* trailing zero */ 781 (void)subyte(--ucp, 's'); 786 (void)subyte(--ucp, 'f'); 792 (void)subyte(--ucp, 'C'); 797 (void)subyte(--ucp, '-'); 798 (void)subyte(--ucp, '-'); /* leading hyphen */ 799 arg1 = ucp; 804 (void)subyte(--ucp, [all...] |
/freebsd-11-stable/contrib/dialog/ |
H A D | trace.c | 103 const wchar_t *ucp = uc; local 106 wcsrtombs(buffer, &ucp, sizeof(buffer), &state);
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | freebsd32_machdep.c | 256 CTR2(KTR_SIG, "sigreturn: td=%p ucp=%p", td, uap->sigcntxp); 290 if (uap->ucp == NULL) 298 ret = copyout(&uc, uap->ucp, UC32_COPY_SIZE); 309 if (uap->ucp == NULL) 312 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE); 330 if (uap->oucp == NULL || uap->ucp == NULL) 340 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE);
|
H A D | swtch.S | 600 # sigreturn (ucp) 617 # sigreturn (ucp)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_mac.cpp | 39 int getcontext(ucontext_t *ucp) __attribute__((returns_twice)); 40 int setcontext(const ucontext_t *ucp); 410 TSAN_INTERCEPTOR(int, swapcontext, ucontext_t *oucp, const ucontext_t *ucp) { argument 412 SCOPED_INTERCEPTOR_RAW(swapcontext, oucp, ucp); 416 if (!oucp || !ucp) { 429 ret = setcontext(ucp);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/plockstat/ |
H A D | plockstat.c | 777 ucred_t *ucp; local 792 if ((ucp = ucred_get(getpid())) != NULL) { 794 if ((psp = ucred_getprivset(ucp, PRIV_EFFECTIVE)) != NULL && 799 ucred_free(ucp);
|
/freebsd-11-stable/sys/cddl/dev/dtrace/amd64/ |
H A D | dtrace_isa.c | 324 ucontext_t *ucp = (ucontext_t *)oldcontext; local 325 greg_t *gregs = ucp->uc_mcontext.gregs; 330 oldcontext = dtrace_fulword(&ucp->uc_link);
|
/freebsd-11-stable/sys/cddl/dev/dtrace/powerpc/ |
H A D | dtrace_isa.c | 401 ucontext_t *ucp = (ucontext_t *)oldcontext; local 402 greg_t *gregs = ucp->uc_mcontext.gregs; 407 oldcontext = dtrace_fulword(&ucp->uc_link);
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | exec_machdep.c | 309 CTR2(KTR_SIG, "sigreturn: td=%p ucp=%p", td, uap->sigcntxp); 769 CTR2(KTR_SIG, "sigreturn: td=%p ucp=%p", td, uap->sigcntxp); 801 if (uap->ucp == NULL) 809 ret = copyout(&uc, uap->ucp, UC32_COPY_SIZE); 820 if (uap->ucp == NULL) 823 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE); 841 if (uap->oucp == NULL || uap->ucp == NULL) 851 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE);
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | machdep.c | 893 struct ucontext4 *ucp; local 900 ucp = &uc; 902 eflags = ucp->uc_mcontext.mc_eflags; 933 bcopy(&ucp->uc_mcontext.mc_fs, tf, sizeof(struct trapframe)); 938 tf->tf_vm86_gs = ucp->uc_mcontext.mc_gs; 957 cs = ucp->uc_mcontext.mc_cs; 970 bcopy(&ucp->uc_mcontext.mc_fs, regs, sizeof(*regs)); 974 if (ucp->uc_mcontext.mc_onstack & 1) 979 kern_sigprocmask(td, SIG_SETMASK, &ucp->uc_sigmask, NULL, 0); 997 ucontext_t *ucp; local [all...] |
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | machdep.c | 484 ucontext_t *ucp; local 500 ucp = &uc; 501 if ((ucp->uc_mcontext.mc_flags & ~_MC_FLAG_MASK) != 0) { 503 td->td_name, ucp->uc_mcontext.mc_flags); 507 rflags = ucp->uc_mcontext.mc_rflags; 522 cs = ucp->uc_mcontext.mc_cs; 556 ret = set_fpcontext(td, &ucp->uc_mcontext, xfpustate, xfpustate_len); 562 bcopy(&ucp->uc_mcontext.mc_rdi, regs, sizeof(*regs)); 564 pcb->pcb_fsbase = ucp->uc_mcontext.mc_fsbase; 565 pcb->pcb_gsbase = ucp [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | channels.c | 979 u_char *ucp; local 994 ucp = buffer_ptr(b); 995 if (ucp[0] == 0x42) { /* Byte order MSB first. */ 996 proto_len = 256 * ucp[6] + ucp[7]; 997 data_len = 256 * ucp[8] + ucp[9]; 998 } else if (ucp[0] == 0x6c) { /* Byte order LSB first. */ 999 proto_len = ucp[6] + 256 * ucp[ [all...] |
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_private.h | 891 int __sys_setcontext(const ucontext_t *ucp); 892 int __sys_swapcontext(ucontext_t *oucp, const ucontext_t *ucp); 984 int __thr_setcontext(const ucontext_t *ucp); 993 int __thr_swapcontext(ucontext_t *oucp, const ucontext_t *ucp);
|
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 1800 struct ucred ucred, *ucp; local 1802 ucp = cnp->cn_cred; 1831 ucp = &ucred; 1840 (error = chkiq(ip, 1, ucp, 0))) { 2557 struct ucred ucred, *ucp; local 2559 ucp = cnp->cn_cred; 2587 ucp = &ucred; 2596 (error = chkiq(ip, 1, ucp, 0))) {
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1612 #define __sanitizer_syscall_pre_getcontext(ucp) \ 1613 __sanitizer_syscall_pre_impl_getcontext((long long)(ucp)) 1614 #define __sanitizer_syscall_post_getcontext(res, ucp) \ 1615 __sanitizer_syscall_post_impl_getcontext(res, (long long)(ucp)) 1616 #define __sanitizer_syscall_pre_setcontext(ucp) \ 1617 __sanitizer_syscall_pre_impl_setcontext((long long)(ucp)) 1618 #define __sanitizer_syscall_post_setcontext(res, ucp) \ 1619 __sanitizer_syscall_post_impl_setcontext(res, (long long)(ucp)) 1620 #define __sanitizer_syscall_pre__lwp_create(ucp, flags, new_lwp) \ 1622 (long long)(ucp), (lon [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | scterm-sck.c | 1016 #define UCVP(ucp) ((u_char volatile *)(ucp))
|
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 3497 u_char *ucp, *ucp2; local 3582 ucp = (u_char *)&rin->sin_addr.s_addr; 3584 sprintf(addrbuf, "%d.%d.%d.%d.%d.%d", ucp[0] & 0xff, 3585 ucp[1] & 0xff, ucp[2] & 0xff, ucp[3] & 0xff, 3596 ucp = inet_ntop(AF_INET6, &rin6->sin6_addr, addrbuf, 3598 if (ucp != NULL) 3599 i = strlen(ucp);
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | machdep.c | 424 ucontext_t *ucp; member in struct:sigreturn_args
|
/freebsd-11-stable/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 605 printf(ARGS(rt_sigreturn, "%p"), (void *)args->ucp); 612 if (copyin(args->ucp, &uc, sizeof(uc)) != 0)
|