Home
last modified time | relevance | path

Searched refs:ucp (Results 1 – 24 of 24) sorted by relevance

/f-stack/freebsd/kern/
H A Dkern_context.c53 struct __ucontext *ucp; member
56 const struct __ucontext_t *ucp; variable
60 const struct __ucontext_t *ucp; member
70 if (uap->ucp == NULL) in sys_getcontext()
78 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE); in sys_getcontext()
89 if (uap->ucp == NULL) in sys_setcontext()
92 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); in sys_setcontext()
110 if (uap->oucp == NULL || uap->ucp == NULL) in sys_swapcontext()
120 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); in sys_swapcontext()
H A Dsystrace_args.c2112 uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */ in systrace_args()
2119 uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */ in systrace_args()
2127 uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */ in systrace_args()
/f-stack/freebsd/libkern/
H A Dinet_ntoa.c41 unsigned char *ucp = (unsigned char *)&ina; in inet_ntoa_r() local
44 ucp[0] & 0xff, in inet_ntoa_r()
45 ucp[1] & 0xff, in inet_ntoa_r()
46 ucp[2] & 0xff, in inet_ntoa_r()
47 ucp[3] & 0xff); in inet_ntoa_r()
/f-stack/freebsd/amd64/ia32/
H A Dia32_signal.c260 if (uap->ucp == NULL) in freebsd32_getcontext()
279 if (uap->ucp == NULL) in freebsd32_setcontext()
767 struct ia32_ucontext4 *ucp; local
774 ucp = &uc;
776 eflags = ucp->uc_mcontext.mc_eflags;
791 cs = ucp->uc_mcontext.mc_cs;
817 regs->tf_ss = ucp->uc_mcontext.mc_ss;
841 struct ia32_ucontext *ucp; local
850 ucp = &uc;
852 eflags = ucp->uc_mcontext.mc_eflags;
[all …]
/f-stack/tools/libmemstat/
H A Dmemstat_uma.c325 struct uma_cache *ucp, *ucp_array; in memstat_kvm_uma() local
449 ucp = &ucp_array[i]; in memstat_kvm_uma()
450 mtp->mt_numallocs += ucp->uc_allocs; in memstat_kvm_uma()
451 mtp->mt_numfrees += ucp->uc_frees; in memstat_kvm_uma()
453 mtp->mt_free += ucp->uc_allocbucket.ucb_cnt; in memstat_kvm_uma()
454 mtp->mt_free += ucp->uc_freebucket.ucb_cnt; in memstat_kvm_uma()
455 mtp->mt_free += ucp->uc_crossbucket.ucb_cnt; in memstat_kvm_uma()
/f-stack/freebsd/arm64/arm64/
H A Dfreebsd32_machdep.c225 if (uap->ucp == NULL) in freebsd32_getcontext()
233 ret = copyout(&uc, uap->ucp, UC_COPY_SIZE); in freebsd32_getcontext()
244 if (uap->ucp == NULL) in freebsd32_setcontext()
247 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); in freebsd32_setcontext()
285 if (uap->oucp == NULL || uap->ucp == NULL) in freebsd32_swapcontext()
295 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE); in freebsd32_swapcontext()
H A Dmachdep.c775 ucontext_t *ucp; member
/f-stack/freebsd/mips/mips/
H A Dfreebsd32_machdep.c273 if (uap->ucp == NULL) in freebsd32_getcontext()
281 ret = copyout(&uc, uap->ucp, UC32_COPY_SIZE); in freebsd32_getcontext()
292 if (uap->ucp == NULL) in freebsd32_setcontext()
295 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE); in freebsd32_setcontext()
313 if (uap->oucp == NULL || uap->ucp == NULL) in freebsd32_swapcontext()
323 ret = copyin(uap->ucp, &uc, UC32_COPY_SIZE); in freebsd32_swapcontext()
H A Dswtch.S663 # sigreturn (ucp)
680 # sigreturn (ucp)
/f-stack/freebsd/i386/i386/
H A Dmachdep.c867 struct ucontext4 *ucp; local
874 ucp = &uc;
876 eflags = ucp->uc_mcontext.mc_eflags;
912 tf->tf_vm86_gs = ucp->uc_mcontext.mc_gs;
931 cs = ucp->uc_mcontext.mc_cs;
948 if (ucp->uc_mcontext.mc_onstack & 1)
971 ucontext_t *ucp; local
982 ucp = &uc;
989 eflags = ucp->uc_mcontext.mc_eflags;
1045 cs = ucp->uc_mcontext.mc_cs;
[all …]
/f-stack/freebsd/amd64/amd64/
H A Dmachdep.c481 ucontext_t *ucp; local
497 ucp = &uc;
498 if ((ucp->uc_mcontext.mc_flags & ~_MC_FLAG_MASK) != 0) {
500 td->td_name, ucp->uc_mcontext.mc_flags);
504 rflags = ucp->uc_mcontext.mc_rflags;
519 cs = ucp->uc_mcontext.mc_cs;
559 bcopy(&ucp->uc_mcontext.mc_rdi, regs, sizeof(*regs));
561 pcb->pcb_fsbase = ucp->uc_mcontext.mc_fsbase;
562 pcb->pcb_gsbase = ucp->uc_mcontext.mc_gsbase;
565 if (ucp->uc_mcontext.mc_onstack & 1)
[all …]
/f-stack/freebsd/i386/linux/
H A Dlinux_sysvec.c699 if (copyin(args->ucp, &uc, sizeof(uc)) != 0) in linux_rt_sigreturn()
H A Dlinux_systrace_args.c1216 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
H A Dlinux_proto.h541 …char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucont… member
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_sysvec.c577 if (copyin(args->ucp, &uc, sizeof(uc)) != 0) in linux_rt_sigreturn()
H A Dlinux32_systrace_args.c1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
H A Dlinux32_proto.h540 …char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucont… member
/f-stack/freebsd/sys/
H A Dsysproto.h1132 …char ucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * ucp; char ucp_r_[PADR_(struct __ucont… member
1135 …char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(co… member
1139 …char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(co… member
/f-stack/freebsd/arm64/linux/
H A Dlinux_systrace_args.c1103 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
H A Dlinux_proto.h584 …char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucont… member
/f-stack/freebsd/arm/linux/
H A Dlinux_systrace_args.c1016 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
H A Dlinux_proto.h445 …char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucont… member
/f-stack/freebsd/amd64/linux/
H A Dlinux_systrace_args.c150 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
H A Dlinux_proto.h89 …char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucont… member