/arch/arm/include/asm/ |
D | thread_info.h | 50 struct thread_info { struct 86 #define init_thread_info (init_thread_union.thread_info) argument 92 static inline struct thread_info *current_thread_info(void) __attribute_const__; 94 static inline struct thread_info *current_thread_info(void) in current_thread_info() 97 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info() 105 extern void crunch_task_disable(struct thread_info *); 106 extern void crunch_task_copy(struct thread_info *, void *); 107 extern void crunch_task_restore(struct thread_info *, void *); 108 extern void crunch_task_release(struct thread_info *); 110 extern void iwmmxt_task_disable(struct thread_info *); [all …]
|
/arch/avr32/kernel/ |
D | asm-offsets.c | 14 OFFSET(TI_task, thread_info, task); in foo() 15 OFFSET(TI_exec_domain, thread_info, exec_domain); in foo() 16 OFFSET(TI_flags, thread_info, flags); in foo() 17 OFFSET(TI_cpu, thread_info, cpu); in foo() 18 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo() 19 OFFSET(TI_rar_saved, thread_info, rar_saved); in foo() 20 OFFSET(TI_rsr_saved, thread_info, rsr_saved); in foo() 21 OFFSET(TI_restart_block, thread_info, restart_block); in foo()
|
/arch/sh/kernel/ |
D | asm-offsets.c | 21 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 22 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main() 23 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 24 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 25 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main() 26 DEFINE(TI_RESTART_BLOCK,offsetof(struct thread_info, restart_block)); in main()
|
/arch/arm/kernel/ |
D | asm-offsets.c | 43 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 44 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 45 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 46 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 47 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); 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() [all …]
|
/arch/x86/include/asm/ |
D | thread_info.h | 26 struct thread_info { struct 58 #define init_thread_info (init_thread_union.thread_info) argument 159 ((struct thread_info *)__get_free_pages(THREAD_FLAGS, THREAD_ORDER)) 176 static inline struct thread_info *current_thread_info(void) in current_thread_info() 178 return (struct thread_info *) in current_thread_info() 204 static inline struct thread_info *current_thread_info(void) in current_thread_info() 206 struct thread_info *ti; in current_thread_info() 212 static inline struct thread_info *stack_thread_info(void) in stack_thread_info() 214 struct thread_info *ti; in stack_thread_info() 251 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() [all …]
|
/arch/um/include/asm/ |
D | thread_info.h | 15 struct thread_info { struct 26 struct thread_info *real_thread; /* Points to non-IRQ stack */ argument 43 #define init_thread_info (init_thread_union.thread_info) 48 static inline struct thread_info *current_thread_info(void) in current_thread_info() 50 struct thread_info *ti; in current_thread_info() 52 ti = (struct thread_info *) (((unsigned long) &ti) & ~mask); in current_thread_info()
|
/arch/powerpc/include/asm/ |
D | thread_info.h | 32 struct thread_info { struct 62 #define init_thread_info (init_thread_union.thread_info) argument 75 extern struct thread_info *alloc_thread_info(struct task_struct *tsk); 76 extern void free_thread_info(struct thread_info *ti); 81 static inline struct thread_info *current_thread_info(void) in current_thread_info() 87 return (struct thread_info *)(sp & ~(THREAD_SIZE-1)); in current_thread_info() 153 struct thread_info *ti = current_thread_info(); in set_restore_sigmask()
|
D | irq.h | 351 extern struct thread_info *critirq_ctx[NR_CPUS]; 352 extern struct thread_info *dbgirq_ctx[NR_CPUS]; 353 extern struct thread_info *mcheckirq_ctx[NR_CPUS]; 363 extern struct thread_info *hardirq_ctx[NR_CPUS]; 364 extern struct thread_info *softirq_ctx[NR_CPUS]; 367 extern void call_do_softirq(struct thread_info *tp); 369 struct thread_info *tp, void *func);
|
/arch/ia64/include/asm/ |
D | thread_info.h | 24 struct thread_info { struct 61 #define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE)) argument 62 #define alloc_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) 63 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) 65 #define current_thread_info() ((struct thread_info *) 0) 66 #define alloc_thread_info(tsk) ((struct thread_info *) 0) 67 #define task_thread_info(tsk) ((struct thread_info *) 0) 139 struct thread_info *ti = current_thread_info(); in set_restore_sigmask()
|
/arch/blackfin/include/asm/ |
D | thread_info.h | 58 struct thread_info { struct 85 #define init_thread_info (init_thread_union.thread_info) argument 93 static inline struct thread_info *current_thread_info(void) in current_thread_info() 95 struct thread_info *ti; in current_thread_info() 98 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
|
/arch/ia64/kernel/ |
D | init_task.c | 32 #define init_thread_info init_task_mem.s.thread_info 37 struct thread_info thread_info; member 42 .thread_info = INIT_THREAD_INFO(init_task_mem.s.task)
|
/arch/sh/include/asm/ |
D | thread_info.h | 18 struct thread_info { struct 61 #define init_thread_info (init_thread_union.thread_info) 68 static inline struct thread_info *current_thread_info(void) in current_thread_info() 70 struct thread_info *ti; in current_thread_info() 98 extern struct thread_info *alloc_thread_info(struct task_struct *tsk); 99 extern void free_thread_info(struct thread_info *ti);
|
/arch/xtensa/kernel/ |
D | asm-offsets.c | 80 DEFINE(THREAD_CPENABLE, offsetof (struct thread_info, cpenable)); in main() 82 DEFINE(THREAD_XTREGS_CP0, offsetof (struct thread_info, xtregs_cp)); in main() 83 DEFINE(THREAD_XTREGS_CP1, offsetof (struct thread_info, xtregs_cp)); in main() 84 DEFINE(THREAD_XTREGS_CP2, offsetof (struct thread_info, xtregs_cp)); in main() 85 DEFINE(THREAD_XTREGS_CP3, offsetof (struct thread_info, xtregs_cp)); in main() 86 DEFINE(THREAD_XTREGS_CP4, offsetof (struct thread_info, xtregs_cp)); in main() 87 DEFINE(THREAD_XTREGS_CP5, offsetof (struct thread_info, xtregs_cp)); in main() 88 DEFINE(THREAD_XTREGS_CP6, offsetof (struct thread_info, xtregs_cp)); in main() 89 DEFINE(THREAD_XTREGS_CP7, offsetof (struct thread_info, xtregs_cp)); in main() 91 DEFINE(THREAD_XTREGS_USER, offsetof (struct thread_info, xtregs_user)); in main()
|
/arch/frv/kernel/ |
D | asm-offsets.c | 36 OFFSET(TI_TASK, thread_info, task); in foo() 37 OFFSET(TI_EXEC_DOMAIN, thread_info, exec_domain); in foo() 38 OFFSET(TI_FLAGS, thread_info, flags); in foo() 39 OFFSET(TI_STATUS, thread_info, status); in foo() 40 OFFSET(TI_CPU, thread_info, cpu); in foo() 41 OFFSET(TI_PREEMPT_COUNT, thread_info, preempt_count); in foo() 42 OFFSET(TI_ADDR_LIMIT, thread_info, addr_limit); in foo() 43 OFFSET(TI_RESTART_BLOCK, thread_info, restart_block); in foo()
|
/arch/m68k/include/asm/ |
D | thread_info_no.h | 34 struct thread_info { struct 57 #define init_thread_info (init_thread_union.thread_info) argument 62 static inline struct thread_info *current_thread_info(void) in current_thread_info() 64 struct thread_info *ti; in current_thread_info()
|
/arch/sparc/include/asm/ |
D | thread_info_32.h | 28 struct thread_info { struct 73 #define init_thread_info (init_thread_union.thread_info) argument 77 register struct thread_info *current_thread_info_reg asm("g6"); 87 BTFIXUPDEF_CALL(struct thread_info *, alloc_thread_info, void) 90 BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *)
|
D | thread_info_64.h | 36 struct thread_info { struct 144 #define init_thread_info (init_thread_union.thread_info) 148 register struct thread_info *current_thread_info_reg asm("g6"); 163 struct thread_info *ret; \ 165 ret = (struct thread_info *) \ 173 ((struct thread_info *)__get_free_pages(GFP_KERNEL, __THREAD_INFO_ORDER)) 275 struct thread_info *ti = current_thread_info(); in set_restore_sigmask()
|
/arch/h8300/include/asm/ |
D | thread_info.h | 21 struct thread_info { struct 45 #define init_thread_info (init_thread_union.thread_info) argument 57 static inline struct thread_info *current_thread_info(void) in current_thread_info() 59 struct thread_info *ti; in current_thread_info()
|
/arch/x86/kernel/ |
D | asm-offsets_32.c | 53 OFFSET(TI_task, thread_info, task); in foo() 54 OFFSET(TI_exec_domain, thread_info, exec_domain); in foo() 55 OFFSET(TI_flags, thread_info, flags); in foo() 56 OFFSET(TI_status, thread_info, status); in foo() 57 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo() 58 OFFSET(TI_addr_limit, thread_info, addr_limit); in foo() 59 OFFSET(TI_restart_block, thread_info, restart_block); in foo() 60 OFFSET(TI_sysenter_return, thread_info, sysenter_return); in foo() 61 OFFSET(TI_cpu, thread_info, cpu); in foo()
|
/arch/sparc/kernel/ |
D | traps_32.c | 439 if (TI_UWINMASK != offsetof(struct thread_info, uwinmask) || 440 TI_TASK != offsetof(struct thread_info, task) || 441 TI_EXECDOMAIN != offsetof(struct thread_info, exec_domain) || 442 TI_FLAGS != offsetof(struct thread_info, flags) || 443 TI_CPU != offsetof(struct thread_info, cpu) || 444 TI_PREEMPT != offsetof(struct thread_info, preempt_count) || 445 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) || 446 TI_HARDIRQ != offsetof(struct thread_info, hardirq_count) || 447 TI_KSP != offsetof(struct thread_info, ksp) || 448 TI_KPC != offsetof(struct thread_info, kpc) || [all …]
|
/arch/powerpc/kernel/ |
D | kgdb.c | 137 struct thread_info *thread_info, *exception_thread_info; in kgdb_singlestep() local 152 thread_info = (struct thread_info *)(regs->gpr[1] & ~(THREAD_SIZE-1)); in kgdb_singlestep() 155 if (thread_info != exception_thread_info) in kgdb_singlestep() 156 memcpy(exception_thread_info, thread_info, sizeof *thread_info); in kgdb_singlestep() 160 if (thread_info != exception_thread_info) in kgdb_singlestep() 161 memcpy(thread_info, exception_thread_info, sizeof *thread_info); in kgdb_singlestep()
|
/arch/s390/include/asm/ |
D | thread_info.h | 43 struct thread_info { struct 69 #define init_thread_info (init_thread_union.thread_info) argument 73 static inline struct thread_info *current_thread_info(void) in current_thread_info() 75 return (struct thread_info *)((*(unsigned long *) __LC_KERNEL_STACK)-THREAD_SIZE); in current_thread_info()
|
/arch/mn10300/kernel/ |
D | asm-offsets.c | 24 OFFSET(TI_task, thread_info, task); in foo() 25 OFFSET(TI_exec_domain, thread_info, exec_domain); in foo() 26 OFFSET(TI_flags, thread_info, flags); in foo() 27 OFFSET(TI_cpu, thread_info, cpu); in foo() 28 OFFSET(TI_preempt_count, thread_info, preempt_count); in foo() 29 OFFSET(TI_addr_limit, thread_info, addr_limit); in foo() 30 OFFSET(TI_restart_block, thread_info, restart_block); in foo()
|
/arch/avr32/include/asm/ |
D | thread_info.h | 22 struct thread_info { struct 49 #define init_thread_info (init_thread_union.thread_info) argument 56 static inline struct thread_info *current_thread_info(void) in current_thread_info() 61 return (struct thread_info *)addr; in current_thread_info()
|
/arch/um/sys-i386/ |
D | sysrq.c | 40 static inline int valid_stack_ptr(struct thread_info *tinfo, void *p) in valid_stack_ptr() 47 static inline unsigned long print_context_stack(struct thread_info *tinfo, in print_context_stack() 77 struct thread_info *context; in show_trace() 95 context = (struct thread_info *) in show_trace()
|