Searched defs:thread (Results 1 - 25 of 57) sorted by relevance

123

/arch/metag/include/asm/
H A Dhwthread.h19 * Each hardware thread's Control Unit registers are memory-mapped
20 * and can therefore be accessed by any other hardware thread.
22 * This helper function returns the memory address where "thread"'s
26 void __iomem *__CU_addr(unsigned int thread, unsigned int regnum) argument
30 WARN_ON(thread == BAD_HWTHREAD_ID);
34 thread_offset = TnUCTRX_STRIDE * thread;
H A Dtlbflush.h27 /* flush TLB entries for just the current hardware thread */
28 int thread = hard_processor_id(); local
30 LINSYSCFLUSH_TxMMCU_STRIDE * thread));
H A Dmmu_context.h54 static inline void load_pgd(pgd_t *pgd, int thread) argument
56 unsigned long phys0 = mmu_phys0_addr(thread);
57 unsigned long phys1 = mmu_phys1_addr(thread);
/arch/arm/include/asm/
H A Dthread_notify.h32 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.
H A Dtls.h59 struct thread_info *thread; local
61 thread = current_thread_info();
63 thread->tp_value[0] = val;
/arch/arm/kernel/
H A Dpj4-cp0.c24 struct thread_info *thread = t; local
29 * flush_thread() zeroes thread->fpstate, so no need
37 iwmmxt_task_release(thread);
41 iwmmxt_task_switch(thread);
H A Dthumbee.c44 struct thread_info *thread = t; local
52 teehbr_write(thread->thumbee_state);
H A Dxscale-cp0.c35 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 Dsignal.c276 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, err);
277 __put_user_error(current->thread.error_code, &sf->uc.uc_mcontext.error_code, err);
278 __put_user_error(current->thread.address, &sf->uc.uc_mcontext.fault_address, err);
326 struct thread_info *thread = current_thread_info(); local
327 if (sig < 32 && thread->exec_domain && thread->exec_domain->signal_invmap)
328 sig = thread->exec_domain->signal_invmap[sig];
/arch/arm/mach-ep93xx/
H A Dcrunch.c26 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 Dprocessor_64.h24 static inline void arch_flush_thread(struct arch_thread *thread) argument
H A Dprocessor_32.h38 static inline void arch_flush_thread(struct arch_thread *thread) argument
41 memset(&thread->tls_array, 0, sizeof(thread->tls_array));
/arch/arm/nwfpe/
H A Dfpmodule.c62 struct thread_info *thread = v; local
65 nwfpe_init_fpa(&thread->fpstate);
/arch/metag/kernel/
H A Dcore_reg.c34 * @thread: The thread we want to access.
41 void core_reg_write(int unit, int reg, int thread, unsigned int val) argument
47 void __iomem *cu_reg = __CU_addr(thread, reg);
62 val = UNIT_VAL(unit) | REG_VAL(reg) | THREAD_VAL(thread);
77 * @thread: The thread we want to access.
83 unsigned int core_reg_read(int unit, int reg, int thread) argument
90 void __iomem *cu_reg = __CU_addr(thread, reg);
102 val = (UNIT_VAL(unit) | REG_VAL(reg) | THREAD_VAL(thread) |
[all...]
/arch/arc/kernel/
H A Dsignal.c170 struct thread_info *thread = current_thread_info(); local
171 if (thread->exec_domain && thread->exec_domain->signal_invmap
173 sig = thread->exec_domain->signal_invmap[sig];
/arch/arm/mm/
H A Dcontext.c110 struct thread_info *thread = t; local
115 pid = task_pid_nr(thread->task) << ASID_BITS;
/arch/metag/mm/
H A Dcache.c203 int thread; local
208 thread = (__core_reg_get(TXENABLE) & TXENABLE_THREAD_BITS)
218 /* Get partition data for this thread */
220 (SYSC_xCPARTn_STRIDE * thread));
348 int thread; local
353 thread = (__core_reg_get(TXENABLE) & TXENABLE_THREAD_BITS)
361 /* Get partition code for this thread */
363 (SYSC_xCPARTn_STRIDE * thread));
/arch/sparc/include/asm/
H A Dptrace.h45 struct thread_info *thread; member in struct:global_reg_snapshot
/arch/um/include/asm/
H A Dprocessor-generic.h39 } thread; member in union:thread_struct::__anon3004::__anon3005
112 #define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
/arch/arm/vfp/
H A Dvfpmodule.c51 * The pointer to the vfpstate structure of the thread which currently
55 * For UP, this is sufficient to tell which thread owns the VFP context.
62 * Is 'thread's most up to date state stored in this CPUs hardware?
65 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) argument
68 if (thread->vfpstate.hard.cpu != cpu)
71 return vfp_current_hw_state[cpu] == &thread->vfpstate;
75 * Force a reload of the VFP context from the thread structure. We do
79 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) argument
81 if (vfp_state_in_hw(cpu, thread)) {
86 thread
93 vfp_thread_flush(struct thread_info *thread) argument
121 vfp_thread_exit(struct thread_info *thread) argument
132 vfp_thread_copy(struct thread_info *thread) argument
168 struct thread_info *thread = v; local
516 vfp_sync_hwstate(struct thread_info *thread) argument
535 vfp_flush_hwstate(struct thread_info *thread) argument
551 struct thread_info *thread = current_thread_info(); local
594 struct thread_info *thread = current_thread_info(); local
679 struct thread_info *thread = current_thread_info(); local
[all...]
/arch/arm64/kernel/
H A Dsignal.c50 struct fpsimd_state *fpsimd = &current->thread.fpsimd_state;
183 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err);
195 if (current->thread.fault_code) {
200 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err);
290 struct thread_info *thread = current_thread_info(); local
299 if (usig < 32 && thread->exec_domain && thread->exec_domain->signal_invmap)
300 usig = thread->exec_domain->signal_invmap[usig];
H A Dtraps.c187 static int __die(const char *str, int err, struct thread_info *thread, argument
190 struct task_struct *tsk = thread->task;
205 TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk), thread + 1);
224 struct thread_info *thread = current_thread_info(); local
232 ret = __die(str, err, thread, regs);
234 if (regs && kexec_should_crash(thread->task))
254 current->thread.fault_address = 0;
255 current->thread.fault_code = err;
/arch/hexagon/kernel/
H A Dsmp.c142 * to point to current thread info
195 struct thread_info *thread = (struct thread_info *)idle->stack; local
198 thread->cpu = cpu;
201 stack_start = ((void *) thread) + THREAD_SIZE;
/arch/powerpc/platforms/cell/
H A Dcbe_regs.c266 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 Dpmu.c356 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);

Completed in 3811 milliseconds

123