Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/arch/xtensa/kernel/
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()
103 DEFINE(THREAD_CP_OWNER_CPU, offsetof(struct thread_info, cp_owner_cpu)); in main()
[all …]
Dprocess.c69 struct thread_info **coprocessor_owner; in local_coprocessors_flush_release_all()
70 struct thread_info *unique_owner[XCHAL_CP_MAX]; in local_coprocessors_flush_release_all()
78 struct thread_info *ti = coprocessor_owner[i]; in local_coprocessors_flush_release_all()
102 struct thread_info *ti = info; in local_coprocessor_release_all()
103 struct thread_info **coprocessor_owner; in local_coprocessor_release_all()
121 void coprocessor_release_all(struct thread_info *ti) in coprocessor_release_all()
134 struct thread_info *ti = info; in local_coprocessor_flush_all()
135 struct thread_info **coprocessor_owner; in local_coprocessor_flush_all()
149 void coprocessor_flush_all(struct thread_info *ti) in coprocessor_flush_all()
166 void coprocessor_flush_release_all(struct thread_info *ti) in coprocessor_flush_release_all()
[all …]
/linux-6.1.9/arch/arm/include/asm/
Dthread_info.h62 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 *);
108 extern void vfp_sync_hwstate(struct thread_info *);
109 extern void vfp_flush_hwstate(struct thread_info *);
/linux-6.1.9/arch/sparc/kernel/
Dtraps_32.c371 if (TI_UWINMASK != offsetof(struct thread_info, uwinmask) ||
372 TI_TASK != offsetof(struct thread_info, task) ||
373 TI_FLAGS != offsetof(struct thread_info, flags) ||
374 TI_CPU != offsetof(struct thread_info, cpu) ||
375 TI_PREEMPT != offsetof(struct thread_info, preempt_count) ||
376 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
377 TI_HARDIRQ != offsetof(struct thread_info, hardirq_count) ||
378 TI_KSP != offsetof(struct thread_info, ksp) ||
379 TI_KPC != offsetof(struct thread_info, kpc) ||
380 TI_KPSR != offsetof(struct thread_info, kpsr) ||
[all …]
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()
/linux-6.1.9/arch/arm/kernel/
Dasm-offsets.c44 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
45 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
46 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
47 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
48 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
49 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); in main()
50 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
51 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
52 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
54 DEFINE(TI_VFPSTATE, offsetof(struct thread_info, vfpstate)); in main()
[all …]
/linux-6.1.9/arch/um/include/asm/
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-6.1.9/include/linux/
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-6.1.9/arch/openrisc/kernel/
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()
Dprocess.c49 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-6.1.9/arch/sh/include/asm/
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()
159 struct thread_info *ti = current_thread_info(); in set_thread_fault_code()
166 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
/linux-6.1.9/arch/sh/kernel/
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()
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-6.1.9/arch/ia64/include/asm/
Dthread_info.h24 struct thread_info { struct
55 #define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE)) argument
58 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE))
60 #define current_thread_info() ((struct thread_info *) 0)
62 #define task_thread_info(tsk) ((struct thread_info *) 0)
/linux-6.1.9/arch/microblaze/include/asm/
Dswitch_to.h10 struct thread_info;
12 extern struct task_struct *_switch_to(struct thread_info *prev,
13 struct thread_info *next);
/linux-6.1.9/arch/arm/vfp/
Dvfpmodule.c62 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw()
76 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload()
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()
[all …]
/linux-6.1.9/arch/nios2/include/asm/
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-6.1.9/arch/m68k/include/asm/
Dthread_info.h26 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-6.1.9/arch/mips/include/asm/
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-6.1.9/arch/ia64/kernel/
Dtime.c70 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-6.1.9/arch/arc/include/asm/
Dthread_info.h38 struct thread_info { struct
59 static inline __attribute_const__ 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-6.1.9/arch/alpha/kernel/
Dasm-offsets.c17 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-6.1.9/arch/loongarch/include/asm/
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-6.1.9/arch/csky/include/asm/
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-6.1.9/arch/xtensa/include/asm/
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