/linux/arch/arm/include/asm/ |
A D | thread_info.h | 54 struct thread_info { struct 83 static inline struct task_struct *thread_task(struct thread_info* ti) in thread_task() argument 101 static inline struct thread_info *current_thread_info(void) in current_thread_info() 103 return (struct thread_info *) in current_thread_info() 121 extern void iwmmxt_task_disable(struct thread_info *); 122 extern void iwmmxt_task_copy(struct thread_info *, void *); 123 extern void iwmmxt_task_restore(struct thread_info *, void *); 124 extern void iwmmxt_task_release(struct thread_info *); 125 extern void iwmmxt_task_switch(struct thread_info *); 127 extern void vfp_sync_hwstate(struct thread_info *); [all …]
|
/linux/arch/xtensa/kernel/ |
A D | asm-offsets.c | 85 OFFSET(TI_TASK, thread_info, task); in main() 86 OFFSET(TI_FLAGS, thread_info, flags); in main() 87 OFFSET(TI_STSTUS, thread_info, status); in main() 88 OFFSET(TI_CPU, thread_info, cpu); in main() 89 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in main() 90 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in main() 95 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable)); in main() 97 DEFINE(THREAD_ATOMCTL8, offsetof (struct thread_info, atomctl8)); in main() 100 DEFINE(THREAD_XTREGS_CP0, offsetof(struct thread_info, xtregs_cp.cp0)); in main() 101 DEFINE(THREAD_XTREGS_CP1, offsetof(struct thread_info, xtregs_cp.cp1)); in main() [all …]
|
/linux/arch/arm/kernel/ |
A D | asm-offsets.c | 44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 49 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 50 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main() 51 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() 52 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); in main() 53 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main() 54 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main() 55 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() [all …]
|
/linux/arch/sparc/kernel/ |
A D | traps_32.c | 373 if (TI_UWINMASK != offsetof(struct thread_info, uwinmask) || 374 TI_TASK != offsetof(struct thread_info, task) || 375 TI_FLAGS != offsetof(struct thread_info, flags) || 376 TI_CPU != offsetof(struct thread_info, cpu) || 377 TI_PREEMPT != offsetof(struct thread_info, preempt_count) || 380 TI_KSP != offsetof(struct thread_info, ksp) || 381 TI_KPC != offsetof(struct thread_info, kpc) || 382 TI_KPSR != offsetof(struct thread_info, kpsr) || 383 TI_KWIM != offsetof(struct thread_info, kwim) || 384 TI_REG_WINDOW != offsetof(struct thread_info, reg_window) || [all …]
|
A D | windows.c | 42 static inline void shift_window_buffer(int first_win, int last_win, struct thread_info *tp) in shift_window_buffer() 63 struct thread_info *tp = current_thread_info(); in synchronize_user_stack() 115 struct thread_info *tp = current_thread_info(); in try_to_clear_window_buffer()
|
/linux/arch/um/include/asm/ |
A D | thread_info.h | 19 struct thread_info { struct 28 struct thread_info *real_thread; /* Points to non-IRQ stack */ argument 44 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 46 struct thread_info *ti; in current_thread_info() 51 ti = (struct thread_info *) (((unsigned long)p) & ~mask); in current_thread_info()
|
/linux/include/linux/ |
A D | thread_info.h | 24 #define current_thread_info() ((struct thread_info *)current) 87 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag() 92 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag() 97 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag() 106 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag() 111 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag() 116 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag()
|
/linux/arch/h8300/kernel/ |
A 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() 66 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main()
|
/linux/arch/openrisc/kernel/ |
A D | asm-offsets.c | 47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 48 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 49 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 50 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
|
A D | process.c | 49 struct thread_info *current_thread_info_set[NR_CPUS] = { &init_thread_info, }; 222 extern struct thread_info *_switch(struct thread_info *old_ti, 223 struct thread_info *new_ti); 230 struct thread_info *new_ti, *old_ti; in __switch_to()
|
/linux/arch/sh/include/asm/ |
A D | thread_info.h | 27 struct thread_info { struct 68 static inline struct thread_info *current_thread_info(void) in current_thread_info() 70 struct thread_info *ti; in current_thread_info() 161 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 168 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
|
/linux/arch/arm/vfp/ |
A D | vfpmodule.c | 90 static void vfp_thread_flush(struct thread_info *thread) in vfp_thread_flush() 118 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit() 129 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy() 131 struct thread_info *parent = current_thread_info(); in vfp_thread_copy() 161 struct thread_info *thread = v; in vfp_notifier() 451 struct thread_info *ti = current_thread_info(); in vfp_pm_suspend() 516 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate() 535 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate() 551 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() 589 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() [all …]
|
/linux/arch/sh/kernel/ |
A D | asm-offsets.c | 24 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 25 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 26 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 27 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main() 28 DEFINE(TI_SIZE, sizeof(struct thread_info)); in main()
|
A D | dumpstack.c | 57 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() 83 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() 92 struct thread_info *context; in stack_reader_dump() 95 context = (struct thread_info *) in stack_reader_dump()
|
/linux/arch/ia64/include/asm/ |
A D | thread_info.h | 24 struct thread_info { struct 57 #define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE)) argument 60 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) 62 #define current_thread_info() ((struct thread_info *) 0) 64 #define task_thread_info(tsk) ((struct thread_info *) 0)
|
/linux/arch/ia64/kernel/ |
A D | time.c | 70 struct thread_info *ti = task_thread_info(tsk); in vtime_flush() 112 struct thread_info *pi = task_thread_info(prev); in arch_vtime_task_switch() 113 struct thread_info *ni = task_thread_info(current); in arch_vtime_task_switch() 125 struct thread_info *ti = task_thread_info(tsk); in vtime_delta() 139 struct thread_info *ti = task_thread_info(tsk); in vtime_account_kernel() 151 struct thread_info *ti = task_thread_info(tsk); in vtime_account_idle() 158 struct thread_info *ti = task_thread_info(tsk); in vtime_account_softirq() 165 struct thread_info *ti = task_thread_info(tsk); in vtime_account_hardirq()
|
/linux/arch/microblaze/include/asm/ |
A D | switch_to.h | 10 struct thread_info; 12 extern struct task_struct *_switch_to(struct thread_info *prev, 13 struct thread_info *next);
|
/linux/arch/mips/include/asm/ |
A D | thread_info.h | 25 struct thread_info { struct 62 extern struct thread_info *__current_thread_info; 64 register struct thread_info *__current_thread_info __asm__("$28"); 67 static inline struct thread_info *current_thread_info(void) in current_thread_info()
|
/linux/arch/csky/kernel/ |
A D | asm-offsets.c | 26 DEFINE(TINFO_FLAGS, offsetof(struct thread_info, flags)); in main() 27 DEFINE(TINFO_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 28 DEFINE(TINFO_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 29 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main() 30 DEFINE(TINFO_TASK, offsetof(struct thread_info, task)); in main()
|
/linux/arch/m68k/include/asm/ |
A D | thread_info.h | 26 struct thread_info { struct 43 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 45 struct thread_info *ti; in current_thread_info()
|
/linux/arch/nios2/include/asm/ |
A D | thread_info.h | 40 struct thread_info { struct 67 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 71 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/linux/arch/arc/include/asm/ |
A D | thread_info.h | 39 struct thread_info { struct 62 static inline __attribute_const__ struct thread_info *current_thread_info(void) in current_thread_info() argument 65 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/linux/arch/h8300/include/asm/ |
A D | thread_info.h | 29 struct thread_info { struct 50 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 52 struct thread_info *ti; in current_thread_info()
|
/linux/arch/alpha/kernel/ |
A D | asm-offsets.c | 17 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in foo() 18 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo() 19 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo()
|
/linux/arch/microblaze/kernel/ |
A D | unwind.c | 282 struct thread_info *thread_info = in microblaze_unwind() local 283 (struct thread_info *)(task->stack); in microblaze_unwind() 285 &thread_info->cpu_context; in microblaze_unwind()
|