| /arch/xtensa/kernel/ |
| A D | asm-offsets.c | 86 OFFSET(TI_TASK, thread_info, task); in main() 87 OFFSET(TI_FLAGS, thread_info, flags); in main() 88 OFFSET(TI_STSTUS, thread_info, status); in main() 89 OFFSET(TI_CPU, thread_info, cpu); in main() 90 OFFSET(TI_PRE_COUNT, thread_info, preempt_count); in main() 92 OFFSET(TI_PS_WOE_FIX_ADDR, thread_info, ps_woe_fix_addr); in main() 99 DEFINE(THREAD_ATOMCTL8, offsetof (struct thread_info, atomctl8)); in main() 101 DEFINE(THREAD_CPENABLE, offsetof(struct thread_info, cpenable)); in main() 102 DEFINE(THREAD_CPU, offsetof(struct thread_info, cpu)); in main() 105 DEFINE(THREAD_XTREGS_CP0, offsetof(struct thread_info, xtregs_cp.cp0)); in main() [all …]
|
| A D | process.c | 70 struct thread_info **coprocessor_owner; in local_coprocessors_flush_release_all() 71 struct thread_info *unique_owner[XCHAL_CP_MAX]; in local_coprocessors_flush_release_all() 79 struct thread_info *ti = coprocessor_owner[i]; in local_coprocessors_flush_release_all() 103 struct thread_info *ti = info; in local_coprocessor_release_all() 104 struct thread_info **coprocessor_owner; in local_coprocessor_release_all() 122 void coprocessor_release_all(struct thread_info *ti) in coprocessor_release_all() 135 struct thread_info *ti = info; in local_coprocessor_flush_all() 136 struct thread_info **coprocessor_owner; in local_coprocessor_flush_all() 150 void coprocessor_flush_all(struct thread_info *ti) in coprocessor_flush_all() 207 struct thread_info *ti = current_thread_info(); in flush_thread() [all …]
|
| /arch/arm/include/asm/ |
| A D | thread_info.h | 63 struct thread_info { struct 84 static inline struct task_struct *thread_task(struct thread_info* ti) in thread_task() argument 102 extern void iwmmxt_task_disable(struct thread_info *); 103 extern void iwmmxt_task_copy(struct thread_info *, void *); 104 extern void iwmmxt_task_restore(struct thread_info *, void *); 105 extern void iwmmxt_task_release(struct thread_info *); 106 extern void iwmmxt_task_switch(struct thread_info *); 123 extern void vfp_sync_hwstate(struct thread_info *); 124 extern void vfp_flush_hwstate(struct thread_info *);
|
| A D | switch_to.h | 25 … struct task_struct *__switch_to(struct task_struct *, struct thread_info *, struct thread_info *);
|
| /arch/sparc/kernel/ |
| A D | traps_32.c | 372 if (TI_UWINMASK != offsetof(struct thread_info, uwinmask) || 373 TI_TASK != offsetof(struct thread_info, task) || 374 TI_FLAGS != offsetof(struct thread_info, flags) || 375 TI_CPU != offsetof(struct thread_info, cpu) || 376 TI_PREEMPT != offsetof(struct thread_info, preempt_count) || 379 TI_KSP != offsetof(struct thread_info, ksp) || 380 TI_KPC != offsetof(struct thread_info, kpc) || 381 TI_KPSR != offsetof(struct thread_info, kpsr) || 382 TI_KWIM != offsetof(struct thread_info, kwim) || 383 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()
|
| A D | kstack.h | 11 static inline bool kstack_valid(struct thread_info *tp, unsigned long sp) in kstack_valid() 19 if (sp >= (base + sizeof(struct thread_info)) && in kstack_valid() 37 static inline bool kstack_is_trap_frame(struct thread_info *tp, struct pt_regs *regs) in kstack_is_trap_frame()
|
| /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 | 52 struct thread_info *current_thread_info_set[NR_CPUS] = { &init_thread_info, }; 235 extern struct thread_info *_switch(struct thread_info *old_ti, 236 struct thread_info *new_ti); 243 struct thread_info *new_ti, *old_ti; in __switch_to()
|
| /arch/arm/kernel/ |
| A D | asm-offsets.c | 46 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 47 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 48 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 49 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main() 50 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() 51 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); in main() 52 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main() 53 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() 55 DEFINE(TI_VFPSTATE, offsetof(struct thread_info, vfpstate)); in main() 62 DEFINE(TI_THUMBEE_STATE, offsetof(struct thread_info, thumbee_state)); in main() [all …]
|
| /arch/sh/include/asm/ |
| A D | thread_info.h | 27 struct thread_info { struct 66 static inline struct thread_info *current_thread_info(void) in current_thread_info() 68 struct thread_info *ti; in current_thread_info() 156 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 163 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
|
| /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);
|
| A D | thread_info.h | 59 struct thread_info { struct 81 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 85 return (struct thread_info *)(sp & ~(THREAD_SIZE-1)); in current_thread_info()
|
| /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()
|
| /arch/alpha/kernel/ |
| A D | asm-offsets.c | 17 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo() 18 DEFINE(TI_FP, offsetof(struct thread_info, fp)); in foo() 19 DEFINE(TI_STATUS, offsetof(struct thread_info, status)); in foo()
|
| /arch/m68k/include/asm/ |
| A D | thread_info.h | 27 struct thread_info { struct 44 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 46 struct thread_info *ti; in current_thread_info()
|
| /arch/nios2/include/asm/ |
| A D | thread_info.h | 36 struct thread_info { struct 58 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument 62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
| /arch/arc/include/asm/ |
| A D | thread_info.h | 38 struct thread_info { struct 59 static inline __attribute_const__ struct thread_info *current_thread_info(void) in current_thread_info() 62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
| /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()
|
| /arch/csky/include/asm/ |
| A D | thread_info.h | 13 struct thread_info { struct 45 static inline struct thread_info *current_thread_info(void) in current_thread_info() 51 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
| /arch/loongarch/include/asm/ |
| A D | thread_info.h | 24 struct thread_info { struct 47 register struct thread_info *__current_thread_info __asm__("$tp"); argument 49 static inline struct thread_info *current_thread_info(void) in current_thread_info()
|
| /arch/arm/vfp/ |
| A D | vfpmodule.c | 146 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit() 157 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy() 159 struct thread_info *parent = current_thread_info(); in vfp_thread_copy() 189 struct thread_info *thread = v; in vfp_notifier() 482 struct thread_info *ti = current_thread_info(); in vfp_pm_suspend() 547 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate() 566 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate() 582 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() 620 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() 708 struct thread_info *ti = current_thread_info(); in vfp_support_entry() [all …]
|
| /arch/xtensa/include/asm/ |
| A D | thread_info.h | 48 struct thread_info { struct 94 static __always_inline struct thread_info *current_thread_info(void) in current_thread_info() argument 96 struct thread_info *ti; in current_thread_info()
|
| A D | coprocessor.h | 145 struct thread_info; 146 void coprocessor_flush(struct thread_info *ti, int cp_index); 147 void coprocessor_release_all(struct thread_info *ti); 148 void coprocessor_flush_all(struct thread_info *ti); 149 void coprocessor_flush_release_all(struct thread_info *ti);
|