| /f-stack/freebsd/kern/ |
| H A D | kern_context.c | 53 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 D | systrace_args.c | 2112 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 D | inet_ntoa.c | 41 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 D | ia32_signal.c | 260 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 D | memstat_uma.c | 325 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 D | freebsd32_machdep.c | 225 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 D | machdep.c | 775 ucontext_t *ucp; member
|
| /f-stack/freebsd/mips/mips/ |
| H A D | freebsd32_machdep.c | 273 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 D | swtch.S | 663 # sigreturn (ucp) 680 # sigreturn (ucp)
|
| /f-stack/freebsd/i386/i386/ |
| H A D | machdep.c | 867 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 D | machdep.c | 481 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 D | linux_sysvec.c | 699 if (copyin(args->ucp, &uc, sizeof(uc)) != 0) in linux_rt_sigreturn()
|
| H A D | linux_systrace_args.c | 1216 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
|
| H A D | linux_proto.h | 541 …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 D | linux32_sysvec.c | 577 if (copyin(args->ucp, &uc, sizeof(uc)) != 0) in linux_rt_sigreturn()
|
| H A D | linux32_systrace_args.c | 1173 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
|
| H A D | linux32_proto.h | 540 …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 D | sysproto.h | 1132 …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 D | linux_systrace_args.c | 1103 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
|
| H A D | linux_proto.h | 584 …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 D | linux_systrace_args.c | 1016 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
|
| H A D | linux_proto.h | 445 …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 D | linux_systrace_args.c | 150 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ in systrace_args()
|
| H A D | linux_proto.h | 89 …char ucp_l_[PADL_(struct l_ucontext *)]; struct l_ucontext * ucp; char ucp_r_[PADR_(struct l_ucont… member
|