Home
last modified time | relevance | path

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

12

/arch/sparc/kernel/
Dwindows.c42 static inline void shift_window_buffer(int first_win, int last_win, struct thread_info *tp) in shift_window_buffer() argument
47 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()
71 for(window = tp->w_saved - 1; window >= 0; window--) { in synchronize_user_stack()
72 unsigned long sp = tp->rwbuf_stkptrs[window]; in synchronize_user_stack()
75 if (copy_to_user((char __user *) sp, &tp->reg_window[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()
[all …]
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()
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()
Dprocess_64.c203 static void __global_reg_self(struct thread_info *tp, struct pt_regs *regs, in __global_reg_self() argument
222 if (kstack_valid(tp, (unsigned long) rw)) { in __global_reg_self()
226 if (kstack_valid(tp, (unsigned long) rw)) in __global_reg_self()
233 rp->thread = tp; in __global_reg_self()
253 struct thread_info *tp = current_thread_info(); in arch_trigger_cpumask_backtrace() local
259 regs = tp->kregs; in arch_trigger_cpumask_backtrace()
268 __global_reg_self(tp, regs, this_cpu); in arch_trigger_cpumask_backtrace()
282 tp = gp->thread; in arch_trigger_cpumask_backtrace()
286 ((tp && tp->task) ? tp->task->comm : "NULL"), in arch_trigger_cpumask_backtrace()
287 ((tp && tp->task) ? tp->task->pid : -1)); in arch_trigger_cpumask_backtrace()
[all …]
Dviohs.c687 int vio_validate_sid(struct vio_driver_state *vio, struct vio_msg_tag *tp) in vio_validate_sid() argument
694 if (tp->type == VIO_TYPE_CTRL && in vio_validate_sid()
695 tp->stype == VIO_SUBTYPE_INFO && in vio_validate_sid()
696 tp->stype_env == VIO_VER_INFO) in vio_validate_sid()
713 if (sid == tp->sid) in vio_validate_sid()
716 tp->sid, vio->_peer_sid, vio->_local_sid); in vio_validate_sid()
/arch/x86/kernel/
Dalternative.c1359 static __always_inline void *text_poke_addr(struct text_poke_loc *tp) in text_poke_addr() argument
1361 return _stext + tp->rel_addr; in text_poke_addr()
1366 struct text_poke_loc *tp = (struct text_poke_loc *) elt; in patch_cmp() local
1368 if (key < text_poke_addr(tp)) in patch_cmp()
1370 if (key > text_poke_addr(tp)) in patch_cmp()
1378 struct text_poke_loc *tp; in poke_int3_handler() local
1408 tp = __inline_bsearch(ip, desc->vec, desc->nr_entries, in poke_int3_handler()
1411 if (!tp) in poke_int3_handler()
1414 tp = desc->vec; in poke_int3_handler()
1415 if (text_poke_addr(tp) != ip) in poke_int3_handler()
[all …]
/arch/arm/include/asm/
Dtls.h10 .macro switch_tls_none, base, tp, tpuser, tmp1, tmp2
13 .macro switch_tls_v6k, base, tp, tpuser, tmp1, tmp2
15 mcr p15, 0, \tp, c13, c0, 3 @ set TLS register
20 .macro switch_tls_v6, base, tp, tpuser, tmp1, tmp2
25 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0
27 mcrne p15, 0, \tp, c13, c0, 3 @ yes, set TLS register
32 .macro switch_tls_software, base, tp, tpuser, tmp1, tmp2
34 str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0
/arch/h8300/kernel/
Dtraps.c59 unsigned char *tp; in dump() local
79 tp = ((unsigned char *) fp->pc) - 0x20; in dump()
80 for (sp = (unsigned long *) tp, i = 0; (i < 0x40); i += 4) { in dump()
82 pr_info("\n%08x: ", (int) (tp + i)); in dump()
88 tp = ((unsigned char *) fp) - 0x40; in dump()
89 for (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) { in dump()
91 pr_info("\n%08x: ", (int) (tp + i)); in dump()
/arch/x86/crypto/
Dserpent-avx2-asm_64.S38 #define tp %ymm1 macro
62 vpor x0, x3, tp; \
66 vpxor x1, tp, x3; \
81 vpxor x0, x1, tp; \
84 vpand tp, x1, x4; \
85 vpor tp, x0, x0; \
88 vpxor x3, tp, x1;
103 vpand x2, x0, tp; \
104 vpxor x3, tp, tp; \
108 vpand tp, x1, x1;
[all …]
Dserpent-avx-x86_64-asm_64.S39 #define tp %xmm5 macro
56 vpor x0, x3, tp; \
60 vpxor x1, tp, x3; \
75 vpxor x0, x1, tp; \
78 vpand tp, x1, x4; \
79 vpor tp, x0, x0; \
82 vpxor x3, tp, x1;
97 vpand x2, x0, tp; \
98 vpxor x3, tp, tp; \
102 vpand tp, x1, x1;
[all …]
/arch/xtensa/platforms/iss/
Dnetwork.c91 } tp; member
163 char *dev_name = lp->tp.info.tuntap.dev_name; in tuntap_open()
186 lp->tp.info.tuntap.fd = fd; in tuntap_open()
192 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
193 lp->tp.info.tuntap.fd = -1; in tuntap_close()
198 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
204 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); in tuntap_write()
214 return simc_poll(lp->tp.info.tuntap.fd); in tuntap_poll()
251 strlcpy(lp->tp.info.tuntap.dev_name, dev_name, in tuntap_probe()
252 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
[all …]
/arch/nios2/kernel/
Dprocess.c154 unsigned char *tp; in dump() local
192 tp = ((unsigned char *) fp->ea) - 0x20; in dump()
193 for (sp = (unsigned long *) tp, i = 0; (i < 0x40); i += 4) { in dump()
195 pr_emerg("\n%08x: ", (int) (tp + i)); in dump()
201 tp = ((unsigned char *) fp) - 0x40; in dump()
202 for (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) { in dump()
204 pr_emerg("\n%08x: ", (int) (tp + i)); in dump()
211 tp = (unsigned char *) (fp->sp - 0x10); in dump()
212 for (sp = (unsigned long *) tp, i = 0; (i < 0x80); i += 4) { in dump()
214 pr_emerg("\n%08x: ", (int) (tp + i)); in dump()
/arch/riscv/kernel/
Dentry.S26 csrrw tp, CSR_SCRATCH, tp
27 bnez tp, _save_context
30 csrr tp, CSR_SCRATCH
31 REG_S sp, TASK_TI_KERNEL_SP(tp)
33 REG_S sp, TASK_TI_USER_SP(tp)
34 REG_L sp, TASK_TI_KERNEL_SP(tp)
75 REG_L s0, TASK_TI_USER_SP(tp)
187 REG_L t0, TASK_TI_FLAGS(tp)
217 REG_L t0, TASK_TI_FLAGS(tp)
238 REG_L s0, TASK_TI_FLAGS(tp) /* current_thread_info->flags */
[all …]
Dpatch.c96 u32 *tp = addr; in patch_text_nosync() local
99 ret = patch_insn_write(tp, insns, len); in patch_text_nosync()
102 flush_icache_range((uintptr_t) tp, (uintptr_t) tp + len); in patch_text_nosync()
Dhead.S151 REG_L tp, (a5)
264 la tp, init_task
275 la tp, init_task
276 sw zero, TASK_TI_CPU(tp)
305 REG_L tp, (a2)
307 beqz tp, .Lwait_for_cpu_up
319 li tp, 0
Dprocess.c49 regs->gp, regs->tp, regs->t0); in show_regs()
132 childregs->tp = tls; in copy_thread()
/arch/mips/boot/dts/qca/
Dar9132_tl_wr1043nd_v1.dts47 label = "tp-link:green:usb";
52 label = "tp-link:green:system";
58 label = "tp-link:green:qss";
63 label = "tp-link:green:wlan";
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/x86/events/intel/
Dpt.c644 struct topa_page *tp; in topa_alloc() local
651 tp = page_address(p); in topa_alloc()
652 tp->topa.last = 0; in topa_alloc()
659 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_alloc()
660 TOPA_ENTRY(&tp->topa, 1)->end = 1; in topa_alloc()
663 return &tp->topa; in topa_alloc()
778 struct topa_page *tp = topa_to_page(topa); in pt_topa_dump() local
781 pr_debug("# table @%p, off %llx size %zx\n", tp->table, in pt_topa_dump()
785 &tp->table[i], in pt_topa_dump()
786 (unsigned long)tp->table[i].base << TOPA_SHIFT, in pt_topa_dump()
[all …]
/arch/arm/boot/dts/
Dnspire-tp.dts3 * linux/arch/arm/boot/nspire-tp.dts
39 compatible = "ti,nspire-tp";
/arch/um/drivers/
Dpty.c96 char *tp = &line[strlen("/dev/")]; in getmaster() local
99 *tp = 't'; in getmaster()
101 *tp = 'p'; in getmaster()
/arch/sparc/mm/
Dtsb.c590 static void tsb_destroy_one(struct tsb_config *tp) in tsb_destroy_one() argument
594 if (!tp->tsb) in tsb_destroy_one()
596 cache_index = tp->tsb_reg_val & 0x7UL; in tsb_destroy_one()
597 kmem_cache_free(tsb_caches[cache_index], tp->tsb); in tsb_destroy_one()
598 tp->tsb = NULL; in tsb_destroy_one()
599 tp->tsb_reg_val = 0UL; in tsb_destroy_one()
/arch/riscv/include/uapi/asm/
Dptrace.h24 unsigned long tp; member
/arch/riscv/include/asm/
Dptrace.h19 unsigned long tp; member
/arch/xtensa/kernel/
Dsignal.c338 unsigned long sp, ra, tp, ps; in setup_frame() local
388 tp = regs->threadptr; in setup_frame()
407 regs->threadptr = tp; in setup_frame()

12