Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/arch/arm/include/asm/
Dthread_info.h46 struct thread_info { struct
86 static inline struct thread_info *current_thread_info(void) __attribute_const__; argument
88 static inline struct thread_info *current_thread_info(void) in current_thread_info()
90 return (struct thread_info *) in current_thread_info()
107 extern void crunch_task_disable(struct thread_info *);
108 extern void crunch_task_copy(struct thread_info *, void *);
109 extern void crunch_task_restore(struct thread_info *, void *);
110 extern void crunch_task_release(struct thread_info *);
112 extern void iwmmxt_task_disable(struct thread_info *);
113 extern void iwmmxt_task_copy(struct thread_info *, void *);
[all …]
/Linux-v5.4/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_XTREGS_CP0, offsetof(struct thread_info, xtregs_cp.cp0)); in main()
98 DEFINE(THREAD_XTREGS_CP1, offsetof(struct thread_info, xtregs_cp.cp1)); in main()
99 DEFINE(THREAD_XTREGS_CP2, offsetof(struct thread_info, xtregs_cp.cp2)); in main()
[all …]
/Linux-v5.4/arch/arm/kernel/
Dasm-offsets.c54 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
55 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
56 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
57 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
58 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
59 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
60 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
61 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
62 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
63 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/include/linux/
Dthread_info.h22 #define current_thread_info() ((struct thread_info *)current)
53 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag()
58 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag()
63 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, in update_ti_thread_flag()
72 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag()
77 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag()
82 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag()
/Linux-v5.4/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()
/Linux-v5.4/arch/unicore32/kernel/
Dasm-offsets.c38 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
39 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
40 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
41 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
42 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
43 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
44 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main()
46 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main()
/Linux-v5.4/arch/openrisc/kernel/
Dasm-offsets.c49 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main()
50 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main()
51 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
52 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main()
Dprocess.c51 struct thread_info *current_thread_info_set[NR_CPUS] = { &init_thread_info, };
231 extern struct thread_info *_switch(struct thread_info *old_ti,
232 struct thread_info *new_ti);
239 struct thread_info *new_ti, *old_ti; in __switch_to()
/Linux-v5.4/arch/sh/include/asm/
Dthread_info.h29 struct thread_info { struct
70 static inline struct thread_info *current_thread_info(void) in current_thread_info()
72 struct thread_info *ti; in current_thread_info()
163 struct thread_info *ti = current_thread_info(); in set_thread_fault_code()
170 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
/Linux-v5.4/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-v5.4/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.c56 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr()
82 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr()
91 struct thread_info *context; in stack_reader_dump()
94 context = (struct thread_info *) in stack_reader_dump()
/Linux-v5.4/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)
/Linux-v5.4/arch/unicore32/include/asm/
Dswitch_to.h11 struct thread_info;
19 struct thread_info *, struct thread_info *);
Dthread_info.h64 struct thread_info { struct
90 static inline struct thread_info *current_thread_info(void) __attribute_const__; argument
92 static inline struct thread_info *current_thread_info(void) in current_thread_info()
95 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/Linux-v5.4/arch/microblaze/include/asm/
Dswitch_to.h13 struct thread_info;
15 extern struct task_struct *_switch_to(struct thread_info *prev,
16 struct thread_info *next);
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/arch/csky/include/asm/
Dthread_info.h15 struct thread_info { struct
43 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument
49 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/Linux-v5.4/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()

1234567