Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 101) sorted by relevance

12345

/arch/alpha/include/asm/
Da.out-core.h22 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/
Dsignal.c58 err |= __get_user(scr->pt.ar_unat, &sc->sc_ar_unat); in restore_sigcontext()
59 err |= __get_user(scr->pt.ar_fpsr, &sc->sc_ar_fpsr); in restore_sigcontext()
60 err |= __get_user(scr->pt.ar_pfs, &sc->sc_ar_pfs); in restore_sigcontext()
61 err |= __get_user(scr->pt.pr, &sc->sc_pr); /* predicates */ in restore_sigcontext()
62 err |= __get_user(scr->pt.b0, &sc->sc_br[0]); /* b0 (rp) */ in restore_sigcontext()
63 err |= __get_user(scr->pt.b6, &sc->sc_br[6]); /* b6 */ in restore_sigcontext()
64 err |= __copy_from_user(&scr->pt.r1, &sc->sc_gr[1], 8); /* r1 */ in restore_sigcontext()
65 err |= __copy_from_user(&scr->pt.r8, &sc->sc_gr[8], 4*8); /* r8-r11 */ in restore_sigcontext()
66 err |= __copy_from_user(&scr->pt.r12, &sc->sc_gr[12], 2*8); /* r12-r13 */ in restore_sigcontext()
67 err |= __copy_from_user(&scr->pt.r15, &sc->sc_gr[15], 8); /* r15 */ in restore_sigcontext()
[all …]
Dptrace.c64 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 …]
/arch/alpha/kernel/
Dprocess.c285 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread() argument
288 struct switch_stack * sw = ((struct switch_stack *) pt) - 1; in dump_elf_thread()
290 dest[ 0] = pt->r0; in dump_elf_thread()
291 dest[ 1] = pt->r1; in dump_elf_thread()
292 dest[ 2] = pt->r2; in dump_elf_thread()
293 dest[ 3] = pt->r3; in dump_elf_thread()
294 dest[ 4] = pt->r4; in dump_elf_thread()
295 dest[ 5] = pt->r5; in dump_elf_thread()
296 dest[ 6] = pt->r6; in dump_elf_thread()
297 dest[ 7] = pt->r7; in dump_elf_thread()
[all …]
/arch/parisc/kernel/
Dbinfmt_elf32.c15 #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/x86/kernel/
Dvm86_32.c76 #define AL(regs) (((unsigned char *)&((regs)->pt.ax))[0])
77 #define AH(regs) (((unsigned char *)&((regs)->pt.ax))[1])
78 #define IP(regs) (*(unsigned short *)&((regs)->pt.ip))
79 #define SP(regs) (*(unsigned short *)&((regs)->pt.sp))
112 set_flags(regs->pt.flags, VEFLAGS, X86_EFLAGS_VIF | vm86->veflags_mask); in save_v86_state()
123 put_user_ex(regs->pt.bx, &user->regs.ebx); in save_v86_state()
124 put_user_ex(regs->pt.cx, &user->regs.ecx); in save_v86_state()
125 put_user_ex(regs->pt.dx, &user->regs.edx); in save_v86_state()
126 put_user_ex(regs->pt.si, &user->regs.esi); in save_v86_state()
127 put_user_ex(regs->pt.di, &user->regs.edi); in save_v86_state()
[all …]
/arch/sparc/lib/
DNG4memcpy.S104 ba,pt %xcc, __restore_asi
108 ba,pt %xcc, __restore_asi
112 ba,pt %xcc, __restore_asi
116 ba,pt %xcc, __restore_asi
121 ba,pt %xcc, __restore_asi
126 ba,pt %xcc, __restore_asi
131 ba,pt %xcc, __restore_asi
136 ba,pt %xcc, __restore_asi
141 ba,pt %xcc, __restore_asi
145 ba,pt %xcc, __restore_asi
[all …]
DNGmemcpy.S86 ba,pt %xcc, __restore_asi
90 ba,pt %xcc, __restore_asi
95 ba,pt %xcc, __restore_asi
100 ba,pt %xcc, __restore_asi
105 ba,pt %xcc, __restore_asi
110 ba,pt %xcc, __restore_asi
115 ba,pt %xcc, __restore_asi
120 ba,pt %xcc, __restore_asi
125 ba,pt %xcc, __restore_asi
129 ba,pt %xcc, __restore_asi
[all …]
Dmemmove.S16 bleu,pt %xcc, 2f
19 bleu,pt %xcc, memcpy
28 bne,pt %icc, 1b
49 bne,pt %icc, 3b
51 ba,a,pt %xcc, 99b
57 bne,pt %icc, 4b
59 ba,a,pt %xcc, 99b
DNG2memcpy.S187 ba,pt %xcc, __restore_asi
191 ba,pt %xcc, __restore_asi
195 ba,pt %xcc, __restore_asi
199 ba,pt %xcc, __restore_asi
204 ba,pt %xcc, __restore_asi
209 ba,pt %xcc, __restore_asi
214 ba,pt %xcc, __restore_asi
218 ba,pt %xcc, __restore_fp
223 ba,pt %xcc, __restore_fp
228 ba,pt %xcc, __restore_asi
[all …]
DNG4memset.S16 be,pt %icc, 1f
23 ba,pt %icc, 1f
36 brz,pt %g1, .Laligned8
40 bne,pt %icc, 1b
51 bne,pt %icc, 1b
61 bne,pt %icc, 1b
72 bne,pt %icc, 1b
75 be,pt %icc, .Ltiny
84 bne,pt %icc, 1b
102 bne,pt %icc, 1b
[all …]
Dbzero.S20 ba,pt %xcc, 1f
31 be,pt %icc, 2f
38 be,pt %icc, 3f
62 bne,pt %icc, 4b
68 bne,pt %icc, 5b
70 6: brz,pt %o1, __bzero_done
75 bne,pt %icc, 1b
99 be,pt %icc, 2f
106 be,pt %icc, 3f
130 bne,pt %icc, 4b
[all …]
DU3memcpy.S86 ba,pt %xcc, __restore_fp
90 ba,pt %xcc, __restore_fp
95 ba,pt %xcc, __restore_fp
120 ba,pt %xcc, __restore_fp
126 ba,pt %xcc, __restore_fp
132 ba,pt %xcc, __restore_fp
182 blu,pt %XCC, 70f
192 be,pt %XCC, 2f
203 be,pt %icc, 2f
209 bgu,pt %XCC, 1b
[all …]
/arch/sparc/include/asm/
Dttable.h26 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/kernel/
Dwinfixup.S31 ba,pt %xcc, etrap
35 ba,a,pt %xcc, rtrap
53 bne,pt %xcc, 1f
70 ba,pt %xcc, 2f
100 ba,pt %xcc, etrap
104 ba,a,pt %xcc, rtrap
116 ba,pt %xcc, etrap
121 bne,pt %icc, 1f
126 ba,a,pt %xcc, rtrap
131 ba,a,pt %xcc, rtrap
[all …]
Dmisctrap.S17 ba,pt %xcc, etrap
21 ba,a,pt %xcc, rtrap
42 ba,pt %xcc, etrap
48 ba,a,pt %xcc, rtrap
60 ba,pt %xcc, etrap
66 ba,a,pt %xcc, rtrap
78 ba,pt %xcc, etrap
84 ba,a,pt %xcc, rtrap
91 ba,pt %xcc, rtrap
Dcherrs.S106 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,a,pt %xcc, dcpe_icpe_tl1_common
221 ba,pt %xcc, etraptl1
226 ba,a,pt %xcc, rtrap
[all …]
Dsun4v_tlb_miss.S146 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
200 ble,pt %icc, sun4v_bad_ra
216 ba,pt %xcc, etraptl1
227 ble,pt %icc, sun4v_bad_ra
243 ba,pt %xcc, etraptl1
253 ba,pt %xcc, sparc64_realfault_common
266 ba,pt %xcc, etrap
[all …]
Dspiterrs.S82 bleu,pt %xcc, 1f
85 ba,pt %xcc, etraptl1
88 ba,a,pt %xcc, 2f
90 1: ba,pt %xcc, etrap_irq
102 ba,a,pt %xcc, rtrap
151 ba,pt %xcc, __spitfire_cee_trap_continue
171 ba,pt %xcc, winfix_dax
174 ba,pt %xcc, etraptl1
180 ba,a,pt %xcc, rtrap
194 ba,pt %xcc, etrap
[all …]
Dktlb.S80 ba,pt %xcc, sun4v_itlb_load
94 ba,pt %xcc, sparc64_realfault_common
104 ba,pt %xcc, kvmap_itlb_load
114 ba,pt %xcc, kvmap_dtlb_load
120 ba,pt %xcc, kvmap_dtlb_tsb4m_load
127 ba,pt %xcc, kvmap_dtlb_load
160 ba,a,pt %xcc, kvmap_linear_early
192 ba,pt %xcc, sun4v_dtlb_load
198 ba,a,pt %xcc, kvmap_dtlb_load
238 ba,pt %xcc, kvmap_dtlb_vmalloc_addr
[all …]
Drtrap_64.S28 ba,pt %xcc, __handle_preemption_continue
34 ba,pt %xcc, __handle_preemption_continue
43 ba,a,pt %xcc, __handle_userfpu_continue
59 ba,pt %xcc, __handle_preemption_continue
71 ba,pt %xcc, rtrap_no_irq_enable
137 be,pt %xcc, user_nowork
161 brz,pt %l3, 1f
229 brnz,pt %l2, user_rtt_restore
237 bne,pt %xcc, user_rtt_fill_32bit
239 ba,a,pt %xcc, user_rtt_fill_64bit
[all …]
Dsyscalls.S30 ba,pt %xcc, sys_sparc_pipe_real
33 ba,pt %xcc, c_sys_nis_syscall
36 ba,pt %xcc, sparc_memory_ordering
40 ba,pt %xcc, do_sys32_sigstack
66 be,pt %icc, rtrap
70 ba,pt %xcc, rtrap
100 ba,pt %xcc, sys_clone
108 ba,pt %xcc, sparc_do_fork
118 brnz,pt %o0, ret_sys_call
123 ba,pt %xcc, ret_sys_call
[all …]
Durtt_fill.S63 ba,pt %xcc, rtrap
73 bne,pt %icc, 1f
78 ba,a,pt %xcc, rtrap
83 ba,a,pt %xcc, rtrap
90 bne,pt %icc, 1f
94 ba,a,pt %xcc, rtrap
98 ba,a,pt %xcc, rtrap
/arch/x86/events/intel/
Dpt.c35 static DEFINE_PER_CPU(struct pt, pt_ctx);
381 struct pt *pt = this_cpu_ptr(&pt_ctx); in pt_config_filters() local
403 if (pt->filters.filter[range].msr_a != filter->msr_a) { in pt_config_filters()
405 pt->filters.filter[range].msr_a = filter->msr_a; in pt_config_filters()
408 if (pt->filters.filter[range].msr_b != filter->msr_b) { in pt_config_filters()
410 pt->filters.filter[range].msr_b = filter->msr_b; in pt_config_filters()
693 static void pt_update_head(struct pt *pt) in pt_update_head() argument
695 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_update_head()
739 static void pt_handle_status(struct pt *pt) in pt_handle_status() argument
741 struct pt_buffer *buf = perf_get_aux(&pt->handle); in pt_handle_status()
[all …]
/arch/x86/entry/vdso/
Dvdso2c.h23 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
30 if (GET_LE(&pt[i].p_type) == PT_LOAD) { in BITSFUNC()
34 if (GET_LE(&pt[i].p_offset) != 0 || in BITSFUNC()
35 GET_LE(&pt[i].p_vaddr) != 0) in BITSFUNC()
38 if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) in BITSFUNC()
41 load_size = GET_LE(&pt[i].p_memsz); in BITSFUNC()
43 } else if (GET_LE(&pt[i].p_type) == PT_DYNAMIC) { in BITSFUNC()
44 dyn = raw_addr + GET_LE(&pt[i].p_offset); in BITSFUNC()
45 dyn_end = raw_addr + GET_LE(&pt[i].p_offset) + in BITSFUNC()
46 GET_LE(&pt[i].p_memsz); in BITSFUNC()

12345