/Linux-v4.19/include/linux/ |
D | vtime.h | 66 static inline void vtime_account_system(struct task_struct *tsk) { } in vtime_account_system() 77 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter() 78 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit() 79 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter() 80 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit() 81 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle() 86 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit() 93 static inline void vtime_account_irq_enter(struct task_struct *tsk) { } in vtime_account_irq_enter() 94 static inline void vtime_account_irq_exit(struct task_struct *tsk) { } in vtime_account_irq_exit() 95 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush() [all …]
|
D | delayacct.h | 100 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init() 111 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free() 133 struct task_struct *tsk) in delayacct_add_tsk() 140 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks() 166 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init() 168 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free() 175 struct task_struct *tsk) in delayacct_add_tsk() 177 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
|
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-v4.19/include/linux/sched/ |
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()
|
D | cputime.h | 80 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer() 109 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer() 125 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time() 146 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time() 167 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | mmu_context.h | 8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 56 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument 76 struct task_struct *tsk) in switch_mm() 93 #define deactivate_mm(tsk, mm) do { } while (0) argument 169 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 198 struct task_struct *tsk) in switch_mm() 203 #define deactivate_mm(tsk, mm) do { } while (0) argument 217 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 283 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm() 293 #define deactivate_mm(tsk,mm) do { } while (0) argument [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | process.c | 89 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required() 110 static bool tm_active_with_fp(struct task_struct *tsk) in tm_active_with_fp() 116 static bool tm_active_with_altivec(struct task_struct *tsk) in tm_active_with_altivec() 123 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required() 124 static inline bool tm_active_with_fp(struct task_struct *tsk) { return false; } in tm_active_with_fp() 125 static inline bool tm_active_with_altivec(struct task_struct *tsk) { return false; } in tm_active_with_altivec() 177 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu() 191 void giveup_fpu(struct task_struct *tsk) in giveup_fpu() 205 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread() 257 static int restore_fp(struct task_struct *tsk) in restore_fp() [all …]
|
/Linux-v4.19/arch/sh/include/asm/ |
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
|
D | fpu.h | 27 #define save_fpu(tsk) do { } while (0) argument 28 #define restore_fpu(tsk) do { } while (0) argument 45 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu() 55 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu() 62 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
|
/Linux-v4.19/include/linux/fsl/bestcomm/ |
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-v4.19/arch/sh/kernel/cpu/sh4/ |
D | fpu.c | 44 void save_fpu(struct task_struct *tsk) in save_fpu() 94 void restore_fpu(struct task_struct *tsk) in restore_fpu() 231 struct task_struct *tsk = current; in ieee_fpe_handler() local 244 struct task_struct *tsk = current; in ieee_fpe_handler() local 282 struct task_struct *tsk = current; in ieee_fpe_handler() local 326 struct task_struct *tsk = current; in ieee_fpe_handler() local 366 struct task_struct *tsk = current; in ieee_fpe_handler() local 399 struct task_struct *tsk = current; in float_rounding_mode() local 406 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
|
/Linux-v4.19/arch/mips/include/asm/ |
D | dsp.h | 43 #define __save_dsp(tsk) \ argument 54 #define save_dsp(tsk) \ argument 60 #define __restore_dsp(tsk) \ argument 71 #define restore_dsp(tsk) \ argument 77 #define __get_dsp_regs(tsk) \ argument
|
/Linux-v4.19/arch/arm/include/asm/ |
D | mmu_context.h | 33 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 54 struct task_struct *tsk) in check_and_switch_context() 99 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 120 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 132 struct task_struct *tsk) in switch_mm() 155 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/Linux-v4.19/net/tipc/ |
D | socket.c | 147 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node() 152 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() 157 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port() 162 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable() 167 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable() 172 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable() 177 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable() 182 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance() 187 static int tsk_set_importance(struct tipc_sock *tsk, int imp) in tsk_set_importance() 200 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong() [all …]
|
/Linux-v4.19/arch/powerpc/mm/ |
D | mmu_context.c | 20 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 27 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 34 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 39 struct task_struct *tsk) in switch_mm_irqs_off()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | mmu_context.h | 18 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 93 struct task_struct *tsk) in switch_mm() 116 struct task_struct *tsk = current; in finish_arch_post_lock_switch() local 130 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument 131 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | mmu_context.h | 12 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 23 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 54 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off() 63 struct mm_struct *next, struct task_struct *tsk) in switch_mm() 76 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/Linux-v4.19/arch/arc/kernel/ |
D | stacktrace.c | 44 static void seed_unwind_frame_info(struct task_struct *tsk, in seed_unwind_frame_info() 114 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core() 223 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs) in show_stacktrace() 231 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack() 240 unsigned int get_wchan(struct task_struct *tsk) in get_wchan() 251 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
|
/Linux-v4.19/kernel/ |
D | tsacct.c | 33 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() 127 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals() 155 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals() 170 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime() 179 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
|
D | fork.c | 148 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct() 160 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct() 205 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() 248 static inline void free_thread_stack(struct task_struct *tsk) in free_thread_stack() 272 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, in alloc_thread_stack_node() 278 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack() 337 static void account_kernel_stack(struct task_struct *tsk, int account) in account_kernel_stack() 373 static void release_task_stack(struct task_struct *tsk) in release_task_stack() 388 void put_task_stack(struct task_struct *tsk) in put_task_stack() 395 void free_task(struct task_struct *tsk) in free_task() [all …]
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | mmu_context.h | 41 struct task_struct *tsk) in enter_lazy_tlb() 48 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm() 58 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 69 struct task_struct *tsk) in switch_mm()
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | thread_info.h | 46 #define INIT_THREAD_INFO(tsk) \ argument 58 #define alloc_thread_stack_node(tsk, node) \ argument 60 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) argument 63 #define alloc_thread_stack_node(tsk, node) ((unsigned long *) 0) argument 64 #define task_thread_info(tsk) ((struct thread_info *) 0) argument 66 #define free_thread_stack(tsk) /* nothing */ argument 67 #define task_stack_page(tsk) ((void *)(tsk)) argument 91 #define free_task_struct(tsk) free_pages((unsigned long) (tsk), KERNEL_STACK_SIZE_ORDER) argument
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | nommu_context.h | 10 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 14 static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm) in init_new_context() 28 struct task_struct *tsk) in switch_mm() 32 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
|
/Linux-v4.19/arch/arc/include/asm/ |
D | processor.h | 81 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument 82 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument 88 #define TSK_K_ESP(tsk) (tsk->thread.ksp) argument 90 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument 93 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument 94 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | mmu_context.h | 171 #define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.id, 0); 0; }) argument 174 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0() 190 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0() 197 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 224 struct task_struct *tsk) in switch_mm() 238 #define deactivate_mm(tsk,mm) do { } while (0) argument
|