| /linux/include/linux/sched/ |
| H A D | xacct.h | 12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() 17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() 22 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr() 27 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw() 32 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() 36 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() 40 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr() 44 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
|
| /linux/include/linux/fsl/bestcomm/ |
| H A D | bestcomm.h | 90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq() 106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index() 117 _bcom_next_outdex(struct bcom_task *tsk) in _bcom_next_outdex() 127 bcom_queue_empty(struct bcom_task *tsk) in bcom_queue_empty() 137 bcom_queue_full(struct bcom_task *tsk) in bcom_queue_full() 148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd() 160 bcom_buffer_done(struct bcom_task *tsk) in bcom_buffer_done() 177 bcom_prepare_next_buffer(struct bcom_task *tsk) in bcom_prepare_next_buffer() 187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer() 200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) in bcom_retrieve_buffer()
|
| /linux/include/linux/ |
| H A D | scs.h | 25 #define task_scs(tsk) (task_thread_info(tsk)->scs_base) argument 26 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp) argument 34 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset() 48 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted() 77 static inline void scs_task_reset(struct task_struct *tsk) {} in scs_task_reset() 78 static inline int scs_prepare(struct task_struct *tsk, int node) { return 0; } in scs_prepare() 79 static inline void scs_release(struct task_struct *tsk) {} in scs_release() 80 static inline bool task_scs_end_corrupted(struct task_struct *tsk) { return false; } in task_scs_end_corrupted()
|
| H A D | tsacct_kern.h | 20 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() 32 static inline void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals() 34 static inline void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime() 36 static inline void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
|
| /linux/arch/sh/include/asm/ |
| H A D | switch_to_32.h | 7 #define is_dsp_enabled(tsk) \ argument 10 #define __restore_dsp(tsk) \ argument 33 #define __save_dsp(tsk) \ argument 59 #define is_dsp_enabled(tsk) (0) argument 60 #define __save_dsp(tsk) do { } while (0) argument 61 #define __restore_dsp(tsk) do { } while (0) argument
|
| H A D | fpu.h | 27 #define save_fpu(tsk) do { } while (0) argument 28 #define restore_fpu(tsk) do { } while (0) argument 40 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu() 50 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu() 57 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
|
| /linux/arch/arm64/include/asm/ |
| H A D | pointer_auth.h | 130 #define ptrauth_thread_switch_user(tsk) \ argument 135 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument 136 #define ptrauth_set_enabled_keys(tsk, keys, enabled) (-EINVAL) argument 137 #define ptrauth_get_enabled_keys(tsk) (-EINVAL) argument 140 #define ptrauth_thread_switch_user(tsk) argument 144 #define ptrauth_thread_init_kernel(tsk) \ argument 146 #define ptrauth_thread_switch_kernel(tsk) \ argument 149 #define ptrauth_thread_init_kernel(tsk) argument 150 #define ptrauth_thread_switch_kernel(tsk) argument
|
| /linux/arch/sh/kernel/cpu/sh4/ |
| H A D | fpu.c | 41 void save_fpu(struct task_struct *tsk) in save_fpu() 91 void restore_fpu(struct task_struct *tsk) in restore_fpu() 228 struct task_struct *tsk = current; in ieee_fpe_handler() local 241 struct task_struct *tsk = current; in ieee_fpe_handler() local 279 struct task_struct *tsk = current; in ieee_fpe_handler() local 323 struct task_struct *tsk = current; in ieee_fpe_handler() local 363 struct task_struct *tsk = current; in ieee_fpe_handler() local 396 struct task_struct *tsk = current; in float_rounding_mode() local 403 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
|
| /linux/net/tipc/ |
| H A D | socket.c | 168 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node() 173 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() 178 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port() 183 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable() 188 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable() 193 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable() 198 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable() 203 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance() 221 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong() 244 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc() [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | dsp.h | 39 #define __save_dsp(tsk) \ argument 50 #define save_dsp(tsk) \ argument 56 #define __restore_dsp(tsk) \ argument 67 #define restore_dsp(tsk) \ argument 73 #define __get_dsp_regs(tsk) \ argument
|
| H A D | fpu.h | 179 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() 242 static inline void save_fp(struct task_struct *tsk) in save_fp() 248 static inline void restore_fp(struct task_struct *tsk) in restore_fp() 254 static inline union fpureg *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs() 304 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic()
|
| /linux/kernel/time/ |
| H A D | posix-cpu-timers.c | 78 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock() local 273 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() 295 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime() 326 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime() 361 struct task_struct *tsk; in posix_cpu_clock_get() local 418 struct task_struct *tsk) in timer_base() 435 struct task_struct *tsk) in trigger_base_recalc_expires() 647 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit() 651 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group() 906 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun() [all …]
|
| /linux/arch/arc/include/asm/ |
| H A D | processor.h | 49 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument 50 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument 56 #define TSK_K_ESP(tsk) (task_thread_info(tsk)->ksp) argument 58 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument 61 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument 62 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
|
| /linux/kernel/ |
| H A D | fork.c | 180 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct() argument 191 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct() argument 215 static struct vm_struct *alloc_thread_stack_node_from_cache(struct task_struct *tsk, int node) in alloc_thread_stack_node_from_cache() argument 286 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free() argument 333 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() argument 381 free_thread_stack(struct task_struct * tsk) free_thread_stack() argument 403 thread_stack_delayed_free(struct task_struct * tsk) thread_stack_delayed_free() argument 410 alloc_thread_stack_node(struct task_struct * tsk,int node) alloc_thread_stack_node() argument 422 free_thread_stack(struct task_struct * tsk) free_thread_stack() argument 437 thread_stack_delayed_free(struct task_struct * tsk) thread_stack_delayed_free() argument 444 alloc_thread_stack_node(struct task_struct * tsk,int node) alloc_thread_stack_node() argument 453 free_thread_stack(struct task_struct * tsk) free_thread_stack() argument 485 account_kernel_stack(struct task_struct * tsk,int account) account_kernel_stack() argument 503 exit_task_stack_account(struct task_struct * tsk) exit_task_stack_account() argument 517 release_task_stack(struct task_struct * tsk) release_task_stack() argument 526 put_task_stack(struct task_struct * tsk) put_task_stack() argument 533 free_task(struct task_struct * tsk) free_task() argument 782 __put_task_struct(struct task_struct * tsk) __put_task_struct() argument 907 set_task_stack_end_magic(struct task_struct * tsk) set_task_stack_end_magic() argument 917 struct task_struct *tsk; dup_task_struct() local 1432 complete_vfork_done(struct task_struct * tsk) complete_vfork_done() argument 1478 mm_release(struct task_struct * tsk,struct mm_struct * mm) mm_release() argument 1511 mm_exit_exec_release(struct task_struct * tsk,struct mm_struct * mm) mm_exit_exec_release() argument 1527 dup_mm(struct task_struct * tsk,struct mm_struct * oldmm) dup_mm() argument 1568 copy_mm(u64 clone_flags,struct task_struct * tsk) copy_mm() argument 1605 copy_exec_state(u64 clone_flags,struct task_struct * tsk) copy_exec_state() argument 1621 copy_fs(u64 clone_flags,struct task_struct * tsk,bool umh) copy_fs() argument 1660 copy_files(u64 clone_flags,struct task_struct * tsk,int no_files) copy_files() argument 1690 copy_sighand(u64 clone_flags,struct task_struct * tsk) copy_sighand() argument 1739 copy_signal(u64 clone_flags,struct task_struct * tsk) copy_signal() argument 1954 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); __delayed_free_task() local 1959 delayed_free_task(struct task_struct * tsk) delayed_free_task() argument 1967 copy_oom_score_adj(u64 clone_flags,struct task_struct * tsk) copy_oom_score_adj() argument [all...] |
| H A D | smpboot.c | 30 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get() local 50 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init() local 168 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() local 226 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() local 245 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() local 268 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_destroy_threads() local
|
| /linux/arch/arc/kernel/ |
| H A D | stacktrace.c | 43 seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, in seed_unwind_frame_info() 117 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core() 234 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, in show_stacktrace() 243 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() 252 unsigned int __get_wchan(struct task_struct *tsk) in __get_wchan() 263 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
|
| /linux/arch/powerpc/mm/ |
| H A D | mmu_context.c | 16 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 29 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 39 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 44 struct task_struct *tsk) in switch_mm_irqs_off()
|
| /linux/drivers/dma/bestcomm/ |
| H A D | ata.c | 56 struct bcom_task *tsk; in bcom_ata_init() local 99 void bcom_ata_rx_prepare(struct bcom_task *tsk) in bcom_ata_rx_prepare() 113 void bcom_ata_tx_prepare(struct bcom_task *tsk) in bcom_ata_tx_prepare() 127 void bcom_ata_reset_bd(struct bcom_task *tsk) in bcom_ata_reset_bd() 142 void bcom_ata_release(struct bcom_task *tsk) in bcom_ata_release()
|
| /linux/arch/powerpc/kernel/ |
| H A D | signal_64.c | 87 static void prepare_setup_sigcontext(struct task_struct *tsk) in prepare_setup_sigcontext() 109 #define unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region, label)\ argument 115 struct task_struct *tsk, int signr, sigset_t *set, in __unsafe_setup_sigcontext() 208 struct task_struct *tsk, in setup_tm_sigcontexts() 333 #define unsafe_restore_sigcontext(tsk, set, sig, sc, label) do { \ argument 337 static long notrace __unsafe_restore_sigcontext(struct task_struct *tsk, sigset_t *set, in __unsafe_restore_sigcontext() 437 static long restore_tm_sigcontexts(struct task_struct *tsk, in restore_tm_sigcontexts() 614 static long restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, in restore_tm_sigcontexts() 858 struct task_struct *tsk) in handle_rt_signal64()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | processor.h | 39 #define TASK_SIZE_OF(tsk) \ argument 145 #define thread_saved_ra(tsk) (tsk->thread.sched_ra) argument 146 #define thread_saved_fp(tsk) (tsk->thread.sched_cfa) argument 201 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \ argument 203 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) argument 204 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->csr_era) argument 205 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[3]) argument 206 #define KSTK_EUEN(tsk) (task_pt_regs(tsk)->csr_euen) argument 207 #define KSTK_ECFG(tsk) (task_pt_regs(tsk)->csr_ecfg) argument
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cputime.h | 33 #define get_accounting(tsk) (&get_paca()->accounting) argument 34 #define raw_get_accounting(tsk) (&local_paca->accounting) argument 37 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting) argument 38 #define raw_get_accounting(tsk) get_accounting(tsk) argument
|
| /linux/arch/m68k/include/asm/ |
| H A D | mmu_context.h | 52 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument 73 struct task_struct *tsk) in switch_mm() 178 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 208 struct task_struct *tsk) in switch_mm() 227 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 291 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
|
| /linux/arch/arm/include/asm/ |
| H A D | mmu_context.h | 42 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 63 struct task_struct *tsk) in check_and_switch_context() 118 struct task_struct *tsk) in switch_mm() 142 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
|
| /linux/arch/parisc/include/asm/ |
| H A D | syscall.h | 14 static inline long syscall_get_nr(struct task_struct *tsk, in syscall_get_nr() 20 static inline void syscall_set_nr(struct task_struct *tsk, in syscall_set_nr() 27 static inline void syscall_get_arguments(struct task_struct *tsk, in syscall_get_arguments() 39 static inline void syscall_set_arguments(struct task_struct *tsk, in syscall_set_arguments()
|
| H A D | vdso.h | 9 #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 15 #define VDSO32_SYMBOL(tsk, name) 0UL argument
|