/linux/arch/csky/include/asm/ |
H A D | processor.h | 73 #define prepare_to_copy(tsk) do { } while (0) argument 77 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) argument 78 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->usp) argument
|
H A D | thread_info.h | 24 #define INIT_THREAD_INFO(tsk) \ argument 36 #define thread_saved_fp(tsk) \ argument 39 #define thread_saved_sp(tsk) \ argument 42 #define thread_saved_lr(tsk) \ argument
|
/linux/arch/arm/include/asm/ |
H A D | thread_info.h | 78 #define INIT_THREAD_INFO(tsk) \ argument 89 #define thread_saved_pc(tsk) \ argument 91 #define thread_saved_sp(tsk) \ argument 95 #define thread_saved_fp(tsk) \ argument 98 #define thread_saved_fp(tsk) \ argument
|
/linux/arch/s390/kernel/ |
H A D | vtime.c | 117 static int do_account_vtime(struct task_struct *tsk) in do_account_vtime() 197 void vtime_flush(struct task_struct *tsk) in vtime_flush() 227 void vtime_account_kernel(struct task_struct *tsk) in vtime_account_kernel() 240 void vtime_account_softirq(struct task_struct *tsk) in vtime_account_softirq() 249 void vtime_account_hardirq(struct task_struct *tsk) in vtime_account_hardirq()
|
/linux/arch/powerpc/include/asm/ |
H A D | processor.h | 311 #define task_pt_regs(tsk) ((tsk)->thread.regs) argument 315 #define KSTK_EIP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0) argument 316 #define KSTK_ESP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->gpr[1]: 0) argument 319 #define GET_FPEXC_CTL(tsk, adr) get_fpexc_mode((tsk), (adr)) argument 320 #define SET_FPEXC_CTL(tsk, val) set_fpexc_mode((tsk), (val)) argument 325 #define GET_ENDIAN(tsk, adr) get_endian((tsk), (adr)) argument 326 #define SET_ENDIAN(tsk, val) set_endian((tsk), (val)) argument 331 #define GET_UNALIGN_CTL(tsk, adr) get_unalign_ctl((tsk), (adr)) argument 332 #define SET_UNALIGN_CTL(tsk, val) set_unalign_ctl((tsk), (val)) argument 339 #define PPC_GET_DEXCR_ASPECT(tsk, asp) get_dexcr_prctl((tsk), (asp)) argument [all …]
|
H A D | thread_info.h | 78 #define INIT_THREAD_INFO(tsk) \ argument 178 #define is_tsk_32bit_task(tsk) (test_tsk_thread_flag(tsk, TIF_32BIT)) argument 179 #define clear_tsk_compat_task(tsk) (clear_tsk_thread_flag(p, TIF_32BIT)) argument 182 #define is_tsk_32bit_task(tsk) (IS_ENABLED(CONFIG_PPC32)) argument 183 #define clear_tsk_compat_task(tsk) do { } while (0) argument
|
/linux/drivers/dma/bestcomm/ |
H A D | bestcomm.c | 50 struct bcom_task *tsk; in bcom_task_alloc() local 119 bcom_task_free(struct bcom_task *tsk) in bcom_task_free() 234 bcom_enable(struct bcom_task *tsk) in bcom_enable() 241 bcom_disable(struct bcom_task *tsk) in bcom_disable()
|
/linux/include/linux/sched/ |
H A D | task_stack.h | 67 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack() 75 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack() 80 static inline void put_task_stack(struct task_struct *tsk) {} in put_task_stack()
|
/linux/kernel/ |
H A D | taskstats.c | 157 static void exe_add_tsk(struct taskstats *stats, struct task_struct *tsk) in exe_add_tsk() 176 struct task_struct *tsk, struct taskstats *stats) in fill_stats() 203 struct task_struct *tsk; in fill_stats_for_pid() local 215 struct task_struct *tsk, *first; in fill_stats_for_tgid() local 275 static void fill_tgid_exit(struct task_struct *tsk) in fill_tgid_exit() 571 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc() 604 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
|
H A D | scs.c | 114 int scs_prepare(struct task_struct *tsk, int node) in scs_prepare() 129 static void scs_check_usage(struct task_struct *tsk) in scs_check_usage() 157 void scs_release(struct task_struct *tsk) in scs_release()
|
H A D | nsproxy.c | 68 struct task_struct *tsk, struct user_namespace *user_ns, in create_new_namespaces() 151 int copy_namespaces(unsigned long flags, struct task_struct *tsk) in copy_namespaces() 261 struct task_struct *tsk = current; in exec_task_namespaces() local 382 struct task_struct *tsk; in validate_nsset() local
|
H A D | exit.c | 145 static void __exit_signal(struct task_struct *tsk) in __exit_signal() 222 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local 376 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp() 401 static void coredump_task_exit(struct task_struct *tsk) in coredump_task_exit() 725 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify() 798 static void synchronize_group_exit(struct task_struct *tsk, long code) in synchronize_group_exit() 816 struct task_struct *tsk = current; in do_exit() local 939 struct task_struct *tsk = current; in make_task_dead() local 1470 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread() 1484 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait() [all …]
|
/linux/mm/ |
H A D | oom_kill.c | 93 struct task_struct *tsk; in oom_cpuset_eligible() local 122 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() 566 static bool oom_reap_task_mm(struct task_struct *tsk, struct mm_struct *mm) in oom_reap_task_mm() 607 static void oom_reap_task(struct task_struct *tsk) in oom_reap_task() 643 struct task_struct *tsk = NULL; in oom_reaper() local 662 struct task_struct *tsk = container_of(timer, struct task_struct, in wake_oom_reaper() local 690 static void queue_oom_reaper(struct task_struct *tsk) in queue_oom_reaper()
|
/linux/arch/sparc/mm/ |
H A D | fault_32.c | 40 struct task_struct *tsk, in unhandled_fault() 60 unsigned long address, struct task_struct *tsk) in show_signal_msg() 116 struct task_struct *tsk = current; in do_sparc_fault() local 308 struct task_struct *tsk = current; in force_user_fault() local
|
/linux/arch/loongarch/kernel/ |
H A D | ptrace.c | 406 struct task_struct *tsk, in ptrace_hbp_get_event() 430 struct task_struct *tsk, in ptrace_hbp_set_event() 453 struct task_struct *tsk, in ptrace_hbp_create() 545 struct task_struct *tsk, in ptrace_hbp_get_initialised_bp() 557 struct task_struct *tsk, in ptrace_hbp_get_ctrl() 571 struct task_struct *tsk, in ptrace_hbp_get_mask() 585 struct task_struct *tsk, in ptrace_hbp_get_addr() 599 struct task_struct *tsk, in ptrace_hbp_set_ctrl() 621 struct task_struct *tsk, in ptrace_hbp_set_mask() 640 struct task_struct *tsk, in ptrace_hbp_set_addr() [all …]
|
/linux/include/linux/ |
H A D | sem.h | 17 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) in copy_semundo() 22 static inline void exit_sem(struct task_struct *tsk) in exit_sem()
|
H A D | signalfd.h | 19 static inline void signalfd_notify(struct task_struct *tsk, int sig) in signalfd_notify() 29 static inline void signalfd_notify(struct task_struct *tsk, int sig) { } in signalfd_notify()
|
/linux/arch/sparc/include/asm/ |
H A D | processor_32.h | 85 #define task_pt_regs(tsk) ((tsk)->thread.kregs) argument 86 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) argument 87 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP]) argument
|
/linux/arch/riscv/kernel/ |
H A D | process.c | 43 int set_unalign_ctl(struct task_struct *tsk, unsigned int val) in set_unalign_ctl() 52 int get_unalign_ctl(struct task_struct *tsk, unsigned long adr) in get_unalign_ctl() 176 void arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
|
/linux/arch/arm64/include/asm/ |
H A D | thread_info.h | 48 #define thread_saved_pc(tsk) \ argument 50 #define thread_saved_sp(tsk) \ argument 52 #define thread_saved_fp(tsk) \ argument 118 #define INIT_THREAD_INFO(tsk) \ argument
|
/linux/arch/parisc/include/asm/ |
H A D | vdso.h | 12 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) argument 13 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) argument
|
/linux/arch/openrisc/include/asm/ |
H A D | fpu.h | 18 #define save_fpu(tsk) do { } while (0) argument 19 #define restore_fpu(tsk) do { } while (0) argument
|
/linux/kernel/events/ |
H A D | hw_breakpoint_test.c | 31 static struct perf_event *register_test_bp(int cpu, struct task_struct *tsk, int idx) in register_test_bp() 65 static void fill_one_bp_slot(struct kunit *test, int *id, int cpu, struct task_struct *tsk) in fill_one_bp_slot() 80 static bool fill_bp_slots(struct kunit *test, int *id, int cpu, struct task_struct *tsk, int skip) in fill_bp_slots() 95 struct task_struct *tsk; in get_other_task() local
|
/linux/arch/powerpc/kernel/ |
H A D | signal.c | 161 void __user *get_sigframe(struct ksignal *ksig, struct task_struct *tsk, in get_sigframe() 243 static void do_signal(struct task_struct *tsk) in do_signal() 312 static unsigned long get_tm_stackpointer(struct task_struct *tsk) in get_tm_stackpointer() 364 void signal_fault(struct task_struct *tsk, struct pt_regs *regs, in signal_fault()
|
/linux/arch/x86/kernel/ |
H A D | ioport.c | 22 void io_bitmap_share(struct task_struct *tsk) in io_bitmap_share() 36 static void task_update_io_bitmap(struct task_struct *tsk) in task_update_io_bitmap() 52 void io_bitmap_exit(struct task_struct *tsk) in io_bitmap_exit()
|