Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/arch/arm/include/asm/
Dthread_info.h54 struct thread_info { struct
89 static inline struct thread_info *current_thread_info(void) __attribute_const__; argument
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 *);
116 extern void iwmmxt_task_copy(struct thread_info *, void *);
[all …]
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dasm-offsets.c85 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 …]
/kernel/linux/linux-5.10/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_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
47 DEFINE(TI_TASK, offsetof(struct thread_info, task)); 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_USED_CP, offsetof(struct thread_info, used_cp)); 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()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dtraps_32.c373 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) ||
378 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
379 TI_HARDIRQ != offsetof(struct thread_info, hardirq_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) ||
[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()
/kernel/linux/linux-5.10/arch/um/include/asm/
Dthread_info.h19 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()
/kernel/linux/linux-5.10/include/linux/
Dthread_info.h23 #define current_thread_info() ((struct thread_info *)current)
66 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag()
71 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag()
76 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag()
85 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag()
90 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag()
95 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dasm-offsets.c48 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
49 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
50 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
51 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
Dprocess.c50 struct thread_info *current_thread_info_set[NR_CPUS] = { &init_thread_info, };
217 extern struct thread_info *_switch(struct thread_info *old_ti,
218 struct thread_info *new_ti);
225 struct thread_info *new_ti, *old_ti; in __switch_to()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dthread_info.h27 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()
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()
/kernel/linux/linux-5.10/arch/h8300/kernel/
Dasm-offsets.c62 OFFSET(TI_TASK, thread_info, task); in main()
63 OFFSET(TI_FLAGS, thread_info, flags); in main()
64 OFFSET(TI_CPU, thread_info, cpu); in main()
65 OFFSET(TI_PRE, thread_info, preempt_count); in main()
67 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dthread_info.h24 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)
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/c6x/include/asm/
Dthread_info.h38 struct thread_info { struct
62 struct thread_info *current_thread_info(void) in current_thread_info() argument
64 struct thread_info *ti; in current_thread_info()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dthread_info.h39 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()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dthread_info.h40 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()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dthread_info.h27 struct thread_info { struct
46 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument
48 struct thread_info *ti; in current_thread_info()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dthread_info.h25 struct thread_info { struct
68 extern struct thread_info *__current_thread_info;
70 register struct thread_info *__current_thread_info __asm__("$28");
73 static inline struct thread_info *current_thread_info(void) in current_thread_info()
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Dcrunch.c23 void crunch_task_release(struct thread_info *thread) in crunch_task_release()
38 struct thread_info *thread = (struct thread_info *)t; in crunch_do()
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dthread_info.h29 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()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dasm-offsets.c27 DEFINE(TINFO_FLAGS, offsetof(struct thread_info, flags)); in main()
28 DEFINE(TINFO_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
29 DEFINE(TINFO_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
30 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
31 DEFINE(TINFO_TASK, offsetof(struct thread_info, task)); in main()
/kernel/linux/linux-5.10/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()

1234567