Home
last modified time | relevance | path

Searched refs:thread_info (Results 1 – 25 of 151) sorted by relevance

1234567

/linux/arch/xtensa/kernel/
H A Dasm-offsets.c86 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 …]
H A Dprocess.c70 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 …]
/linux/arch/arm/include/asm/
H A Dthread_info.h63 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 *);
/linux/arch/sparc/kernel/
H A Dtraps_32.c372 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 …]
H A Dwindows.c42 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()
H A Dkstack.h11 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()
/linux/arch/um/include/asm/
H A Dthread_info.h19 struct thread_info { struct
25 struct thread_info *real_thread; /* Points to non-IRQ stack */ argument
40 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument
42 struct thread_info *ti; in current_thread_info()
47 ti = (struct thread_info *) (((unsigned long)p) & ~mask); in current_thread_info()
/linux/arch/arm/kernel/
H A Dasm-offsets.c46 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 …]
/linux/arch/openrisc/kernel/
H A Dasm-offsets.c47 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()
H A Dprocess.c52 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()
/linux/arch/sh/include/asm/
H A Dthread_info.h27 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()
/linux/include/linux/
H A Dthread_info.h24 #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()
125 static __always_inline unsigned long read_ti_thread_flags(struct thread_info *ti) in read_ti_thread_flags()
/linux/arch/sh/kernel/
H A Dasm-offsets.c24 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()
H A Ddumpstack.c57 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/microblaze/include/asm/
H A Dswitch_to.h10 struct thread_info;
12 extern struct task_struct *_switch_to(struct thread_info *prev,
13 struct thread_info *next);
H A Dthread_info.h59 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()
/linux/arch/alpha/kernel/
H A Dasm-offsets.c17 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()
/linux/arch/arm/vfp/
H A Dvfpmodule.c90 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()
448 struct thread_info *ti = current_thread_info(); in vfp_pm_suspend()
513 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/nios2/include/asm/
H A Dthread_info.h36 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()
/linux/arch/m68k/include/asm/
H A Dthread_info.h27 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()
/linux/arch/mips/include/asm/
H A Dthread_info.h25 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/arc/include/asm/
H A Dthread_info.h38 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()
/linux/arch/csky/include/asm/
H A Dthread_info.h13 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()
/linux/arch/loongarch/include/asm/
H A Dthread_info.h24 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()
/linux/arch/xtensa/include/asm/
H A Dcoprocessor.h145 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);

1234567