Home
last modified time | relevance | path

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

123456

/arch/arm/include/asm/
Dthread_info.h52 struct thread_info { struct
82 static inline struct thread_info *current_thread_info(void) __attribute_const__; argument
84 static inline struct thread_info *current_thread_info(void) in current_thread_info()
86 return (struct thread_info *) in current_thread_info()
103 extern void iwmmxt_task_disable(struct thread_info *);
104 extern void iwmmxt_task_copy(struct thread_info *, void *);
105 extern void iwmmxt_task_restore(struct thread_info *, void *);
106 extern void iwmmxt_task_release(struct thread_info *);
107 extern void iwmmxt_task_switch(struct thread_info *);
109 extern void vfp_sync_hwstate(struct thread_info *);
[all …]
Dswitch_to.h24 … struct task_struct *__switch_to(struct task_struct *, struct thread_info *, struct thread_info *);
/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 …]
/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()
/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_TASK, offsetof(struct thread_info, task)); in main()
47 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main()
48 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main()
49 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main()
50 DEFINE(TI_ABI_SYSCALL, offsetof(struct thread_info, abi_syscall)); 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 …]
/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, };
222 extern struct thread_info *_switch(struct thread_info *old_ti,
223 struct thread_info *new_ti);
230 struct thread_info *new_ti, *old_ti; in __switch_to()
/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()
/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);
/arch/h8300/kernel/
Dasm-offsets.c61 OFFSET(TI_TASK, thread_info, task); in main()
62 OFFSET(TI_FLAGS, thread_info, flags); in main()
63 OFFSET(TI_CPU, thread_info, cpu); in main()
64 OFFSET(TI_PRE, thread_info, preempt_count); in main()
66 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main()
/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()
161 struct thread_info *ti = current_thread_info(); in set_thread_fault_code()
168 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
/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()
/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)
/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()
/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()
/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()
/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()
/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()
/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()
/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 …]
/arch/csky/include/asm/
Dthread_info.h13 struct thread_info { struct
47 static inline struct thread_info *current_thread_info(void) in current_thread_info()
53 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/arch/csky/kernel/
Dasm-offsets.c26 DEFINE(TINFO_FLAGS, offsetof(struct thread_info, flags)); in main()
27 DEFINE(TINFO_PREEMPT, offsetof(struct thread_info, preempt_count)); in main()
28 DEFINE(TINFO_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main()
29 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
30 DEFINE(TINFO_TASK, offsetof(struct thread_info, task)); in main()
/arch/xtensa/include/asm/
Dthread_info.h48 struct thread_info { struct
88 static inline struct thread_info *current_thread_info(void) in current_thread_info() argument
90 struct thread_info *ti; in current_thread_info()

123456