Searched defs:tp (Results 1 - 24 of 24) sorted by relevance

/arch/arm/include/asm/
H A Dtls.h5 .macro set_tls_none, tp, tmp1, tmp2 variable
8 .macro set_tls_v6k, tp, tmp1, tmp2 variable
9 mcr p15, 0, \tp, c13, c0, 3 @ set TLS register variable
14 .macro set_tls_v6, tp, tmp1, tmp2 variable
19 mcrne p15, 0, \tp, c13, c0, 3 @ yes, set TLS register variable
22 streq \tp, [\tmp2, #-15] @ set TLS value at 0xffff0ff0 variable
25 .macro set_tls_software, tp, tmp1, tmp2 variable
27 str \tp, [\tmp1, #-15] @ set TLS value at 0xffff0ff0 variable
/arch/sparc/kernel/
H A Dkstack.h10 static inline bool kstack_valid(struct thread_info *tp, unsigned long sp) argument
12 unsigned long base = (unsigned long) tp;
22 if (hardirq_stack[tp->cpu]) {
23 base = (unsigned long) hardirq_stack[tp->cpu];
27 base = (unsigned long) softirq_stack[tp->cpu];
36 static inline bool kstack_is_trap_frame(struct thread_info *tp, struct pt_regs *regs) argument
38 unsigned long base = (unsigned long) tp;
45 if (hardirq_stack[tp->cpu]) {
46 base = (unsigned long) hardirq_stack[tp->cpu];
50 base = (unsigned long) softirq_stack[tp
[all...]
H A Dstacktrace.c11 static void __save_stack_trace(struct thread_info *tp, argument
21 if (tp == current_thread_info()) {
25 ksp = tp->ksp;
30 t = tp->task;
37 if (!kstack_valid(tp, fp))
43 if (kstack_is_trap_frame(tp, regs)) {
81 struct thread_info *tp = task_thread_info(tsk); local
83 __save_stack_trace(tp, trace, true);
H A Dwindows.c38 static inline void shift_window_buffer(int first_win, int last_win, struct thread_info *tp) argument
43 tp->rwbuf_stkptrs[i] = tp->rwbuf_stkptrs[i+1];
44 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32));
59 struct thread_info *tp = current_thread_info(); local
63 if(!tp->w_saved)
67 for(window = tp->w_saved - 1; window >= 0; window--) {
68 unsigned long sp = tp->rwbuf_stkptrs[window];
71 if (copy_to_user((char __user *) sp, &tp
111 struct thread_info *tp = current_thread_info(); local
[all...]
H A Dviohs.c658 int vio_validate_sid(struct vio_driver_state *vio, struct vio_msg_tag *tp) argument
665 if (tp->type == VIO_TYPE_CTRL &&
666 tp->stype == VIO_SUBTYPE_INFO &&
667 tp->stype_env == VIO_VER_INFO)
684 if (sid == tp->sid)
687 tp->sid, vio->_peer_sid, vio->_local_sid);
H A Dprocess_64.c210 static void __global_reg_self(struct thread_info *tp, struct pt_regs *regs, argument
225 if (kstack_valid(tp, (unsigned long) rw)) {
229 if (kstack_valid(tp, (unsigned long) rw))
236 global_reg_snapshot[this_cpu].thread = tp;
256 struct thread_info *tp = current_thread_info(); local
262 regs = tp->kregs;
270 __global_reg_self(tp, regs, this_cpu);
279 tp = gp->thread;
283 ((tp && tp
756 struct thread_info *tp; local
[all...]
H A Dsmp_64.c840 struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()]; local
849 if (tp->pgd_paddr == __pa(mm->pgd))
H A Dtraps_64.c2156 struct thread_info *tp; local
2165 tp = task_thread_info(tsk);
2170 ksp = tp->ksp;
2172 if (tp == current_thread_info())
2183 if (!kstack_valid(tp, fp))
2188 if (kstack_is_trap_frame(tp, regs)) {
2247 struct thread_info *tp = current_thread_info(); local
2256 kstack_valid(tp, (unsigned long) rw)) {
/arch/tile/include/asm/
H A Dsigcontext.h28 __uint_reg_t tp; /* Aliases gregs[TREG_TP]. */ member in struct:sigcontext
H A Dptrace.h58 /* tp, sp, and lr must immediately follow regs[] for aliasing. */
60 pt_reg_t tp; /* aliases regs[TREG_TP] */ member in struct:pt_regs
/arch/h8300/kernel/
H A Dtraps.c56 unsigned char *tp; local
76 tp = ((unsigned char *) fp->pc) - 0x20;
77 for (sp = (unsigned long *) tp, i = 0; (i < 0x40); i += 4) {
79 printk("\n%08x: ", (int) (tp + i));
85 tp = ((unsigned char *) fp) - 0x40;
86 for (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) {
88 printk("\n%08x: ", (int) (tp + i));
/arch/x86/kernel/
H A Dtce_64.c52 u64* tp; local
60 tp = ((u64*)tbl->it_base) + index;
67 *tp = cpu_to_be64(t);
68 flush_tce(tp);
71 tp++;
77 u64* tp; local
79 tp = ((u64*)tbl->it_base) + index;
82 *tp = cpu_to_be64(0);
83 flush_tce(tp);
84 tp
[all...]
H A Dpci-calgary_64.c1303 u64 *tp; local
1305 tp = ((u64 *)tbl->it_base);
1307 if (*tp != 0x0)
1309 tp++;
/arch/sparc/mm/
H A Dhugetlbpage.c317 struct tsb_config *tp = &mm->context.tsb_block[MM_TSB_HUGE]; local
319 if (likely(tp->tsb != NULL))
H A Dtsb.c488 static void tsb_destroy_one(struct tsb_config *tp) argument
492 if (!tp->tsb)
494 cache_index = tp->tsb_reg_val & 0x7UL;
495 kmem_cache_free(tsb_caches[cache_index], tp->tsb);
496 tp->tsb = NULL;
497 tp->tsb_reg_val = 0UL;
/arch/um/drivers/
H A Dpty.c96 char *tp = &line[strlen("/dev/")]; local
99 *tp = 't';
101 *tp = 'p';
/arch/m68k/kernel/
H A Dsys_m68k.c570 asmlinkage int sys_set_thread_area(unsigned long tp) argument
572 current_thread_info()->tp_value = tp;
/arch/ia64/hp/sim/boot/
H A Dfw-emu.c47 offtime (unsigned long t, efi_time_t *tp) argument
69 tp->hour = rem / SECS_PER_HOUR;
71 tp->minute = rem / 60;
72 tp->second = rem % 60;
90 tp->year = y;
95 tp->month = y + 1;
96 tp->day = days + 1;
/arch/powerpc/kernel/
H A Dirq.c537 struct thread_info *tp; local
547 tp = critirq_ctx[cpu_nr];
548 tp->cpu = cpu_nr;
549 tp->preempt_count = 0;
553 tp = dbgirq_ctx[cpu_nr];
554 tp->cpu = cpu_nr;
555 tp->preempt_count = 0;
558 tp = mcheckirq_ctx[cpu_nr];
559 tp->cpu = cpu_nr;
560 tp
571 struct thread_info *tp; local
[all...]
/arch/x86/xen/
H A Dtime.c460 struct timespec tp; local
472 xen_read_wallclock(&tp);
473 do_settimeofday(&tp);
/arch/xtensa/platforms/iss/
H A Dnetwork.c100 } tp; member in struct:iss_net_private
237 char *dev_name = lp->tp.info.tuntap.dev_name;
243 if (!lp->tp.info.tuntap.fixed_config)
263 lp->tp.info.tuntap.fd = fd;
270 if (lp->tp.info.tuntap.fixed_config)
271 iter_addresses(lp->tp.info.tuntap.dev, close_addr, lp->host.dev_name);
273 simc_close(lp->tp.info.tuntap.fd);
274 lp->tp.info.tuntap.fd = -1;
285 return simc_read(lp->tp.info.tuntap.fd,
291 return simc_write(lp->tp
[all...]
/arch/x86/kernel/apic/
H A Des7000_32.c185 char *tp = NULL; local
190 tp = oemptr;
192 tp += 8;
195 type = *tp++;
196 size = *tp++;
197 tp -= 2;
200 mi = (struct mip_reg_info *)tp;
217 psaip = (struct psai *)tp;
218 if (tp != NULL) {
229 tp
[all...]
/arch/mips/include/asm/octeon/
H A Dcvmx-pcieep-defs.h618 uint32_t tp:1; member in struct:cvmx_pcieep_cfg030::cvmx_pcieep_cfg030_s
H A Dcvmx-pciercx-defs.h648 uint32_t tp:1; member in struct:cvmx_pciercx_cfg030::cvmx_pciercx_cfg030_s

Completed in 421 milliseconds