/arch/arm/include/asm/ |
H A D | thread_notify.h | 32 static inline void thread_notify(unsigned long rc, struct thread_info *thread) argument 35 atomic_notifier_call_chain(&thread_notify_head, rc, thread); 41 * These are the reason codes for the thread notifier.
|
/arch/arm/kernel/ |
H A D | pj4-cp0.c | 23 struct thread_info *thread = t; local 28 * flush_thread() zeroes thread->fpstate, so no need 36 iwmmxt_task_release(thread); 40 iwmmxt_task_switch(thread);
|
H A D | thumbee.c | 43 struct thread_info *thread = t; local 47 thread->thumbee_state = 0; 51 teehbr_write(thread->thumbee_state);
|
H A D | xscale-cp0.c | 35 struct thread_info *thread = t; local 39 thread->cpu_context.extra[0] = 0; 40 thread->cpu_context.extra[1] = 0; 45 dsp_load_state(thread->cpu_context.extra); 60 struct thread_info *thread = t; local 65 * flush_thread() zeroes thread->fpstate, so no need 73 iwmmxt_task_release(thread); 77 iwmmxt_task_switch(thread);
|
H A D | signal.c | 364 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, err); 365 __put_user_error(current->thread.error_code, &sf->uc.uc_mcontext.error_code, err); 366 __put_user_error(current->thread.address, &sf->uc.uc_mcontext.fault_address, err); 558 struct thread_info *thread = current_thread_info(); local 566 if (usig < 32 && thread->exec_domain && thread->exec_domain->signal_invmap) 567 usig = thread->exec_domain->signal_invmap[usig];
|
H A D | process.c | 236 * The idle thread, has rather strange semantics for calling pm_idle, 304 * thread that might wind up blocking on 491 * Free current thread data structures etc.. 500 struct thread_info *thread = current_thread_info(); local 505 memset(thread->used_cp, 0, sizeof(thread->used_cp)); 506 memset(&tsk->thread.debug, 0, sizeof(struct debug_info)); 507 memset(&thread->fpstate, 0, sizeof(union fp_state)); 509 thread_notify(THREAD_NOTIFY_FLUSH, thread); 522 struct thread_info *thread local 557 struct thread_info *thread = current_thread_info(); local [all...] |
/arch/arm/mach-ep93xx/ |
H A D | crunch.c | 26 void crunch_task_release(struct thread_info *thread) argument 29 if (crunch_owner == &thread->crunchstate) 41 struct thread_info *thread = (struct thread_info *)t; local 45 crunch_state = &thread->crunchstate; 57 crunch_task_release(thread);
|
/arch/x86/um/asm/ |
H A D | processor_64.h | 22 static inline void arch_flush_thread(struct arch_thread *thread) argument
|
H A D | processor_32.h | 36 static inline void arch_flush_thread(struct arch_thread *thread) argument 39 memset(&thread->tls_array, 0, sizeof(thread->tls_array));
|
/arch/arm/nwfpe/ |
H A D | fpmodule.c | 62 struct thread_info *thread = v; local 65 nwfpe_init_fpa(&thread->fpstate);
|
/arch/arm/vfp/ |
H A D | vfpmodule.c | 50 * The pointer to the vfpstate structure of the thread which currently 54 * For UP, this is sufficient to tell which thread owns the VFP context. 61 * Is 'thread's most up to date state stored in this CPUs hardware? 64 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) argument 67 if (thread->vfpstate.hard.cpu != cpu) 70 return vfp_current_hw_state[cpu] == &thread->vfpstate; 74 * Force a reload of the VFP context from the thread structure. We do 78 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) argument 80 if (vfp_state_in_hw(cpu, thread)) { 85 thread 92 vfp_thread_flush(struct thread_info *thread) argument 120 vfp_thread_exit(struct thread_info *thread) argument 131 vfp_thread_copy(struct thread_info *thread) argument 167 struct thread_info *thread = v; local 515 vfp_sync_hwstate(struct thread_info *thread) argument 534 vfp_flush_hwstate(struct thread_info *thread) argument 550 struct thread_info *thread = current_thread_info(); local 593 struct thread_info *thread = current_thread_info(); local [all...] |
/arch/hexagon/kernel/ |
H A D | smp.c | 146 * to point to current thread info 202 struct thread_info *thread; local 210 thread = (struct thread_info *)idle->stack; 211 thread->cpu = cpu; 214 stack_start = ((void *) thread) + THREAD_SIZE;
|
/arch/powerpc/platforms/cell/ |
H A D | cbe_regs.c | 266 struct cbe_thread_map *thread = &cbe_thread_map[i]; local 268 if (thread->cpu_node == cpu) { 269 thread->regs = map; 270 thread->cbe_id = cbe_id; 271 map->be_node = thread->be_node; 273 if(thread->thread_id == 0)
|
H A D | pmu.c | 356 void cbe_enable_pm_interrupts(u32 cpu, u32 thread, u32 mask) argument 358 /* Set which node and thread will handle the next interrupt. */ 359 iic_set_interrupt_routing(cpu, thread, 0);
|
H A D | interrupt.c | 365 IIC_UNIT_THREAD_0 /* route them to thread 0 */); 397 void iic_set_interrupt_routing(int cpu, int thread, int priority) argument 403 /* Set which node and thread will handle the next interrupt */ 406 if (thread == 0)
|
/arch/sh/kernel/ |
H A D | ptrace_32.c | 81 struct thread_struct *thread = &tsk->thread; local 85 bp = thread->ptrace_bps[0]; 98 thread->ptrace_bps[0] = bp; 203 &target->thread.xstate->hardfpu, 0, -1); 206 &target->thread.xstate->softfpu, 0, -1); 224 &target->thread.xstate->hardfpu, 0, -1); 227 &target->thread.xstate->softfpu, 0, -1); 244 (struct pt_dspregs *)&target->thread.dsp_status.dsp_regs; 262 (struct pt_dspregs *)&target->thread [all...] |
/arch/sparc/include/asm/ |
H A D | trap_block.h | 24 /* D-cache line 1: Basic thread information, cpu and device mondo queues */ 25 struct thread_info *thread; member in struct:trap_per_cpu 160 /* Clobbers TMP, loads DEST with current thread info pointer. */ 165 /* Given the current thread info pointer in THR, load the per-cpu
|
/arch/um/drivers/ |
H A D | chan_user.c | 123 * So, we have a separate thread for each host tty attached to a UML 124 * device (side-issue - I'm annoyed that one thread can't have 236 * CLONE_FILES so this thread doesn't hold open files which are open 237 * now, but later closed in a different thread. This is a 239 * thread, prevents the TUN/TAP device from being reused. 277 int pid, thread, count, thread_fd = -1; local 290 thread = winch_tramp(fd, tty, &thread_fd, &stack); 291 if (thread < 0) 294 register_winch_irq(thread_fd, fd, thread, tty, stack);
|
/arch/um/include/asm/ |
H A D | processor-generic.h | 50 } thread; member in union:thread_struct::__anon2910::__anon2911 135 #define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
|
/arch/unicore32/kernel/ |
H A D | process.c | 49 * The idle thread, has rather strange semantics for calling pm_idle, 238 * Free current thread data structures etc.. 246 struct thread_info *thread = current_thread_info(); local 249 memset(thread->used_cp, 0, sizeof(thread->used_cp)); 250 memset(&tsk->thread.debug, 0, sizeof(struct debug_info)); 252 memset(&thread->fpstate, 0, sizeof(struct fp_state)); 266 struct thread_info *thread = task_thread_info(p); local 273 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save)); 274 thread 297 struct thread_info *thread = current_thread_info(); local [all...] |
H A D | signal.c | 181 err |= __put_user(current->thread.trap_no, 183 err |= __put_user(current->thread.error_code, 185 err |= __put_user(current->thread.address, 319 struct thread_info *thread = current_thread_info(); local 348 if (usig < 32 && thread->exec_domain 349 && thread->exec_domain->signal_invmap) 350 usig = thread->exec_domain->signal_invmap[usig];
|
H A D | traps.c | 185 static int __die(const char *str, int err, struct thread_info *thread, argument 188 struct task_struct *tsk = thread->task; 196 ret = notify_die(DIE_OOPS, str, regs, err, tsk->thread.trap_no, \ 204 TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk), thread + 1); 223 struct thread_info *thread = current_thread_info(); local 231 ret = __die(str, err, thread, regs); 250 current->thread.error_code = err; 251 current->thread.trap_no = trap; 302 panic("Oops failed to kill thread");
|
/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 362 struct thread_struct *thread = ¤t->thread; local 365 bp = thread->ptrace_bps[i]; 378 dump->u_debugreg[6] = current->thread.debugreg6; 390 struct thread_struct *t = &tsk->thread; 404 set_debugreg(current->thread.debugreg6, 6); 452 current->thread.debugreg6 &= ~DR_TRAP_BITS; 499 if ((current->thread.debugreg6 & DR_TRAP_BITS) ||
|
H A D | vsyscall_64.c | 151 struct thread_struct *thread = ¤t->thread; local 153 thread->error_code = 6; /* user fault, no page, write */ 154 thread->cr2 = ptr; 155 thread->trap_nr = X86_TRAP_PF;
|
/arch/s390/mm/ |
H A D | fault.c | 114 return current->thread.mm_segment.ar4; 568 if (tsk->thread.pfault_wait == 1) { 574 tsk->thread.pfault_wait = 0; 575 list_del(&tsk->thread.list); 587 tsk->thread.pfault_wait = -1; 592 if (tsk->thread.pfault_wait == 1) { 596 } else if (tsk->thread.pfault_wait == -1) { 600 tsk->thread.pfault_wait = 0; 608 tsk->thread.pfault_wait = 1; 609 list_add(&tsk->thread 620 struct thread_struct *thread, *next; local [all...] |