Searched refs:tsk (Results 201 - 225 of 442) sorted by relevance

1234567891011>>

/linux-master/arch/s390/kernel/
H A Dguarded_storage.c15 void guarded_storage_release(struct task_struct *tsk) argument
17 kfree(tsk->thread.gs_cb);
18 kfree(tsk->thread.gs_bc_cb);
H A Druntime_instr.c26 void runtime_instr_release(struct task_struct *tsk) argument
28 kfree(tsk->thread.ri_cb);
/linux-master/kernel/
H A Dkthread.c99 void get_kthread_comm(char *buf, size_t buf_size, struct task_struct *tsk) argument
101 struct kthread *kthread = to_kthread(tsk);
104 __get_task_comm(buf, buf_size, tsk);
394 int tsk_fork_get_node(struct task_struct *tsk) argument
397 if (tsk == kthreadd_task)
398 return tsk->pref_node_fork;
738 struct task_struct *tsk = current; local
741 set_task_comm(tsk, "kthreadd");
742 ignore_signals(tsk);
743 set_cpus_allowed_ptr(tsk, housekeeping_cpumas
1431 struct task_struct *tsk = current; local
1476 struct task_struct *tsk = current; local
[all...]
/linux-master/arch/arm64/kernel/
H A Dptrace.c206 void flush_ptrace_hw_breakpoint(struct task_struct *tsk) argument
209 struct thread_struct *t = &tsk->thread;
226 void ptrace_hw_copy_thread(struct task_struct *tsk) argument
228 memset(&tsk->thread.debug, 0, sizeof(struct debug_info));
232 struct task_struct *tsk,
242 bp = tsk->thread.debug.hbp_break[idx];
248 bp = tsk->thread.debug.hbp_watch[idx];
257 struct task_struct *tsk,
268 tsk->thread.debug.hbp_break[idx] = bp;
275 tsk
231 ptrace_hbp_get_event(unsigned int note_type, struct task_struct *tsk, unsigned long idx) argument
256 ptrace_hbp_set_event(unsigned int note_type, struct task_struct *tsk, unsigned long idx, struct perf_event *bp) argument
284 ptrace_hbp_create(unsigned int note_type, struct task_struct *tsk, unsigned long idx) argument
383 ptrace_hbp_get_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 *ctrl) argument
397 ptrace_hbp_get_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 *addr) argument
411 ptrace_hbp_get_initialised_bp(unsigned int note_type, struct task_struct *tsk, unsigned long idx) argument
423 ptrace_hbp_set_ctrl(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u32 uctrl) argument
448 ptrace_hbp_set_addr(unsigned int note_type, struct task_struct *tsk, unsigned long idx, u64 addr) argument
1895 compat_ptrace_read_user(struct task_struct *tsk, compat_ulong_t off, compat_ulong_t __user *ret) argument
1919 compat_ptrace_write_user(struct task_struct *tsk, compat_ulong_t off, compat_ulong_t val) argument
1988 compat_ptrace_hbp_get(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) argument
2009 compat_ptrace_hbp_set(unsigned int note_type, struct task_struct *tsk, compat_long_t num, u32 *kdata) argument
2030 compat_ptrace_gethbpregs(struct task_struct *tsk, compat_long_t num, compat_ulong_t __user *data) argument
2053 compat_ptrace_sethbpregs(struct task_struct *tsk, compat_long_t num, compat_ulong_t __user *data) argument
[all...]
/linux-master/arch/um/include/asm/
H A Dstacktrace.h41 void dump_trace(struct task_struct *tsk, const struct stacktrace_ops *ops, void *data);
H A Dmmu_context.h29 struct task_struct *tsk)
28 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
/linux-master/arch/hexagon/include/asm/
H A Dmmu_context.h30 struct task_struct *tsk)
29 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
/linux-master/io_uring/
H A Dtimeout.h27 __cold bool io_kill_timeouts(struct io_ring_ctx *ctx, struct task_struct *tsk,
H A Dpoll.h46 bool io_poll_remove_all(struct io_ring_ctx *ctx, struct task_struct *tsk,
/linux-master/arch/arm/kernel/
H A Dreturn_address.c48 frame.tsk = current;
H A Dtraps.c211 void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk, argument
214 unwind_backtrace(regs, tsk, loglvl);
217 void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk, argument
225 if (!tsk)
226 tsk = current;
231 } else if (tsk != current) {
232 fp = thread_saved_fp(tsk);
245 } else if (fp < (unsigned long)end_of_stack(tsk))
254 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) argument
256 dump_backtrace(NULL, tsk, loglv
280 struct task_struct *tsk = current; local
[all...]
/linux-master/arch/xtensa/include/asm/
H A Dprocessor.h225 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
226 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1])
/linux-master/include/linux/
H A Dtime_namespace.h37 extern void timens_commit(struct task_struct *tsk, struct time_namespace *ns);
49 void timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk);
116 static inline void timens_commit(struct task_struct *tsk, argument
142 struct task_struct *tsk)
141 timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk) argument
H A Drtmutex.h68 extern void rt_mutex_debug_task_free(struct task_struct *tsk);
70 static inline void rt_mutex_debug_task_free(struct task_struct *tsk) { } argument
/linux-master/arch/powerpc/platforms/book3s/
H A Dvas-api.c109 struct task_struct *tsk; local
113 tsk = get_pid_task(pid, PIDTYPE_PID);
114 if (!tsk) {
116 tsk = get_pid_task(pid, PIDTYPE_PID);
121 if (WARN_ON_ONCE(!tsk))
126 if (tsk->flags & PF_EXITING) {
127 put_task_struct(tsk);
131 *tskp = tsk;
153 struct task_struct *tsk; local
198 if (!ref_get_pid_and_task(task_ref, &tsk,
[all...]
/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/csky/kernel/
H A Dprocess.c79 int dump_task_regs(struct task_struct *tsk, elf_gregset_t *pr_regs) argument
81 struct pt_regs *regs = task_pt_regs(tsk);
/linux-master/arch/alpha/include/asm/
H A Dthread_info.h35 #define INIT_THREAD_INFO(tsk) \
37 .task = &tsk, \
/linux-master/arch/sh/include/asm/
H A Dthread_info.h53 #define INIT_THREAD_INFO(tsk) \
55 .task = &tsk, \
/linux-master/arch/mips/include/asm/
H A Dthread_info.h38 #define INIT_THREAD_INFO(tsk) \
40 .task = &tsk, \
/linux-master/arch/arc/kernel/
H A Dtraps.c42 struct task_struct *tsk = current; local
44 tsk->thread.fault_address = (__force unsigned int)addr;
/linux-master/arch/mips/math-emu/
H A Ddsemul.c149 bool dsemul_thread_cleanup(struct task_struct *tsk) argument
154 fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE);
160 task_lock(tsk);
163 if (tsk->mm)
164 free_emuframe(fr_idx, tsk->mm);
166 task_unlock(tsk);
/linux-master/arch/powerpc/kernel/
H A Dsignal.h10 void __user *get_sigframe(struct ksignal *ksig, struct task_struct *tsk,
14 struct task_struct *tsk);
17 struct task_struct *tsk);
192 struct task_struct *tsk);
197 struct task_struct *tsk)
204 void signal_fault(struct task_struct *tsk, struct pt_regs *regs,
196 handle_rt_signal64(struct ksignal *ksig, sigset_t *set, struct task_struct *tsk) argument
/linux-master/kernel/trace/
H A Drethook.c202 /* This assumes the 'tsk' is the current task or is not running. */
203 static unsigned long __rethook_find_ret_addr(struct task_struct *tsk, argument
210 node = tsk->rethooks.first;
228 * @tsk: Target task
232 * Find the correct return address modified by a rethook on @tsk in unsigned
234 * The @tsk must be 'current' or a task which is not running. @frame is a hint
237 * kretprobe return addresses on the @tsk. The '*@cur' should be NULL at the
242 unsigned long rethook_find_ret_addr(struct task_struct *tsk, unsigned long frame, argument
251 if (WARN_ON_ONCE(tsk != current && task_is_running(tsk)))
[all...]
/linux-master/arch/riscv/kernel/
H A Dprocess.c43 int set_unalign_ctl(struct task_struct *tsk, unsigned int val) argument
48 tsk->thread.align_ctl = val;
52 int get_unalign_ctl(struct task_struct *tsk, unsigned long adr) argument
57 return put_user(tsk->thread.align_ctl, (unsigned long __user *)adr);
176 void arch_release_task_struct(struct task_struct *tsk) argument
180 riscv_v_thread_free(tsk);

Completed in 237 milliseconds

1234567891011>>