/arch/alpha/include/asm/ |
D | a.out-core.h | 22 static inline void aout_dump_thread(struct pt_regs *pt, struct user *dump) in aout_dump_thread() argument 25 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in aout_dump_thread() 43 dump->regs[EF_V0] = pt->r0; in aout_dump_thread() 44 dump->regs[EF_T0] = pt->r1; in aout_dump_thread() 45 dump->regs[EF_T1] = pt->r2; in aout_dump_thread() 46 dump->regs[EF_T2] = pt->r3; in aout_dump_thread() 47 dump->regs[EF_T3] = pt->r4; in aout_dump_thread() 48 dump->regs[EF_T4] = pt->r5; in aout_dump_thread() 49 dump->regs[EF_T5] = pt->r6; in aout_dump_thread() 50 dump->regs[EF_T6] = pt->r7; in aout_dump_thread() [all …]
|
/arch/ia64/kernel/ |
D | signal.c | 67 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext() 68 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext() 69 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext() 70 err |= __get_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in restore_sigcontext() 71 err |= __get_user(scr->pt.b0, &sc->sc_br[0]); /* b0 (rp) */ in restore_sigcontext() 72 err |= __get_user(scr->pt.b6, &sc->sc_br[6]); /* b6 */ in restore_sigcontext() 73 err |= __copy_from_user(&scr->pt.r1, &sc->sc_gr[1], 8); /* r1 */ in restore_sigcontext() 74 err |= __copy_from_user(&scr->pt.r8, &sc->sc_gr[8], 4*8); /* r8-r11 */ in restore_sigcontext() 75 err |= __copy_from_user(&scr->pt.r12, &sc->sc_gr[12], 2*8); /* r12-r13 */ in restore_sigcontext() 76 err |= __copy_from_user(&scr->pt.r15, &sc->sc_gr[15], 8); /* r15 */ in restore_sigcontext() [all …]
|
D | ptrace.c | 64 in_syscall (struct pt_regs *pt) in in_syscall() argument 66 return (long) pt->cr_ifs >= 0; in in_syscall() 74 ia64_get_scratch_nat_bits (struct pt_regs *pt, unsigned long scratch_unat) in ia64_get_scratch_nat_bits() argument 78 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_get_scratch_nat_bits() 113 ia64_put_scratch_nat_bits (struct pt_regs *pt, unsigned long nat) in ia64_put_scratch_nat_bits() argument 117 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_put_scratch_nat_bits() 257 struct pt_regs *pt; in get_rnat() local 259 pt = task_pt_regs(task); in get_rnat() 261 ubspstore = (unsigned long *) pt->ar_bspstore; in get_rnat() 283 urnat = (pt->ar_rnat & umask); in get_rnat() [all …]
|
D | process.c | 175 if (fsys_mode(current, &scr->pt)) { in do_notify_resume_user() 180 if (!ia64_psr(&scr->pt)->lp) in do_notify_resume_user() 181 ia64_psr(&scr->pt)->lp = 1; in do_notify_resume_user() 202 tracehook_notify_resume(&scr->pt); in do_notify_resume_user() 520 struct pt_regs *pt; in do_copy_task_regs() local 530 pt = (struct pt_regs *) (sp + 16); in do_copy_task_regs() 532 urbs_end = ia64_get_user_rbs_end(task, pt, &cfm); in do_copy_task_regs() 534 if (ia64_sync_user_rbs(task, info->sw, pt->ar_bspstore, urbs_end) < 0) in do_copy_task_regs() 565 dst[42] = ip + ia64_psr(pt)->ri; in do_copy_task_regs() 567 dst[44] = pt->cr_ipsr & IA64_PSR_UM; in do_copy_task_regs() [all …]
|
/arch/alpha/kernel/ |
D | process.c | 326 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument 329 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread() 331 dest[ 0] = pt->r0; in dump_elf_thread() 332 dest[ 1] = pt->r1; in dump_elf_thread() 333 dest[ 2] = pt->r2; in dump_elf_thread() 334 dest[ 3] = pt->r3; in dump_elf_thread() 335 dest[ 4] = pt->r4; in dump_elf_thread() 336 dest[ 5] = pt->r5; in dump_elf_thread() 337 dest[ 6] = pt->r6; in dump_elf_thread() 338 dest[ 7] = pt->r7; in dump_elf_thread() [all …]
|
/arch/parisc/kernel/ |
D | binfmt_elf32.c | 15 #define ELF_CORE_COPY_REGS(dst, pt) \ argument 18 for (i = 0; i < 32; i++) dst[i] = (elf_greg_t) pt->gr[i]; \ 19 for (i = 0; i < 8; i++) dst[32 + i] = (elf_greg_t) pt->sr[i]; \ 21 dst[40] = (elf_greg_t) pt->iaoq[0]; dst[41] = (elf_greg_t) pt->iaoq[1]; \ 22 dst[42] = (elf_greg_t) pt->iasq[0]; dst[43] = (elf_greg_t) pt->iasq[1]; \ 23 dst[44] = (elf_greg_t) pt->sar; dst[45] = (elf_greg_t) pt->iir; \ 24 dst[46] = (elf_greg_t) pt->isr; dst[47] = (elf_greg_t) pt->ior; \
|
/arch/sparc/kernel/ |
D | syscalls.S | 6 ba,pt %xcc, execve_merge 24 ba,pt %xcc, sys_sparc_pipe_real 27 ba,pt %xcc, c_sys_nis_syscall 30 ba,pt %xcc, sparc_memory_ordering 33 ba,pt %xcc, do_sigaltstack 37 ba,pt %xcc, do_sys32_sigstack 40 ba,pt %xcc, do_sys32_sigaltstack 66 be,pt %icc, rtrap 70 ba,pt %xcc, rtrap 100 ba,pt %xcc, sys_clone [all …]
|
D | winfixup.S | 31 ba,pt %xcc, etrap 35 ba,pt %xcc, rtrap 52 bne,pt %xcc, 1f 69 ba,pt %xcc, 2f 99 ba,pt %xcc, etrap 103 ba,a,pt %xcc, rtrap 115 ba,pt %xcc, etrap 120 bne,pt %icc, 1f 125 ba,a,pt %xcc, rtrap 130 ba,a,pt %xcc, rtrap [all …]
|
D | misctrap.S | 17 ba,pt %xcc, etrap 21 ba,pt %xcc, rtrap 43 ba,pt %xcc, etrap 49 ba,pt %xcc, rtrap 62 ba,pt %xcc, etrap 68 ba,pt %xcc, rtrap 81 ba,pt %xcc, etrap 87 ba,pt %xcc, rtrap 95 ba,pt %xcc, rtrap
|
D | sun4v_tlb_miss.S | 146 ba,pt %xcc, sparc64_realfault_common 159 ba,a,pt %xcc, sun4v_tsb_miss_common 183 be,pt %xcc, 80f 194 ba,pt %xcc, tsb_miss_page_table_walk_sun4v_fastpath 211 ble,pt %icc, 1f 213 ba,pt %xcc, etraptl1 216 1: ba,pt %xcc, etrap 238 ble,pt %icc, 1f 240 ba,pt %xcc, etraptl1 243 1: ba,pt %xcc, etrap [all …]
|
D | spiterrs.S | 82 bleu,pt %xcc, 1f 85 ba,pt %xcc, etraptl1 88 ba,pt %xcc, 2f 91 1: ba,pt %xcc, etrap_irq 103 ba,pt %xcc, rtrap 153 ba,pt %xcc, __spitfire_cee_trap_continue 173 ba,pt %xcc, winfix_dax 176 ba,pt %xcc, etraptl1 182 ba,pt %xcc, rtrap 197 ba,pt %xcc, etrap [all …]
|
D | cherrs.S | 106 ba,pt %xcc, etrap_irq 115 ba,a,pt %xcc, rtrap_irq 148 ba,pt %xcc, etrap_irq 157 ba,a,pt %xcc, rtrap_irq 191 ble,pt %icc, 1b ! Not yet 212 bge,pt %icc, 2b 215 bge,pt %icc, 1b 217 ba,pt %xcc, dcpe_icpe_tl1_common 222 ba,pt %xcc, etraptl1 227 ba,pt %xcc, rtrap [all …]
|
D | ktlb.S | 84 ba,pt %xcc, sun4v_itlb_load 98 ba,pt %xcc, sparc64_realfault_common 108 ba,pt %xcc, kvmap_itlb_load 118 ba,pt %xcc, kvmap_dtlb_load 125 ba,pt %xcc, kvmap_dtlb_load 170 ba,pt %xcc, 2f 211 bne,a,pt %xcc, 1f 218 ba,pt %xcc, kvmap_dtlb_tsb4m_load 259 ba,pt %xcc, sun4v_dtlb_load 269 ba,pt %xcc, kvmap_dtlb_load [all …]
|
/arch/sparc/include/asm/ |
D | ttable.h | 26 ba,pt %xcc, etrap; \ 30 ba,pt %xcc, rtrap; \ 36 ba,pt %xcc, etrap; \ 40 ba,pt %xcc, rtrap; \ 45 ba,pt %xcc, do_fptrap; \ 49 ba,pt %xcc, rtrap; \ 54 ba,pt %xcc, routine; \ 59 ba,pt %xcc, routine; \ 65 ba,pt %xcc, etraptl1; \ 69 ba,pt %xcc, rtrap; \ [all …]
|
/arch/sparc/lib/ |
D | bzero.S | 19 ba,pt %xcc, 1f 32 be,pt %icc, 2f 39 be,pt %icc, 3f 63 bne,pt %icc, 4b 69 bne,pt %icc, 5b 71 6: brz,pt %o1, __bzero_done 76 bne,pt %icc, 1b 100 be,pt %icc, 2f 107 be,pt %icc, 3f 131 bne,pt %icc, 4b [all …]
|
D | NG2memcpy.S | 204 blu,pt %XCC, 75f 222 be,pt %XCC, 2f 230 bne,pt %XCC, 1b 249 brz,pt %g2, 190f 259 ba,a,pt %xcc, 180f 264 ba,a,pt %xcc, 160f 271 ba,a,pt %xcc, 140f 285 bne,pt %xcc, 1b 287 ba,pt %xcc, 195f 299 bne,pt %xcc, 1b [all …]
|
D | U3memcpy.S | 98 blu,pt %XCC, 70f 108 be,pt %XCC, 2f 119 be,pt %icc, 2f 125 bgu,pt %XCC, 1b 132 be,pt %icc, 3f 149 bne,pt %icc, 1b 180 bgu,pt %XCC, 1f 182 ba,pt %xcc, 2f 209 bg,pt %XCC, 1b 230 be,pt %XCC, 1f [all …]
|
D | NGmemcpy.S | 108 blu,pt %XCC, 70f 124 be,pt %XCC, 2f 132 bne,pt %XCC, 1b 152 be,pt %XCC, 50f 156 be,pt %XCC, 10f 208 bne,pt %XCC, 8b 211 ba,pt %XCC, 60f 241 bne,pt %XCC, 9b 244 ba,pt %XCC, 60f 272 bne,pt %XCC, 1b [all …]
|
D | copy_in_user.S | 50 bgu,pt %XCC, 1b 53 be,pt %XCC, 1f 61 be,pt %XCC, 85f 63 ba,pt %xcc, 90f 76 bgu,pt %XCC, 82b 88 bgu,pt %XCC, 90b
|
D | hweight.S | 6 ba,pt %xcc, __sw_hweight8 18 ba,pt %xcc, __sw_hweight16 30 ba,pt %xcc, __sw_hweight32 42 ba,pt %xcc, __sw_hweight64
|
D | GENbzero.S | 28 ba,pt %xcc, 1f 49 be,pt %xcc, 2f 55 bne,pt %xcc, 1b 60 be,pt %xcc, GENbzero_pre_loop 66 bne,pt %xcc, 1b 82 bne,pt %xcc, GENbzero_loop 94 bne,pt %xcc, 1b 96 2: brz,pt %o1, GENbzero_done 102 bne,pt %icc, 1b 125 ba,pt %xcc, GENbzero_from_clear_user
|
D | NGbzero.S | 27 ba,pt %xcc, 1f 50 be,pt %xcc, 2f 56 bne,pt %xcc, 1b 61 be,pt %xcc, NGbzero_pre_loop 67 bne,pt %xcc, 1b 84 bne,pt %xcc, NGbzero_loop 96 bne,pt %xcc, 1b 98 2: brz,pt %o1, NGbzero_done 104 bne,pt %icc, 1b 128 ba,pt %xcc, NGbzero_from_clear_user
|
/arch/x86/kernel/ |
D | vm86_32.c | 74 #define AL(regs) (((unsigned char *)&((regs)->pt.ax))[0]) 75 #define AH(regs) (((unsigned char *)&((regs)->pt.ax))[1]) 76 #define IP(regs) (*(unsigned short *)&((regs)->pt.ip)) 77 #define SP(regs) (*(unsigned short *)&((regs)->pt.sp)) 101 ret += copy_to_user(user, regs, offsetof(struct kernel_vm86_regs, pt.orig_ax)); in copy_vm86_regs_to_user() 102 ret += copy_to_user(&user->orig_eax, ®s->pt.orig_ax, in copy_vm86_regs_to_user() 104 offsetof(struct kernel_vm86_regs, pt.orig_ax)); in copy_vm86_regs_to_user() 117 ret += copy_from_user(regs, user, offsetof(struct kernel_vm86_regs, pt.orig_ax)); in copy_vm86_regs_from_user() 119 ret += copy_from_user(®s->pt.orig_ax, &user->orig_eax, in copy_vm86_regs_from_user() 121 offsetof(struct kernel_vm86_regs, pt.orig_ax) + in copy_vm86_regs_from_user() [all …]
|
/arch/parisc/include/asm/ |
D | elf.h | 277 #define ELF_CORE_COPY_REGS(dst, pt) \ argument 279 memcpy(dst + 0, pt->gr, 32 * sizeof(elf_greg_t)); \ 280 memcpy(dst + 32, pt->sr, 8 * sizeof(elf_greg_t)); \ 281 memcpy(dst + 40, pt->iaoq, 2 * sizeof(elf_greg_t)); \ 282 memcpy(dst + 42, pt->iasq, 2 * sizeof(elf_greg_t)); \ 283 dst[44] = pt->sar; dst[45] = pt->iir; \ 284 dst[46] = pt->isr; dst[47] = pt->ior; \
|
/arch/arm/plat-omap/include/plat/ |
D | serial.h | 99 #define is_omap_port(pt) ({int __ret = 0; \ argument 100 if ((pt)->port.mapbase == OMAP1_UART1_BASE || \ 101 (pt)->port.mapbase == OMAP1_UART2_BASE || \ 102 (pt)->port.mapbase == OMAP1_UART3_BASE) \
|