Searched refs:ucp (Results 26 - 50 of 64) sorted by relevance

123

/freebsd-11-stable/sys/amd64/ia32/
H A Dia32_signal.c260 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 Ddtrace_isa.c159 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 Dasan_linux.cpp236 ucontext_t *ucp = (ucontext_t*)context; local
237 *stack = (uptr)ucp->uc_stack.ss_sp;
238 *ssize = ucp->uc_stack.ss_size;
H A Dasan_interceptors.cpp270 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 Dmemstat_uma.c302 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 Dvm86_test.c54 sig_handler(int signo, siginfo_t *si __unused, void *ucp) argument
59 uc = ucp;
/freebsd-11-stable/sys/kern/
H A Dinit_main.c732 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 Dtrace.c103 const wchar_t *ucp = uc; local
106 wcsrtombs(buffer, &ucp, sizeof(buffer), &state);
/freebsd-11-stable/sys/mips/mips/
H A Dfreebsd32_machdep.c256 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 Dswtch.S600 # sigreturn (ucp)
617 # sigreturn (ucp)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp39 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 Dplockstat.c777 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 Ddtrace_isa.c324 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 Ddtrace_isa.c401 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 Dexec_machdep.c309 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 Dmachdep.c893 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 Dmachdep.c484 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 Dchannels.c979 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 Dthr_private.h891 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 Dufs_vnops.c1800 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 Dnetbsd_syscall_hooks.h1612 #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 Dscterm-sck.c1016 #define UCVP(ucp) ((u_char volatile *)(ucp))
/freebsd-11-stable/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c3497 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 Dmachdep.c424 ucontext_t *ucp; member in struct:sigreturn_args
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_sysvec.c605 printf(ARGS(rt_sigreturn, "%p"), (void *)args->ucp);
612 if (copyin(args->ucp, &uc, sizeof(uc)) != 0)

Completed in 178 milliseconds

123