Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 75) sorted by relevance

123

/arch/sparc/kernel/
A Dwindows.c47 tp->rwbuf_stkptrs[i] = tp->rwbuf_stkptrs[i+1]; in shift_window_buffer()
48 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32)); in shift_window_buffer()
63 struct thread_info *tp = current_thread_info(); in synchronize_user_stack() local
67 if(!tp->w_saved) in synchronize_user_stack()
72 unsigned long sp = tp->rwbuf_stkptrs[window]; in synchronize_user_stack()
79 shift_window_buffer(window, tp->w_saved - 1, tp); in synchronize_user_stack()
80 tp->w_saved--; in synchronize_user_stack()
115 struct thread_info *tp = current_thread_info(); in try_to_clear_window_buffer() local
119 for(window = 0; window < tp->w_saved; window++) { in try_to_clear_window_buffer()
120 unsigned long sp = tp->rwbuf_stkptrs[window]; in try_to_clear_window_buffer()
[all …]
A Dkstack.h11 static inline bool kstack_valid(struct thread_info *tp, unsigned long sp) in kstack_valid() argument
13 unsigned long base = (unsigned long) tp; in kstack_valid()
23 if (hardirq_stack[tp->cpu]) { in kstack_valid()
24 base = (unsigned long) hardirq_stack[tp->cpu]; in kstack_valid()
28 base = (unsigned long) softirq_stack[tp->cpu]; in kstack_valid()
37 static inline bool kstack_is_trap_frame(struct thread_info *tp, struct pt_regs *regs) in kstack_is_trap_frame() argument
39 unsigned long base = (unsigned long) tp; in kstack_is_trap_frame()
46 if (hardirq_stack[tp->cpu]) { in kstack_is_trap_frame()
47 base = (unsigned long) hardirq_stack[tp->cpu]; in kstack_is_trap_frame()
51 base = (unsigned long) softirq_stack[tp->cpu]; in kstack_is_trap_frame()
A Dstacktrace.c13 static void __save_stack_trace(struct thread_info *tp, in __save_stack_trace() argument
23 if (tp == current_thread_info()) { in __save_stack_trace()
27 ksp = tp->ksp; in __save_stack_trace()
32 t = tp->task; in __save_stack_trace()
39 if (!kstack_valid(tp, fp)) in __save_stack_trace()
45 if (kstack_is_trap_frame(tp, regs)) { in __save_stack_trace()
85 struct thread_info *tp = task_thread_info(tsk); in save_stack_trace_tsk() local
87 __save_stack_trace(tp, trace, true); in save_stack_trace_tsk()
A Dprocess_64.c210 if (kstack_valid(tp, (unsigned long) rw)) { in __global_reg_self()
214 if (kstack_valid(tp, (unsigned long) rw)) in __global_reg_self()
221 rp->thread = tp; in __global_reg_self()
247 regs = tp->kregs; in arch_trigger_cpumask_backtrace()
256 __global_reg_self(tp, regs, this_cpu); in arch_trigger_cpumask_backtrace()
270 tp = gp->thread; in arch_trigger_cpumask_backtrace()
274 ((tp && tp->task) ? tp->task->comm : "NULL"), in arch_trigger_cpumask_backtrace()
275 ((tp && tp->task) ? tp->task->pid : -1)); in arch_trigger_cpumask_backtrace()
660 struct thread_info *tp; in __get_wchan() local
665 tp = task_thread_info(task); in __get_wchan()
[all …]
/arch/riscv/kernel/
A Dentry.S23 REG_S a0, TASK_TI_A0(tp)
28 REG_S a1, TASK_TI_A1(tp)
43 REG_S a2, TASK_TI_A2(tp)
80 REG_L a0, TASK_TI_A0(tp)
81 REG_L a1, TASK_TI_A1(tp)
82 REG_L a2, TASK_TI_A2(tp)
101 csrrw tp, CSR_SCRATCH, tp
102 bnez tp, .Lsave_context
105 csrr tp, CSR_SCRATCH
238 csrw CSR_SCRATCH, tp
[all …]
A Dhead.S158 REG_L tp, (a2)
307 la tp, init_task
330 la tp, init_task
363 REG_L tp, (a2)
365 beqz tp, .Lwait_for_cpu_up
377 li tp, 0
/arch/x86/crypto/
A Dserpent-avx-x86_64-asm_64.S95 vpxor x3, tp, tp; \
101 vpxor x2, tp, tp; \
104 vpxor RNOT, tp, tp; \
134 vpxor x2, tp, tp; \
174 vpor x3, tp, tp; \
250 vpor x2, tp, tp; \
269 vpxor x0, tp, tp; \
289 vpxor x2, tp, tp; \
309 vpxor x3, tp, tp; \
332 vpxor x2, tp, tp; \
[all …]
A Dserpent-avx2-asm_64.S94 vpxor x3, tp, tp; \
100 vpxor x2, tp, tp; \
103 vpxor RNOT, tp, tp; \
133 vpxor x2, tp, tp; \
173 vpor x3, tp, tp; \
249 vpor x2, tp, tp; \
268 vpxor x0, tp, tp; \
288 vpxor x2, tp, tp; \
308 vpxor x3, tp, tp; \
331 vpxor x2, tp, tp; \
[all …]
/arch/arm/include/asm/
A Dtls.h10 .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2
13 .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2
20 .macro switch_tls_v6, base, tp, tpuser, tmp1, tmp2
30 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0
32 mcr p15, 0, \tp, c13, c0, 3 @ yes, set TLS register
37 .L1_\@: switch_tls_v6k \base, \tp, \tpuser, \tmp1, \tmp2
41 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2
43 str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0
/arch/nios2/kernel/
A Dprocess.c155 unsigned char *tp; in dump() local
193 tp = ((unsigned char *) fp->ea) - 0x20; in dump()
194 for (sp = (unsigned long *) tp, i = 0; (i < 0x40); i += 4) { in dump()
196 pr_emerg("\n%08x: ", (int) (tp + i)); in dump()
202 tp = ((unsigned char *) fp) - 0x40; in dump()
203 for (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) { in dump()
205 pr_emerg("\n%08x: ", (int) (tp + i)); in dump()
212 tp = (unsigned char *) (fp->sp - 0x10); in dump()
213 for (sp = (unsigned long *) tp, i = 0; (i < 0x80); i += 4) { in dump()
215 pr_emerg("\n%08x: ", (int) (tp + i)); in dump()
/arch/xtensa/platforms/iss/
A Dnetwork.c87 } tp; member
183 lp->tp.info.tuntap.fd = fd; in tuntap_open()
189 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
190 lp->tp.info.tuntap.fd = -1; in tuntap_close()
195 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
258 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
264 lp->tp.info.tuntap.fd = -1; in tuntap_probe()
265 lp->tp.net_ops = &tuntap_ops; in tuntap_probe()
280 if (lp->tp.net_ops->poll(lp) == 0) in iss_net_rx()
353 err = lp->tp.net_ops->open(lp); in iss_net_open()
[all …]
/arch/riscv/include/asm/
A Dscs.h23 REG_L gp, TASK_TI_SCS_SP(tp)
28 beq \prev, tp, _skip_scs
35 REG_S gp, TASK_TI_SCS_SP(tp)
A Dcompat.h43 compat_ulong_t tp; member
80 cregs->tp = (compat_ulong_t) regs->tp; in regs_to_cregs()
117 regs->tp = (unsigned long) cregs->tp; in cregs_to_regs()
/arch/mips/boot/dts/qca/
A Dar9132_tl_wr1043nd_v1.dts45 label = "tp-link:green:usb";
50 label = "tp-link:green:system";
56 label = "tp-link:green:qss";
61 label = "tp-link:green:wlan";
A Dar9331_tl_mr3020.dts26 label = "tp-link:green:wlan";
32 label = "tp-link:green:lan";
38 label = "tp-link:green:wps";
44 label = "tp-link:green:3g";
/arch/loongarch/kernel/
A Dentry.S57 cfi_st tp, PT_R2
70 li.d tp, ~_THREAD_MASK
71 and tp, tp, sp
A Dhead.S83 la.pcrel tp, init_thread_union
86 PTR_ADD sp, sp, tp
96 PTR_ADD sp, sp, tp
142 ld.d tp, t0, CPU_BOOT_TINFO
A Dswitch.S31 move tp, a2
35 PTR_ADD t0, t0, tp
A Dinst.c210 u32 *tp = addr; in larch_insn_patch_text() local
212 if ((unsigned long)tp & 3) in larch_insn_patch_text()
215 ret = larch_insn_write(tp, insn); in larch_insn_patch_text()
217 flush_icache_range((unsigned long)tp, in larch_insn_patch_text()
218 (unsigned long)tp + LOONGARCH_INSN_SIZE); in larch_insn_patch_text()
/arch/x86/events/intel/
A Dpt.c682 struct topa_page *tp; in topa_alloc() local
689 tp = page_address(p); in topa_alloc()
690 tp->topa.last = 0; in topa_alloc()
701 return &tp->topa; in topa_alloc()
824 &tp->table[i], in pt_topa_dump()
986 struct topa_page *tp; in pt_read_offset() local
991 buf->cur = &tp->topa; in pt_read_offset()
1005 struct topa_page *tp; in pt_topa_entry_for_page() local
1077 struct topa_page *tp; in pt_topa_prev_entry() local
1081 if (tp->table != te) in pt_topa_prev_entry()
[all …]
/arch/arm64/kernel/
A Dpatching.c182 u32 *tp = addr; in aarch64_insn_patch_text_nosync() local
186 if ((uintptr_t)tp & 0x3) in aarch64_insn_patch_text_nosync()
189 ret = aarch64_insn_write(tp, insn); in aarch64_insn_patch_text_nosync()
191 caches_clean_inval_pou((uintptr_t)tp, in aarch64_insn_patch_text_nosync()
192 (uintptr_t)tp + AARCH64_INSN_SIZE); in aarch64_insn_patch_text_nosync()
/arch/um/drivers/
A Dpty.c96 char *tp = &line[strlen("/dev/")]; in getmaster() local
99 *tp = 't'; in getmaster()
101 *tp = 'p'; in getmaster()
/arch/loongarch/include/asm/
A Dstackframe.h166 cfi_st tp, PT_R2, \docfi
174 li.d tp, ~_THREAD_MASK
175 and tp, tp, sp
235 cfi_ld tp, PT_R2, \docfi
/arch/arm/boot/dts/nspire/
A DMakefile4 nspire-tp.dtb \
/arch/loongarch/power/
A Dhibernate_asm.S17 PTR_S tp, t0, PT_R2
51 PTR_L tp, t0, PT_R2

Completed in 646 milliseconds

123