Searched refs:tsk (Results 1 - 25 of 442) sorted by path

1234567891011>>

/linux-master/arch/arc/include/asm/
H A Dstacktrace.h14 * @tsk: NULL for current task, specific task otherwise
16 * If NULL, use pt_regs of @tsk (if !NULL) otherwise
25 * - synchronous unwinding (e.g. dump_stack): @tsk NULL, @regs NULL
26 * - Asynchronous unwinding of sleeping task: @tsk !NULL, @regs NULL
27 * - Asynchronous unwinding of intr/excp etc: @tsk !NULL, @regs !NULL
30 struct task_struct *tsk, struct pt_regs *regs,
H A Dunwind.h64 #define STACK_BOTTOM_UNW(tsk) STACK_LIMIT((tsk)->thread.ksp)
65 #define STACK_TOP_UNW(tsk) ((tsk)->thread.ksp)
/linux-master/arch/mips/include/asm/
H A Ddsemul.h62 * @tsk: The task structure associated with the thread
64 * If the thread @tsk has a branch delay slot 'emulation' frame
70 extern bool dsemul_thread_cleanup(struct task_struct *tsk);
72 static inline bool dsemul_thread_cleanup(struct task_struct *tsk) argument
H A Ddsp.h39 #define __save_dsp(tsk) \
41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
50 #define save_dsp(tsk) \
53 __save_dsp(tsk); \
[all...]
/linux-master/arch/mips/kernel/
H A Dstacktrace.c38 struct task_struct *tsk, struct pt_regs *regs, int savesched)
47 (unsigned long)task_stack_page(tsk);
62 pc = unwind_stack(tsk, &sp, pc, &ra);
78 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument
85 if (tsk != current) {
86 regs->regs[29] = tsk->thread.reg29;
88 regs->cp0_epc = tsk->thread.reg31;
91 save_context_stack(trace, tsk, regs, tsk == current);
37 save_context_stack(struct stack_trace *trace, struct task_struct *tsk, struct pt_regs *regs, int savesched) argument
/linux-master/arch/nios2/mm/
H A Dmmu_context.c81 struct task_struct *tsk)
80 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
/linux-master/arch/parisc/include/asm/
H A Dsyscall.h14 static inline long syscall_get_nr(struct task_struct *tsk, argument
20 static inline void syscall_get_arguments(struct task_struct *tsk, argument
/linux-master/arch/s390/include/asm/
H A Druntime_instr.h26 void runtime_instr_release(struct task_struct *tsk);
/linux-master/arch/sh/include/asm/
H A Dswitch_to_32.h7 #define is_dsp_enabled(tsk) \
8 (!!(tsk->thread.dsp_status.status & SR_DSP))
10 #define __restore_dsp(tsk) \
13 (u32 *)&tsk->thread.dsp_status; \
33 #define __save_dsp(tsk) \
36 (u32 *)&tsk->thread.dsp_status + 14; \
59 #define is_dsp_enabled(tsk) (0)
60 #define __save_dsp(tsk) do { } while (0)
61 #define __restore_dsp(tsk) do { } while (0)
/linux-master/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c27 void save_fpu(struct task_struct *tsk) argument
52 : "0" ((char *)(&tsk->thread.xstate->hardfpu.status)),
60 void restore_fpu(struct task_struct *tsk) argument
84 : "0" (tsk->thread.xstate), "r" (FPSCR_RCHG)
454 struct task_struct *tsk = current; local
456 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_FPU_ERROR)) {
458 denormal_to_double (&tsk->thread.xstate->hardfpu,
466 struct task_struct *tsk = current; local
473 hx = tsk->thread.xstate->hardfpu.fp_regs[n];
474 hy = tsk
509 struct task_struct *tsk = current; local
558 struct task_struct *tsk = current; local
[all...]
/linux-master/arch/sh/kernel/cpu/sh4/
H A Dfpu.c41 void save_fpu(struct task_struct *tsk) argument
84 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)),
91 void restore_fpu(struct task_struct *tsk) argument
134 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG)
228 struct task_struct *tsk = current; local
230 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR))
232 denormal_to_double(&tsk->thread.xstate->hardfpu,
241 struct task_struct *tsk = current; local
248 hx = tsk->thread.xstate->hardfpu.fp_regs[n];
249 hy = tsk
279 struct task_struct *tsk = current; local
323 struct task_struct *tsk = current; local
363 struct task_struct *tsk = current; local
396 struct task_struct *tsk = current; local
403 struct task_struct *tsk = current; local
[all...]
/linux-master/arch/sparc/include/asm/
H A Duprobes.h43 extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk);
/linux-master/arch/sparc/kernel/
H A Dstacktrace.c83 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument
85 struct thread_info *tp = task_thread_info(tsk);
/linux-master/arch/um/include/asm/
H A Dstacktrace.h41 void dump_trace(struct task_struct *tsk, const struct stacktrace_ops *ops, void *data);
/linux-master/include/linux/fsl/bestcomm/
H A Data.h24 extern void bcom_ata_rx_prepare(struct bcom_task *tsk);
25 extern void bcom_ata_tx_prepare(struct bcom_task *tsk);
26 extern void bcom_ata_reset_bd(struct bcom_task *tsk);
27 extern void bcom_ata_release(struct bcom_task *tsk);
H A Dbestcomm_priv.h237 extern void bcom_task_free(struct bcom_task *tsk);
H A Dfec.h44 bcom_fec_rx_reset(struct bcom_task *tsk);
47 bcom_fec_rx_release(struct bcom_task *tsk);
54 bcom_fec_tx_reset(struct bcom_task *tsk);
57 bcom_fec_tx_release(struct bcom_task *tsk);
H A Dgen_bd.h24 bcom_gen_bd_rx_reset(struct bcom_task *tsk);
27 bcom_gen_bd_rx_release(struct bcom_task *tsk);
35 bcom_gen_bd_tx_reset(struct bcom_task *tsk);
38 bcom_gen_bd_tx_release(struct bcom_task *tsk);
/linux-master/include/linux/sched/
H A Dxacct.h12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) argument
14 tsk->ioac.rchar += amt;
17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) argument
19 tsk->ioac.wchar += amt;
22 static inline void inc_syscr(struct task_struct *tsk) argument
24 tsk->ioac.syscr++;
27 static inline void inc_syscw(struct task_struct *tsk) argument
29 tsk->ioac.syscw++;
32 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) argument
36 static inline void add_wchar(struct task_struct *tsk, ssize_ argument
40 inc_syscr(struct task_struct *tsk) argument
44 inc_syscw(struct task_struct *tsk) argument
[all...]
/linux-master/include/linux/
H A Dsignalfd.h19 static inline void signalfd_notify(struct task_struct *tsk, int sig) argument
21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh)))
22 wake_up(&tsk->sighand->signalfd_wqh);
29 static inline void signalfd_notify(struct task_struct *tsk, int sig) { } argument
H A Dtaskstats_kern.h28 static inline void taskstats_exit(struct task_struct *tsk, int group_dead) argument
H A Dtsacct_kern.h16 struct taskstats *stats, struct task_struct *tsk);
20 struct taskstats *stats, struct task_struct *tsk)
26 extern void acct_update_integrals(struct task_struct *tsk);
27 extern void acct_account_cputime(struct task_struct *tsk);
28 extern void acct_clear_integrals(struct task_struct *tsk);
32 static inline void acct_update_integrals(struct task_struct *tsk) argument
34 static inline void acct_account_cputime(struct task_struct *tsk) argument
36 static inline void acct_clear_integrals(struct task_struct *tsk) argument
18 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) argument
H A Duprobes.h133 extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk);
/linux-master/arch/alpha/include/asm/
H A Dmmu_context.h234 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument
240 if (tsk != current)
241 task_thread_info(tsk)->pcb.ptbr
248 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument
250 task_thread_info(tsk)->pcb.ptbr
H A Dprocessor.h41 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
43 #define KSTK_ESP(tsk) \
44 ((tsk) == current ? rdusp() : task_thread_info(tsk)->pcb.usp)

Completed in 242 milliseconds

1234567891011>>