/linux-4.4.14/arch/arm/include/asm/ |
D | thread_info.h | 49 struct thread_info { struct 78 #define init_thread_info (init_thread_union.thread_info) argument 89 static inline struct thread_info *current_thread_info(void) __attribute_const__; 91 static inline struct thread_info *current_thread_info(void) in current_thread_info() 93 return (struct thread_info *) in current_thread_info() 110 extern void crunch_task_disable(struct thread_info *); 111 extern void crunch_task_copy(struct thread_info *, void *); 112 extern void crunch_task_restore(struct thread_info *, void *); 113 extern void crunch_task_release(struct thread_info *); 115 extern void iwmmxt_task_disable(struct thread_info *); [all …]
|
D | switch_to.h | 23 … struct task_struct *__switch_to(struct task_struct *, struct thread_info *, struct thread_info *);
|
D | thread_notify.h | 32 static inline void thread_notify(unsigned long rc, struct thread_info *thread) in thread_notify()
|
D | tls.h | 59 struct thread_info *thread;
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | asm-offsets.c | 81 OFFSET(TI_TASK, thread_info, task); in main() 82 OFFSET(TI_FLAGS, thread_info, flags); in main() 83 OFFSET(TI_STSTUS, thread_info, status); in main() 84 OFFSET(TI_CPU, thread_info, cpu); in main() 85 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in main() 86 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in main() 91 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable)); in main() 93 DEFINE(THREAD_XTREGS_CP0, offsetof (struct thread_info, xtregs_cp)); in main() 94 DEFINE(THREAD_XTREGS_CP1, offsetof (struct thread_info, xtregs_cp)); in main() 95 DEFINE(THREAD_XTREGS_CP2, offsetof (struct thread_info, xtregs_cp)); in main() [all …]
|
D | process.c | 58 void coprocessor_release_all(struct thread_info *ti) in coprocessor_release_all() 84 void coprocessor_flush_all(struct thread_info *ti) in coprocessor_flush_all() 130 struct thread_info *ti = current_thread_info(); in flush_thread() 197 struct thread_info *ti; in copy_thread()
|
D | irq.c | 50 if (unlikely(sp < (sizeof(thread_info) + 1024))) in do_IRQ() 52 sp - sizeof(struct thread_info)); in do_IRQ()
|
D | ptrace.c | 130 struct thread_info *ti = task_thread_info(child); in ptrace_getxregs() 153 struct thread_info *ti = task_thread_info(child); in ptrace_setxregs()
|
D | signal.c | 138 struct thread_info *ti = current_thread_info(); in setup_sigcontext() 177 struct thread_info *ti = current_thread_info(); in restore_sigcontext()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | irq.h | 51 extern struct thread_info *critirq_ctx[NR_CPUS]; 52 extern struct thread_info *dbgirq_ctx[NR_CPUS]; 53 extern struct thread_info *mcheckirq_ctx[NR_CPUS]; 62 extern struct thread_info *hardirq_ctx[NR_CPUS]; 63 extern struct thread_info *softirq_ctx[NR_CPUS]; 66 extern void call_do_softirq(struct thread_info *tp); 67 extern void call_do_irq(struct pt_regs *regs, struct thread_info *tp);
|
D | thread_info.h | 40 struct thread_info { struct 62 #define init_thread_info (init_thread_union.thread_info) argument 68 static inline struct thread_info *current_thread_info(void) in current_thread_info() 74 return (struct thread_info *)val; in current_thread_info() 149 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 163 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask() 172 struct thread_info *ti = current_thread_info(); in test_thread_local_flags()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | asm-offsets.c | 6 OFFSET(TI_TASK, thread_info, task); in foo() 7 OFFSET(TI_FLAGS, thread_info, flags); in foo() 8 OFFSET(TI_STATUS, thread_info, status); in foo() 9 OFFSET(TI_CPU, thread_info, cpu); in foo() 10 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in foo() 11 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in foo()
|
/linux-4.4.14/arch/avr32/kernel/ |
D | asm-offsets.c | 14 OFFSET(TI_task, thread_info, task); in foo() 15 OFFSET(TI_flags, thread_info, flags); in foo() 16 OFFSET(TI_cpu, thread_info, cpu); in foo() 17 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo() 18 OFFSET(TI_rar_saved, thread_info, rar_saved); in foo() 19 OFFSET(TI_rsr_saved, thread_info, rsr_saved); in foo()
|
D | process.c | 111 static inline int valid_stack_ptr(struct thread_info *tinfo, unsigned long p) in valid_stack_ptr() 122 struct thread_info *tinfo; in show_trace_log_lvl() 182 struct thread_info *tinfo; in show_stack_log_lvl()
|
D | ptrace.c | 236 struct thread_info *ti; in do_debug()
|
D | signal.c | 274 asmlinkage void do_notify_resume(struct pt_regs *regs, struct thread_info *ti) in do_notify_resume()
|
/linux-4.4.14/arch/tile/kernel/ |
D | asm-offsets.c | 54 offsetof(struct thread_info, task)); in foo() 56 offsetof(struct thread_info, flags)); in foo() 58 offsetof(struct thread_info, status)); in foo() 60 offsetof(struct thread_info, homecache_cpu)); in foo() 62 offsetof(struct thread_info, preempt_count)); in foo() 64 offsetof(struct thread_info, step_state)); in foo() 67 offsetof(struct thread_info, unalign_jit_base)); in foo() 69 offsetof(struct thread_info, unalign_jit_tmp)); in foo()
|
D | messaging.c | 61 if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { in hv_message_intr() 63 __func__, sp - sizeof(struct thread_info)); in hv_message_intr()
|
D | irq.c | 109 if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { in tile_dev_intr() 111 __func__, sp - sizeof(struct thread_info)); in tile_dev_intr()
|
D | single_step.c | 284 struct thread_info *ti = current_thread_info(); in single_step_execve() 312 struct thread_info *info = (void *)current_thread_info(); in single_step_once() 744 struct thread_info *info = (void *)current_thread_info(); in gx_singlestep_handle()
|
D | process.c | 76 void arch_release_thread_info(struct thread_info *info) in arch_release_thread_info()
|
D | stack.c | 209 else if (sp < ksp0_base + sizeof(struct thread_info)) { in validate_stack()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | thread_info.h | 21 struct thread_info { struct 50 #define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE)) argument 52 ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) 53 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) 55 #define current_thread_info() ((struct thread_info *) 0) 56 #define alloc_thread_info_node(tsk, node) ((struct thread_info *) 0) 57 #define task_thread_info(tsk) ((struct thread_info *) 0) 130 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 144 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
/linux-4.4.14/arch/um/include/asm/ |
D | thread_info.h | 15 struct thread_info { struct 24 struct thread_info *real_thread; /* Points to non-IRQ stack */ argument 37 #define init_thread_info (init_thread_union.thread_info) 42 static inline struct thread_info *current_thread_info(void) in current_thread_info() 44 struct thread_info *ti; in current_thread_info() 49 ti = (struct thread_info *) (((unsigned long)p) & ~mask); in current_thread_info()
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | thread_info.h | 25 struct thread_info { struct 58 #define init_thread_info (init_thread_union.thread_info) argument 62 static inline struct thread_info *current_thread_info(void) in current_thread_info() 64 struct thread_info *ti; in current_thread_info() 79 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 86 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | thread_info.h | 28 struct thread_info { struct 65 #define init_thread_info (init_thread_union.thread_info) 72 static inline struct thread_info *current_thread_info(void) in current_thread_info() 74 struct thread_info *ti; in current_thread_info() 162 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 174 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 181 struct thread_info *ti = current_thread_info(); in get_thread_fault_code() 195 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | thread_info.h | 38 struct thread_info { struct 59 #define init_thread_info (init_thread_union.thread_info) argument 67 static inline struct thread_info *current_thread_info(void) in current_thread_info() 69 struct thread_info *ti; in current_thread_info() 71 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | thread_info.h | 41 struct thread_info { struct 82 #define init_thread_info (init_thread_union.thread_info) 88 extern struct thread_info *__current_ti; 92 struct thread_info *current_thread_info(void) in current_thread_info() 94 struct thread_info *ti; in current_thread_info() 118 void arch_release_thread_info(struct thread_info *ti);
|
D | frame.inc | 21 #include <asm/thread_info.h>
|
/linux-4.4.14/arch/arm/kernel/ |
D | asm-offsets.c | 66 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 67 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 68 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 69 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 70 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 71 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main() 72 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() 73 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main() 74 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main() 75 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() [all …]
|
D | xscale-cp0.c | 35 struct thread_info *thread = t; in dsp_do() 60 struct thread_info *thread = t; in iwmmxt_do()
|
D | ptrace.c | 305 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() 319 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() 336 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs() 348 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs() 633 struct thread_info *thread = task_thread_info(target); in fpa_set() 671 struct thread_info *thread = task_thread_info(target); in vfp_get() 708 struct thread_info *thread = task_thread_info(target); in vfp_set()
|
D | process.c | 203 struct thread_info *thread = current_thread_info(); in flush_thread() 227 struct thread_info *thread = task_thread_info(p); in copy_thread() 281 struct thread_info *thread = current_thread_info(); in dump_fpu()
|
D | thumbee.c | 44 struct thread_info *thread = t; in thumbee_notifier()
|
D | pj4-cp0.c | 24 struct thread_info *thread = t; in iwmmxt_do()
|
D | kgdb.c | 77 struct thread_info *ti; in sleeping_thread_to_gdb_regs()
|
D | entry-header.S | 383 tsk .req r9 @ current thread_info
|
/linux-4.4.14/arch/s390/include/asm/ |
D | thread_info.h | 32 struct thread_info { struct 55 #define init_thread_info (init_thread_union.thread_info) argument 59 static inline struct thread_info *current_thread_info(void) in current_thread_info() 61 return (struct thread_info *) S390_lowcore.thread_info; in current_thread_info()
|
D | lowcore.h | 119 __u64 thread_info; /* 0x0318 */ member
|
/linux-4.4.14/arch/ia64/kernel/ |
D | init_task.c | 28 #define init_thread_info init_task_mem.s.thread_info 33 struct thread_info thread_info; member 39 .thread_info = INIT_THREAD_INFO(init_task_mem.s.task)
|
D | asm-offsets.c | 25 DEFINE(IA64_THREAD_INFO_SIZE, sizeof (struct thread_info)); in foo() 38 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo() 39 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo() 40 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in foo() 42 DEFINE(TI_AC_STAMP, offsetof(struct thread_info, ac_stamp)); in foo() 43 DEFINE(TI_AC_LEAVE, offsetof(struct thread_info, ac_leave)); in foo() 44 DEFINE(TI_AC_STIME, offsetof(struct thread_info, ac_stime)); in foo() 45 DEFINE(TI_AC_UTIME, offsetof(struct thread_info, ac_utime)); in foo()
|
D | time.c | 67 struct thread_info *ti = task_thread_info(tsk); in vtime_account_user() 83 struct thread_info *pi = task_thread_info(prev); in arch_vtime_task_switch() 84 struct thread_info *ni = task_thread_info(current); in arch_vtime_task_switch() 96 struct thread_info *ti = task_thread_info(tsk); in vtime_delta()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | thread_info.h | 27 struct thread_info { struct 62 #define init_thread_info (init_thread_union.thread_info) argument 81 void arch_release_thread_info(struct thread_info *info); 87 ((struct thread_info *)(stack_pointer & -THREAD_SIZE)) 171 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 185 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | thread_info.h | 66 struct thread_info { struct 89 #define init_thread_info (init_thread_union.thread_info) argument 93 static inline struct thread_info *current_thread_info(void) in current_thread_info() 97 return (struct thread_info *)(sp & ~(THREAD_SIZE-1)); in current_thread_info() 157 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 171 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | switch_to.h | 13 struct thread_info; 15 extern struct task_struct *_switch_to(struct thread_info *prev, 16 struct thread_info *next);
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | asm-offsets.c | 41 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 42 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 43 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 44 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 45 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 46 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() 47 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main() 49 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
|
D | process.c | 213 struct thread_info *thread = current_thread_info(); in flush_thread() 234 struct thread_info *thread = task_thread_info(p); in copy_thread() 271 struct thread_info *thread = current_thread_info(); in dump_fpu()
|
D | traps.c | 179 static int __die(const char *str, int err, struct thread_info *thread, in __die() 217 struct thread_info *thread = current_thread_info(); in die()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | thread_info.h | 47 struct thread_info { struct 63 #define init_thread_info (init_thread_union.thread_info) argument 74 static inline struct thread_info *current_thread_info(void) __attribute_const__; 76 static inline struct thread_info *current_thread_info(void) in current_thread_info() 78 return (struct thread_info *) in current_thread_info()
|
D | compat.h | 306 static inline int is_compat_thread(struct thread_info *thread) in is_compat_thread() 313 static inline int is_compat_thread(struct thread_info *thread) in is_compat_thread()
|
/linux-4.4.14/arch/metag/include/asm/ |
D | thread_info.h | 29 struct thread_info { struct 76 #define init_thread_info (init_thread_union.thread_info) 83 static inline struct thread_info *current_thread_info(void) in current_thread_info() 85 return (struct thread_info *)(current_stack_pointer & in current_thread_info() 93 + sizeof(struct thread_info)); in kstack_end()
|
D | ptrace.h | 25 sizeof(struct thread_info))) 29 sizeof(struct thread_info)))
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | kgdb.c | 153 static DEFINE_PER_CPU(struct thread_info, kgdb_thread_info); 156 struct thread_info *thread_info, *exception_thread_info; in kgdb_singlestep() local 157 struct thread_info *backup_current_thread_info = in kgdb_singlestep() 173 thread_info = (struct thread_info *)(regs->gpr[1] & ~(THREAD_SIZE-1)); in kgdb_singlestep() 176 if (thread_info != exception_thread_info) { in kgdb_singlestep() 178 memcpy(backup_current_thread_info, exception_thread_info, sizeof *thread_info); in kgdb_singlestep() 179 memcpy(exception_thread_info, thread_info, sizeof *thread_info); in kgdb_singlestep() 184 if (thread_info != exception_thread_info) in kgdb_singlestep() 186 memcpy(exception_thread_info, backup_current_thread_info, sizeof *thread_info); in kgdb_singlestep()
|
D | irq.c | 471 if (unlikely(sp < (sizeof(struct thread_info) + 2048))) { in check_stack_overflow() 473 sp - sizeof(struct thread_info)); in check_stack_overflow() 513 struct thread_info *curtp, *irqtp, *sirqtp; in do_IRQ() 558 struct thread_info *critirq_ctx[NR_CPUS] __read_mostly; 559 struct thread_info *dbgirq_ctx[NR_CPUS] __read_mostly; 560 struct thread_info *mcheckirq_ctx[NR_CPUS] __read_mostly; 564 struct thread_info *tp; in exc_lvl_ctx_init() 598 struct thread_info *softirq_ctx[NR_CPUS] __read_mostly; 599 struct thread_info *hardirq_ctx[NR_CPUS] __read_mostly; 603 struct thread_info *tp; in irq_ctx_init() [all …]
|
D | setup_32.c | 233 softirq_ctx[i] = (struct thread_info *) in irqstack_early_init() 235 hardirq_ctx[i] = (struct thread_info *) in irqstack_early_init() 254 critirq_ctx[hw_cpu] = (struct thread_info *) in exc_lvl_early_init() 257 dbgirq_ctx[hw_cpu] = (struct thread_info *) in exc_lvl_early_init() 259 mcheckirq_ctx[hw_cpu] = (struct thread_info *) in exc_lvl_early_init()
|
D | machine_kexec_64.c | 356 kexec_stack.thread_info.task = current_thread_info()->task; in default_machine_kexec() 357 kexec_stack.thread_info.flags = 0; in default_machine_kexec() 358 kexec_stack.thread_info.preempt_count = HARDIRQ_OFFSET; in default_machine_kexec() 359 kexec_stack.thread_info.cpu = current_thread_info()->cpu; in default_machine_kexec()
|
D | setup_64.c | 615 softirq_ctx[i] = (struct thread_info *) in irqstack_early_init() 618 hardirq_ctx[i] = (struct thread_info *) in irqstack_early_init() 632 critirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init() 636 dbgirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init() 640 mcheckirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init()
|
D | smp.c | 69 struct thread_info *secondary_ti; 348 struct thread_info *current_set[NR_CPUS]; 470 struct thread_info *ti = task_thread_info(idle); in cpu_idle_thread_init()
|
D | syscalls.c | 127 struct thread_info *ti; in sys_switch_endian()
|
D | process.c | 532 struct thread_info *ti, uint8_t cause) in tm_reclaim_thread() 1148 struct thread_info *ti = (void *)task_stack_page(p); in copy_thread() 1199 _ALIGN_UP(sizeof(struct thread_info), 16); in copy_thread() 1607 struct thread_info *ti = current_thread_info(); in __ppc64_runlatch_on() 1620 struct thread_info *ti = current_thread_info(); in __ppc64_runlatch_off()
|
D | asm-offsets.c | 85 DEFINE(THREAD_INFO_GAP, _ALIGN_UP(sizeof(struct thread_info), 16)); in main() 160 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 161 DEFINE(TI_LOCAL_FLAGS, offsetof(struct thread_info, local_flags)); in main() 162 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 163 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 164 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | traps_32.c | 434 if (TI_UWINMASK != offsetof(struct thread_info, uwinmask) || 435 TI_TASK != offsetof(struct thread_info, task) || 436 TI_FLAGS != offsetof(struct thread_info, flags) || 437 TI_CPU != offsetof(struct thread_info, cpu) || 438 TI_PREEMPT != offsetof(struct thread_info, preempt_count) || 439 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) || 440 TI_HARDIRQ != offsetof(struct thread_info, hardirq_count) || 441 TI_KSP != offsetof(struct thread_info, ksp) || 442 TI_KPC != offsetof(struct thread_info, kpc) || 443 TI_KPSR != offsetof(struct thread_info, kpsr) || [all …]
|
D | windows.c | 41 static inline void shift_window_buffer(int first_win, int last_win, struct thread_info *tp) in shift_window_buffer() 62 struct thread_info *tp = current_thread_info(); in synchronize_user_stack() 114 struct thread_info *tp = current_thread_info(); in try_to_clear_window_buffer()
|
D | kstack.h | 10 static inline bool kstack_valid(struct thread_info *tp, unsigned long sp) in kstack_valid() 18 if (sp >= (base + sizeof(struct thread_info)) && in kstack_valid() 36 static inline bool kstack_is_trap_frame(struct thread_info *tp, struct pt_regs *regs) in kstack_is_trap_frame()
|
D | process_64.c | 194 static void __global_reg_self(struct thread_info *tp, struct pt_regs *regs, in __global_reg_self() 244 struct thread_info *tp = current_thread_info(); in arch_trigger_all_cpu_backtrace() 402 struct thread_info *ti = task_thread_info(tsk); in thread_saved_pc() 422 struct thread_info *t = current_thread_info(); in exit_thread() 434 struct thread_info *t = current_thread_info(); in flush_thread() 490 struct thread_info *t) in shift_window_buffer() 503 struct thread_info *t = current_thread_info(); in synchronize_user_stack() 543 struct thread_info *t = current_thread_info(); in fault_in_user_windows() 622 struct thread_info *t = task_thread_info(p); in copy_thread() 752 struct thread_info *tp; in get_wchan()
|
D | stacktrace.c | 11 static void __save_stack_trace(struct thread_info *tp, in __save_stack_trace() 81 struct thread_info *tp = task_thread_info(tsk); in save_stack_trace_tsk()
|
D | traps_64.c | 2323 struct thread_info *tp; in show_stack() 2407 struct thread_info *tp = current_thread_info(); in die_if_kernel() 2668 void notrace init_cur_cpu_trap(struct thread_info *t) in init_cur_cpu_trap() 2685 BUILD_BUG_ON(TI_TASK != offsetof(struct thread_info, task) || in trap_init() 2686 TI_FLAGS != offsetof(struct thread_info, flags) || in trap_init() 2687 TI_CPU != offsetof(struct thread_info, cpu) || in trap_init() 2688 TI_FPSAVED != offsetof(struct thread_info, fpsaved) || in trap_init() 2689 TI_KSP != offsetof(struct thread_info, ksp) || in trap_init() 2690 TI_FAULT_ADDR != offsetof(struct thread_info, in trap_init() 2692 TI_KREGS != offsetof(struct thread_info, kregs) || in trap_init() [all …]
|
D | process_32.c | 68 struct thread_info *current_set[NR_CPUS]; 164 if (fp < (task_base + sizeof(struct thread_info)) || in show_stack() 311 struct thread_info *ti = task_thread_info(p); 480 if (fp < (task_base + sizeof(struct thread_info)) ||
|
D | sigutil_64.c | 75 struct thread_info *t = current_thread_info(); in restore_rwin_state()
|
D | sigutil_32.c | 101 struct thread_info *t = current_thread_info(); in restore_rwin_state()
|
D | kgdb_32.c | 47 struct thread_info *t = task_thread_info(p); in sleeping_thread_to_gdb_regs()
|
D | kgdb_64.c | 46 struct thread_info *t = task_thread_info(p); in sleeping_thread_to_gdb_regs()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | thread_info.h | 26 struct thread_info { struct 47 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 49 struct thread_info *ti; in current_thread_info() 60 #define init_thread_info (init_thread_union.thread_info)
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | asm-offsets.c | 53 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 54 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 55 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 56 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
|
D | process.c | 52 struct thread_info *current_thread_info_set[NR_CPUS] = { &init_thread_info, }; 214 extern struct thread_info *_switch(struct thread_info *old_ti, 215 struct thread_info *new_ti); 221 struct thread_info *new_ti, *old_ti; in __switch_to()
|
D | traps.c | 44 static inline int valid_stack_ptr(struct thread_info *tinfo, void *p) in valid_stack_ptr() 51 struct thread_info *context; in show_trace() 54 context = (struct thread_info *) in show_trace()
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | thread_info.h | 41 struct thread_info { struct 63 #define init_thread_info (init_thread_union.thread_info) argument 68 struct thread_info *current_thread_info(void) in current_thread_info() 70 struct thread_info *ti; in current_thread_info()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | thread_info.h | 55 struct thread_info { struct 73 #define init_thread_info (init_thread_union.thread_info) argument 164 static inline struct thread_info *current_thread_info(void) in current_thread_info() 166 return (struct thread_info *)(current_top_of_stack() - THREAD_SIZE); in current_thread_info() 234 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 248 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | stacktrace.h | 14 struct thread_info; 17 typedef unsigned long (*walk_stack_t)(struct thread_info *tinfo, 26 print_context_stack(struct thread_info *tinfo, 32 print_context_stack_bp(struct thread_info *tinfo,
|
D | switch_to.h | 124 [ti_flags] "i" (offsetof(struct thread_info, flags)), \ 126 [thread_info] "i" (offsetof(struct task_struct, stack)), \
|
D | smp.h | 189 struct thread_info *ti; \
|
/linux-4.4.14/arch/arc/include/asm/ |
D | thread_info.h | 42 struct thread_info { struct 65 #define init_thread_info (init_thread_union.thread_info) argument 68 static inline __attribute_const__ struct thread_info *current_thread_info(void) in current_thread_info() 71 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | thread_info.h | 40 struct thread_info { struct 66 #define init_thread_info (init_thread_union.thread_info) argument 70 static inline struct thread_info *current_thread_info(void) in current_thread_info() 74 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/linux-4.4.14/include/linux/ |
D | thread_info.h | 69 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() 74 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() 79 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() 84 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag() 89 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag()
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | thread_info.h | 67 struct thread_info { struct 90 #define init_thread_info (init_thread_union.thread_info) argument 96 static inline struct thread_info *current_thread_info(void) __attribute_const__; 98 static inline struct thread_info *current_thread_info(void) in current_thread_info() 101 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
D | switch_to.h | 14 struct thread_info; 22 struct thread_info *, struct thread_info *);
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | thread_info.h | 14 struct thread_info { struct 41 #define init_thread_info (init_thread_union.thread_info) argument 45 register struct thread_info *__current_thread_info __asm__("$8"); 95 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 109 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | elf.h | 109 struct thread_info; 112 struct thread_info *ti);
|
/linux-4.4.14/arch/sh/kernel/ |
D | asm-offsets.c | 23 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 24 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 25 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 26 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main() 27 DEFINE(TI_SIZE, sizeof(struct thread_info)); in main()
|
D | dumpstack.c | 57 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() 80 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() 89 struct thread_info *context; in stack_reader_dump() 92 context = (struct thread_info *) in stack_reader_dump()
|
D | irq.c | 60 struct thread_info tinfo; 152 struct thread_info *curctx; in do_softirq_own_stack()
|
D | smp.c | 215 void *thread_info; member 226 stack_start.thread_info = tsk->stack; in __cpu_up()
|
D | process_32.c | 129 struct thread_info *ti = task_thread_info(p); in copy_thread()
|
D | head_32.S | 85 ldc r0, r7_bank ! ... and initial thread_info
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | thread_info.h | 28 struct thread_info { struct 52 #define init_thread_info (init_thread_union.thread_info) argument 56 static inline struct thread_info *current_thread_info(void) in current_thread_info() 58 struct thread_info *ti; in current_thread_info()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | thread_info.h | 21 struct thread_info { struct 42 #define init_thread_info (init_thread_union.thread_info) argument 49 static inline struct thread_info *current_thread_info(void) in current_thread_info() 54 return (struct thread_info *)addr; in current_thread_info()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | thread_info.h | 45 struct thread_info { struct 80 #define init_thread_info (init_thread_union.thread_info) argument 84 static inline struct thread_info *current_thread_info(void) in current_thread_info() 86 struct thread_info *ti; in current_thread_info()
|
D | coprocessor.h | 159 extern struct thread_info* coprocessor_owner[XCHAL_CP_MAX]; 162 extern void coprocessor_flush(struct thread_info*, int); 163 extern void coprocessor_restore(struct thread_info*, int); 165 extern void coprocessor_release_all(struct thread_info*); 166 extern void coprocessor_flush_all(struct thread_info*);
|
/linux-4.4.14/arch/frv/kernel/ |
D | asm-offsets.c | 36 OFFSET(TI_TASK, thread_info, task); in foo() 37 OFFSET(TI_FLAGS, thread_info, flags); in foo() 38 OFFSET(TI_STATUS, thread_info, status); in foo() 39 OFFSET(TI_CPU, thread_info, cpu); in foo() 40 OFFSET(TI_PREEMPT_COUNT, thread_info, preempt_count); in foo() 41 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in foo()
|
D | entry.S | 153 ldi.p @(gr29,#4),gr15 ; __current_thread_info = current->thread_info 186 # GR15 - current thread_info struct pointer
|
/linux-4.4.14/arch/arm/vfp/ |
D | vfpmodule.c | 65 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw() 79 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload() 93 static void vfp_thread_flush(struct thread_info *thread) in vfp_thread_flush() 121 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit() 132 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy() 134 struct thread_info *parent = current_thread_info(); in vfp_thread_copy() 168 struct thread_info *thread = v; in vfp_notifier() 464 struct thread_info *ti = current_thread_info(); in vfp_pm_suspend() 529 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate() 548 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate() [all …]
|
D | entry.S | 23 @ r10 = this threads thread_info structure
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | asm-offsets.c | 24 OFFSET(TI_task, thread_info, task); in foo() 25 OFFSET(TI_frame, thread_info, frame); in foo() 26 OFFSET(TI_flags, thread_info, flags); in foo() 27 OFFSET(TI_cpu, thread_info, cpu); in foo() 28 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo() 29 OFFSET(TI_addr_limit, thread_info, addr_limit); in foo()
|
D | setup.c | 61 struct thread_info *__current_ti = &init_thread_union.thread_info;
|
D | process.c | 147 struct thread_info *ti = task_thread_info(p); in copy_thread()
|
D | kgdb.c | 25 static struct thread_info *kgdb_sstep_thread; 400 void arch_release_thread_info(struct thread_info *ti) in arch_release_thread_info()
|
/linux-4.4.14/arch/h8300/kernel/ |
D | asm-offsets.c | 61 OFFSET(TI_TASK, thread_info, task); in main() 62 OFFSET(TI_FLAGS, thread_info, flags); in main() 63 OFFSET(TI_CPU, thread_info, cpu); in main() 64 OFFSET(TI_PRE, thread_info, preempt_count); in main()
|
D | process.c | 146 if (fp < stack_page+sizeof(struct thread_info) || in get_wchan()
|
/linux-4.4.14/arch/score/include/asm/ |
D | thread_info.h | 29 struct thread_info { struct 60 #define init_thread_info (init_thread_union.thread_info) argument 64 register struct thread_info *__current_thread_info __asm__("r28");
|
/linux-4.4.14/arch/arm/mach-ep93xx/ |
D | crunch.c | 26 void crunch_task_release(struct thread_info *thread) in crunch_task_release() 41 struct thread_info *thread = (struct thread_info *)t; in crunch_do()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | thread_info.h | 32 struct thread_info { struct 67 #define init_thread_info (init_thread_union.thread_info) argument 71 register struct thread_info *__current_thread_info asm("gr15");
|
/linux-4.4.14/arch/mips/include/asm/ |
D | thread_info.h | 24 struct thread_info { struct 52 #define init_thread_info (init_thread_union.thread_info) argument 56 register struct thread_info *__current_thread_info __asm__("$28"); 58 static inline struct thread_info *current_thread_info(void) in current_thread_info()
|
D | switch_to.h | 33 struct task_struct *next, struct thread_info *next_ti); 54 struct thread_info *__prev_ti = task_thread_info(prev); \
|
/linux-4.4.14/arch/s390/kernel/ |
D | asm-offsets.c | 41 OFFSET(__TI_task, thread_info, task); in main() 42 OFFSET(__TI_flags, thread_info, flags); in main() 43 OFFSET(__TI_sysc_table, thread_info, sys_call_table); in main() 44 OFFSET(__TI_cpu, thread_info, cpu); in main() 45 OFFSET(__TI_precount, thread_info, preempt_count); in main() 46 OFFSET(__TI_user_timer, thread_info, user_timer); in main() 47 OFFSET(__TI_system_timer, thread_info, system_timer); in main() 48 OFFSET(__TI_last_break, thread_info, last_break); in main() 157 OFFSET(__LC_THREAD_INFO, _lowcore, thread_info); in main()
|
D | stacktrace.c | 80 S390_lowcore.thread_info, in save_stack_trace() 81 S390_lowcore.thread_info + THREAD_SIZE, 1); in save_stack_trace()
|
D | vtime.c | 97 struct thread_info *ti = task_thread_info(tsk); in do_account_vtime() 152 struct thread_info *ti; in vtime_task_switch() 180 struct thread_info *ti = task_thread_info(tsk); in vtime_account_irq_enter()
|
D | dumpstack.c | 90 __show_trace(sp, S390_lowcore.thread_info, in show_trace() 91 S390_lowcore.thread_info + THREAD_SIZE); in show_trace()
|
D | perf_event.c | 281 __store_trace(entry, head, S390_lowcore.thread_info, in perf_callchain_kernel() 282 S390_lowcore.thread_info + THREAD_SIZE); in perf_callchain_kernel()
|
D | process.c | 123 struct thread_info *ti; in copy_thread()
|
D | setup.c | 330 lc->current_task = (unsigned long) init_thread_union.thread_info.task; in setup_lowcore() 331 lc->thread_info = (unsigned long) &init_thread_union; in setup_lowcore()
|
D | smp.c | 259 struct thread_info *ti = task_thread_info(tsk); in pcpu_attach_task() 263 lc->thread_info = (unsigned long) task_thread_info(tsk); in pcpu_attach_task()
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | thread_info.h | 49 struct thread_info { struct 82 #define init_thread_info (init_thread_union.thread_info) argument 85 register struct thread_info *current_thread_info_reg asm("r10");
|
D | processor.h | 66 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S… argument
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | thread_info.h | 48 struct thread_info { struct 87 #define init_thread_info (init_thread_union.thread_info) argument 95 register struct thread_info *__current_thread_info asm(QUOTED_THREADINFO_REG);
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | thread_info_64.h | 35 struct thread_info { struct 122 #define init_thread_info (init_thread_union.thread_info) 126 register struct thread_info *current_thread_info_reg asm("g6"); 231 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 245 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | thread_info_32.h | 27 struct thread_info { struct 65 #define init_thread_info (init_thread_union.thread_info) argument 69 register struct thread_info *current_thread_info_reg asm("g6");
|
D | trap_block.h | 22 struct thread_info; 25 struct thread_info *thread; 54 void init_cur_cpu_trap(struct thread_info *);
|
D | switch_to_32.h | 6 extern struct thread_info *current_set[NR_CPUS];
|
D | ptrace.h | 45 struct thread_info *thread;
|
/linux-4.4.14/arch/alpha/kernel/ |
D | asm-offsets.c | 16 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in foo() 17 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo() 18 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
|
D | process.c | 249 struct thread_info *childti = task_thread_info(p); in copy_thread() 292 dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti) in dump_elf_thread()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | thread_info.h | 10 struct thread_info { struct 27 #define init_thread_info (init_thread_union.thread_info) argument 31 #define current_thread_info() ((struct thread_info *)mfctl(30))
|
/linux-4.4.14/arch/x86/entry/ |
D | common.c | 33 static struct thread_info *pt_regs_to_thread_info(struct pt_regs *regs) in pt_regs_to_thread_info() 37 return (struct thread_info *)(top_of_stack - THREAD_SIZE); in pt_regs_to_thread_info() 78 struct thread_info *ti = pt_regs_to_thread_info(regs); in syscall_trace_enter_phase1() 167 struct thread_info *ti = pt_regs_to_thread_info(regs); in syscall_trace_enter_phase2() 271 struct thread_info *ti = pt_regs_to_thread_info(regs); in prepare_exit_to_usermode() 330 struct thread_info *ti = pt_regs_to_thread_info(regs); in syscall_return_slowpath() 366 struct thread_info *ti = pt_regs_to_thread_info(regs); in do_syscall_32_irqs_on()
|
/linux-4.4.14/arch/score/kernel/ |
D | asm-offsets.c | 102 OFFSET(TI_TASK, thread_info, task); in output_thread_info_defines() 103 OFFSET(TI_FLAGS, thread_info, flags); in output_thread_info_defines() 104 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines() 105 OFFSET(TI_CPU, thread_info, cpu); in output_thread_info_defines() 106 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in output_thread_info_defines() 107 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in output_thread_info_defines() 108 OFFSET(TI_REGS, thread_info, regs); in output_thread_info_defines()
|
D | process.c | 74 struct thread_info *ti = task_thread_info(p); in copy_thread()
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
D | thread_info.h | 5 static inline struct thread_info *current_thread_info(void) in current_thread_info() 7 struct thread_info *ti; in current_thread_info()
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/ |
D | thread_info.h | 5 static inline struct thread_info *current_thread_info(void) in current_thread_info() 7 struct thread_info *ti; in current_thread_info()
|
/linux-4.4.14/scripts/gdb/linux/ |
D | tasks.py | 97 thread_info = thread_info_addr.cast(thread_info_ptr_type) 99 thread_info = task['stack'].cast(thread_info_ptr_type) 100 return thread_info.dereference()
|
D | utils.py | 143 thread_info = gdb.execute("info thread 2", to_string=True) 144 return "shadowCPU0" in thread_info
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | unwind.c | 293 struct thread_info *thread_info = in microblaze_unwind() local 294 (struct thread_info *)(task->stack); in microblaze_unwind() 296 &thread_info->cpu_context; in microblaze_unwind()
|
D | asm-offsets.c | 90 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 91 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 92 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 93 DEFINE(TI_CPU_CONTEXT, offsetof(struct thread_info, cpu_context)); in main() 94 DEFINE(TI_PREEMPT_COUNT, offsetof(struct thread_info, preempt_count)); in main()
|
D | process.c | 58 struct thread_info *ti = task_thread_info(p); in copy_thread() 126 &(((struct thread_info *)(tsk->stack))->cpu_context); in thread_saved_pc()
|
D | traps.c | 40 fp = ((struct thread_info *) in show_stack()
|
/linux-4.4.14/arch/metag/kernel/ |
D | irq.c | 20 struct thread_info tinfo; 80 isp = (u32 *) ((char *)irqctx + sizeof(struct thread_info)); in do_IRQ() 160 struct thread_info *curctx; in do_softirq_own_stack() 169 isp = (u32 *) ((char *)irqctx + sizeof(struct thread_info)); in do_softirq_own_stack()
|
D | asm-offsets.c | 12 DEFINE(THREAD_INFO_SIZE, sizeof(struct thread_info)); in main()
|
D | stacktrace.c | 71 sizeof(struct thread_info)) || fpnew >= (unsigned long)fp) in unwind_frame()
|
/linux-4.4.14/arch/x86/kernel/ |
D | asm-offsets.c | 32 OFFSET(TI_flags, thread_info, flags); in common() 33 OFFSET(TI_status, thread_info, status); in common() 34 OFFSET(TI_addr_limit, thread_info, addr_limit); in common()
|
D | dumpstack.c | 45 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() 71 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() 82 static inline int valid_stack_ptr(struct thread_info *tinfo, in valid_stack_ptr() 96 print_context_stack(struct thread_info *tinfo, in print_context_stack() 124 print_context_stack_bp(struct thread_info *tinfo, in print_context_stack_bp()
|
D | irq_32.c | 36 return sp < (sizeof(struct thread_info) + STACK_WARN); in check_stack_overflow() 133 struct thread_info *curstk; in do_softirq_own_stack()
|
D | irq_64.c | 44 if (regs->sp >= curbase + sizeof(struct thread_info) + in stack_overflow_check()
|
D | dumpstack_32.c | 64 struct thread_info *context; in dump_trace()
|
D | dumpstack_64.c | 156 struct thread_info *tinfo; in dump_trace()
|
D | process.c | 550 bottom = start + sizeof(struct thread_info); in get_wchan()
|
/linux-4.4.14/arch/cris/include/asm/ |
D | processor.h | 43 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - … argument
|
D | thread_info.h | 29 struct thread_info { struct 58 #define init_thread_info (init_thread_union.thread_info) argument
|
/linux-4.4.14/arch/mips/kernel/ |
D | irq.c | 72 if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { in check_stack_overflow() 74 sp - sizeof(struct thread_info)); in check_stack_overflow()
|
D | smp-cmp.c | 83 struct thread_info *gp = task_thread_info(idle); in cmp_boot_secondary() 94 (unsigned long)(gp + sizeof(struct thread_info))); in cmp_boot_secondary()
|
D | asm-offsets.c | 94 OFFSET(TI_TASK, thread_info, task); in output_thread_info_defines() 95 OFFSET(TI_FLAGS, thread_info, flags); in output_thread_info_defines() 96 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines() 97 OFFSET(TI_CPU, thread_info, cpu); in output_thread_info_defines() 98 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in output_thread_info_defines() 99 OFFSET(TI_R2_EMUL_RET, thread_info, r2_emul_return); in output_thread_info_defines() 100 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in output_thread_info_defines() 101 OFFSET(TI_REGS, thread_info, regs); in output_thread_info_defines()
|
D | smp-mt.c | 197 struct thread_info *gp = task_thread_info(idle); in vsmp_boot_secondary() 221 (unsigned long)(gp + sizeof(struct thread_info))); in vsmp_boot_secondary()
|
D | syscall.c | 90 struct thread_info *ti = task_thread_info(current); in SYSCALL_DEFINE1()
|
D | mips-mt-fpaff.c | 66 struct thread_info *ti; in mipsmt_sys_sched_setaffinity()
|
D | kgdb.c | 247 struct thread_info *ti = task_thread_info(p); in sleeping_thread_to_gdb_regs()
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | asm-offsets.c | 78 OFFSET(_THREAD_INFO_FLAGS, thread_info, flags); in main() 79 OFFSET(_THREAD_INFO_PT_REGS, thread_info, regs); in main() 80 OFFSET(_THREAD_INFO_SP, thread_info, sp); in main()
|
D | process.c | 74 struct thread_info *ti = task_thread_info(p); in copy_thread() 169 if (fp < (stack_page + sizeof(struct thread_info)) || in get_wchan()
|
D | smp.c | 195 struct thread_info *thread = (struct thread_info *)idle->stack; in __cpu_up()
|
D | traps.c | 133 low += sizeof(struct thread_info); in do_show_stack()
|
/linux-4.4.14/kernel/locking/ |
D | mutex-debug.h | 23 struct thread_info *ti); 25 struct thread_info *ti);
|
D | mutex-debug.c | 52 struct thread_info *ti) in debug_mutex_add_waiter() 61 struct thread_info *ti) in mutex_remove_waiter()
|
/linux-4.4.14/arch/x86/um/ |
D | ptrace_32.c | 196 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpregs() 212 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpregs() 225 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpxregs() 241 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpxregs()
|
D | ptrace_64.c | 224 int err, n, cpu = ((struct thread_info *) child->stack)->cpu; in get_fpregs() 241 int n, cpu = ((struct thread_info *) child->stack)->cpu; in set_fpregs()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | asm-offsets.c | 36 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 37 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 38 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 39 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 40 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
|
D | traps.c | 202 static int __die(const char *str, int err, struct thread_info *thread, in __die() 240 struct thread_info *thread = current_thread_info(); in die()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | irqchip.c | 56 if (unlikely(sp < (sizeof(struct thread_info) + STACK_WARN))) { in check_stack_overflow() 59 irq, sp - sizeof(struct thread_info)); in check_stack_overflow()
|
D | asm-offsets.c | 46 OFFSET(TI_TASK, thread_info, task); in main() 47 OFFSET(TI_FLAGS, thread_info, flags); in main() 48 OFFSET(TI_CPU, thread_info, cpu); in main() 49 OFFSET(TI_PREEMPT, thread_info, preempt_count); in main()
|
D | process.c | 154 if (fp < stack_page + sizeof(struct thread_info) || in get_wchan()
|
/linux-4.4.14/arch/s390/oprofile/ |
D | backtrace.c | 75 __show_trace(&depth, head, S390_lowcore.thread_info, in s390_backtrace() 76 S390_lowcore.thread_info + THREAD_SIZE); in s390_backtrace()
|
/linux-4.4.14/arch/arc/kernel/ |
D | asm-offsets.c | 32 DEFINE(THREAD_INFO_FLAGS, offsetof(struct thread_info, flags)); in main() 34 offsetof(struct thread_info, preempt_count)); in main()
|
D | head.S | 130 ; set it's stack base to tsk->thread_info bottom
|
D | entry-compact.S | 189 ; bump thread_info->preempt_count (Disable preemption) 381 ; decrement thread_info->preempt_count (re-enable preemption)
|
/linux-4.4.14/arch/nios2/kernel/ |
D | asm-offsets.c | 82 OFFSET(TI_FLAGS, thread_info, flags); in main() 83 OFFSET(TI_PREEMPT_COUNT, thread_info, preempt_count); in main()
|
/linux-4.4.14/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 106 static void *rw_thread_main(void *thread_info) in rw_thread_main() argument 110 struct rw_thread_info *ts = (struct rw_thread_info *)thread_info; in rw_thread_main()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | asm-offsets.c | 244 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 245 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 246 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 247 DEFINE(TI_SEGMENT, offsetof(struct thread_info, addr_limit)); in main() 248 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main() 249 DEFINE(THREAD_SZ, sizeof(struct thread_info)); in main() 251 DEFINE(THREAD_SZ_ALGN, align_frame(sizeof(struct thread_info), FRAME_ALIGN)); in main()
|
/linux-4.4.14/arch/m68k/kernel/ |
D | asm-offsets.c | 41 DEFINE(TINFO_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 42 DEFINE(TINFO_FLAGS, offsetof(struct thread_info, flags)); in main()
|
D | vmlinux-sun3.lds | 5 #include <asm/thread_info.h>
|
D | vmlinux-std.lds | 5 #include <asm/thread_info.h>
|
D | vmlinux-nommu.lds | 20 #include <asm/thread_info.h>
|
D | process.c | 268 if (fp < stack_page+sizeof(struct thread_info) || in get_wchan()
|
/linux-4.4.14/arch/um/kernel/ |
D | irq.c | 411 struct thread_info *ti; in to_irq_stack() 438 struct thread_info *tti; in to_irq_stack() 455 struct thread_info *ti, *to; in from_irq_stack()
|
/linux-4.4.14/arch/avr32/oprofile/ |
D | backtrace.c | 28 static inline int valid_stack_ptr(struct thread_info *tinfo, unsigned long p) in valid_stack_ptr()
|
/linux-4.4.14/arch/c6x/kernel/ |
D | asm-offsets.c | 102 OFFSET(THREAD_INFO_FLAGS, thread_info, flags); in foo() 103 OFFSET(THREAD_INFO_PREEMPT_COUNT, thread_info, preempt_count); in foo()
|
/linux-4.4.14/arch/cris/kernel/ |
D | asm-offsets.c | 37 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main()
|
/linux-4.4.14/arch/arm/nwfpe/ |
D | fpmodule.c | 62 struct thread_info *thread = v; in nwfpe_notify()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh5/ |
D | switchto.S | 132 ld.l r4, 4, r9 ! next->thread_info (2nd element of next task_struct) 133 putcon r9, kcr0 ! current = next->thread_info
|
/linux-4.4.14/kernel/ |
D | fork.c | 150 void __weak arch_release_thread_info(struct thread_info *ti) in arch_release_thread_info() 161 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node() 170 static inline void free_thread_info(struct thread_info *ti) in free_thread_info() 177 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node() 183 static void free_thread_info(struct thread_info *ti) in free_thread_info() 215 static void account_kernel_stack(struct thread_info *ti, int account) in account_kernel_stack() 337 struct thread_info *ti; in dup_task_struct()
|
/linux-4.4.14/arch/arm/mm/ |
D | context.c | 110 struct thread_info *thread = t; in contextidr_notifier()
|
/linux-4.4.14/arch/powerpc/net/ |
D | bpf_jit.h | 165 do { BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); \ 167 offsetof(struct thread_info, cpu)); \
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | entry.S | 365 and.d -8192, $r10 ; Get thread_info from stackpointer. 508 ;; thread_info as first parameter
|
D | signal.c | 467 ugdb_trap_user(struct thread_info *ti, int sig) in ugdb_trap_user()
|
/linux-4.4.14/arch/sparc/net/ |
D | bpf_jit_comp.c | 254 emit_load16(G6, struct thread_info, cpu, REG) 257 emit_load32(G6, struct thread_info, cpu, REG)
|
/linux-4.4.14/Documentation/ |
D | gdb-kernel-debugging.txt | 154 function lx_thread_info -- Calculate Linux thread_info from task variable
|