Searched refs:pcb_onfault (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-12-stable/sys/powerpc/powerpc/
H A Dcopyinout.c87 td->td_pcb->pcb_onfault = &env;
89 td->td_pcb->pcb_onfault = NULL;
98 td->td_pcb->pcb_onfault = NULL;
109 td->td_pcb->pcb_onfault = NULL;
126 td->td_pcb->pcb_onfault = &env;
128 td->td_pcb->pcb_onfault = NULL;
137 td->td_pcb->pcb_onfault = NULL;
148 td->td_pcb->pcb_onfault = NULL;
196 td->td_pcb->pcb_onfault = &env;
198 td->td_pcb->pcb_onfault
[all...]
H A Dgenassym.c202 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
H A Dtrap.c555 fb = td->td_pcb->pcb_onfault;
564 td->td_pcb->pcb_onfault = NULL; /* Returns twice, not thrice */
/freebsd-12-stable/sys/riscv/include/
H A Dpcb.h55 vm_offset_t pcb_onfault; /* Copyinout fault handler */ member in struct:pcb
/freebsd-12-stable/sys/arm/include/
H A Dpcb.h56 caddr_t pcb_onfault; /* On fault handler */ member in struct:pcb
/freebsd-12-stable/sys/arm64/include/
H A Dpcb.h48 vm_offset_t pcb_onfault; member in struct:pcb
/freebsd-12-stable/sys/arm/arm/
H A Dtrap-v4.c285 * 2. pcb_onfault not set or
286 * 3. pcb_onfault set and not LDRT/LDRBT/STRT/STRBT instruction.
290 __predict_true((pcb->pcb_onfault == NULL ||
353 onfault = pcb->pcb_onfault;
354 pcb->pcb_onfault = NULL;
356 pcb->pcb_onfault = onfault;
361 if (pcb->pcb_onfault) {
363 tf->tf_pc = (register_t)(intptr_t) pcb->pcb_onfault;
479 if (!td || !td->td_pcb->pcb_onfault)
482 tf->tf_pc = (int)td->td_pcb->pcb_onfault;
[all...]
H A Dtrap-v6.c113 * and vice versa data copying, so if pcb_onfault is not set, it's fatal.
203 * QQQ: Some additional functionality, like pcb_onfault but global,
447 if (__predict_false(pcb->pcb_onfault == cachebailout)) {
449 tf->tf_pc = (register_t)pcb->pcb_onfault;
486 pcb->pcb_onfault == NULL)) {
501 onfault = pcb->pcb_onfault;
502 pcb->pcb_onfault = NULL;
511 pcb->pcb_onfault = onfault;
519 pcb->pcb_onfault != NULL) {
521 tf->tf_pc = (int)pcb->pcb_onfault;
[all...]
H A Dgenassym.c68 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
/freebsd-12-stable/sys/powerpc/include/
H A Dpcb.h51 jmp_buf *pcb_onfault; /* For use during member in struct:pcb
/freebsd-12-stable/sys/powerpc/powermac/
H A Dgrackle.c254 oldfaultbuf = td->td_pcb->pcb_onfault;
255 td->td_pcb->pcb_onfault = &env;
257 td->td_pcb->pcb_onfault = oldfaultbuf;
281 td->td_pcb->pcb_onfault = oldfaultbuf;
/freebsd-12-stable/sys/i386/include/
H A Dpcb.h93 caddr_t pcb_onfault; /* copyin/out fault recovery */ member in struct:pcb
/freebsd-12-stable/sys/arm64/arm64/
H A Dgenassym.c55 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
H A Dtrap.c200 if ((lower || map == kernel_map || pcb->pcb_onfault != 0) &&
227 pcb->pcb_onfault != 0) {
229 frame->tf_elr = pcb->pcb_onfault;
/freebsd-12-stable/sys/amd64/include/
H A Dpcb.h94 caddr_t pcb_onfault; member in struct:pcb
/freebsd-12-stable/sys/powerpc/ofw/
H A Drtas.c234 oldfaultbuf = curthread->td_pcb->pcb_onfault;
235 curthread->td_pcb->pcb_onfault = &env;
243 curthread->td_pcb->pcb_onfault = oldfaultbuf;
/freebsd-12-stable/sys/riscv/riscv/
H A Dtrap.c209 if (pcb->pcb_onfault == 0)
234 if (pcb->pcb_onfault != 0) {
236 frame->tf_sepc = pcb->pcb_onfault;
H A Dgenassym.c65 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
/freebsd-12-stable/sys/mips/include/
H A Dpcb.h130 void *pcb_onfault; /* for copyin/copyout faults */ member in struct:pcb
/freebsd-12-stable/sys/mips/mips/
H A Dtrap.c512 * p->p_addr->u_pcb.pcb_onfault is set, otherwise, return old pc.
678 if (td->td_pcb->pcb_onfault != NULL) {
679 pc = (register_t)(intptr_t)td->td_pcb->pcb_onfault;
680 td->td_pcb->pcb_onfault = NULL;
690 if (td->td_pcb->pcb_onfault == NULL)
738 if (td->td_pcb->pcb_onfault != NULL) {
739 pc = (register_t)(intptr_t)td->td_pcb->pcb_onfault;
740 td->td_pcb->pcb_onfault = NULL;
1065 if (td->td_pcb->pcb_onfault != NULL) {
1066 pc = (register_t)(intptr_t)td->td_pcb->pcb_onfault;
[all...]
H A Dgenassym.c83 ASSYM(U_PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
/freebsd-12-stable/sys/amd64/amd64/
H A Dtrap.c489 if (curpcb->pcb_onfault != NULL) {
490 frame->tf_rip = (long)curpcb->pcb_onfault;
772 trap_is_smap(frame) || curpcb->pcb_onfault == NULL)) {
844 curpcb->pcb_onfault != NULL) {
845 frame->tf_rip = (long)curpcb->pcb_onfault;
H A Dgenassym.c148 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
/freebsd-12-stable/sys/i386/i386/
H A Dtrap.c591 if (curpcb->pcb_onfault != NULL) {
592 frame->tf_eip = (int)curpcb->pcb_onfault;
877 curpcb->pcb_onfault != NULL) {
878 frame->tf_eip = (int)curpcb->pcb_onfault;
H A Dgenassym.c152 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));

Completed in 141 milliseconds

12