tsk 48 arch/x86/include/asm/fpu-internal.h struct task_struct *tsk); tsk 49 arch/x86/include/asm/fpu-internal.h extern void convert_to_fxsr(struct task_struct *tsk, tsk 117 arch/x86/include/asm/fpu-internal.h static inline void sanitize_i387_state(struct task_struct *tsk) tsk 121 arch/x86/include/asm/fpu-internal.h __sanitize_i387_state(tsk); tsk 276 arch/x86/include/asm/fpu-internal.h static inline int __save_init_fpu(struct task_struct *tsk) tsk 278 arch/x86/include/asm/fpu-internal.h return fpu_save_init(&tsk->thread.fpu); tsk 291 arch/x86/include/asm/fpu-internal.h static inline int restore_fpu_checking(struct task_struct *tsk) tsk 301 arch/x86/include/asm/fpu-internal.h : : [addr] "m" (tsk->thread.fpu.has_fpu)); tsk 304 arch/x86/include/asm/fpu-internal.h return fpu_restore_checking(&tsk->thread.fpu); tsk 312 arch/x86/include/asm/fpu-internal.h static inline int __thread_has_fpu(struct task_struct *tsk) tsk 314 arch/x86/include/asm/fpu-internal.h return tsk->thread.fpu.has_fpu; tsk 318 arch/x86/include/asm/fpu-internal.h static inline void __thread_clear_has_fpu(struct task_struct *tsk) tsk 320 arch/x86/include/asm/fpu-internal.h tsk->thread.fpu.has_fpu = 0; tsk 325 arch/x86/include/asm/fpu-internal.h static inline void __thread_set_has_fpu(struct task_struct *tsk) tsk 327 arch/x86/include/asm/fpu-internal.h tsk->thread.fpu.has_fpu = 1; tsk 328 arch/x86/include/asm/fpu-internal.h this_cpu_write(fpu_owner_task, tsk); tsk 338 arch/x86/include/asm/fpu-internal.h static inline void __thread_fpu_end(struct task_struct *tsk) tsk 340 arch/x86/include/asm/fpu-internal.h __thread_clear_has_fpu(tsk); tsk 345 arch/x86/include/asm/fpu-internal.h static inline void __thread_fpu_begin(struct task_struct *tsk) tsk 349 arch/x86/include/asm/fpu-internal.h __thread_set_has_fpu(tsk); tsk 352 arch/x86/include/asm/fpu-internal.h static inline void __drop_fpu(struct task_struct *tsk) tsk 354 arch/x86/include/asm/fpu-internal.h if (__thread_has_fpu(tsk)) { tsk 359 arch/x86/include/asm/fpu-internal.h __thread_fpu_end(tsk); tsk 363 arch/x86/include/asm/fpu-internal.h static inline void drop_fpu(struct task_struct *tsk) tsk 369 arch/x86/include/asm/fpu-internal.h tsk->thread.fpu_counter = 0; tsk 370 arch/x86/include/asm/fpu-internal.h __drop_fpu(tsk); tsk 375 arch/x86/include/asm/fpu-internal.h static inline void drop_init_fpu(struct task_struct *tsk) tsk 378 arch/x86/include/asm/fpu-internal.h drop_fpu(tsk); tsk 509 arch/x86/include/asm/fpu-internal.h static inline void __save_fpu(struct task_struct *tsk) tsk 513 arch/x86/include/asm/fpu-internal.h xsave_state_booting(&tsk->thread.fpu.state->xsave, -1); tsk 515 arch/x86/include/asm/fpu-internal.h xsave_state(&tsk->thread.fpu.state->xsave, -1); tsk 517 arch/x86/include/asm/fpu-internal.h fpu_fxsave(&tsk->thread.fpu); tsk 523 arch/x86/include/asm/fpu-internal.h static inline void save_init_fpu(struct task_struct *tsk) tsk 525 arch/x86/include/asm/fpu-internal.h WARN_ON_ONCE(!__thread_has_fpu(tsk)); tsk 528 arch/x86/include/asm/fpu-internal.h __save_fpu(tsk); tsk 533 arch/x86/include/asm/fpu-internal.h __save_init_fpu(tsk); tsk 534 arch/x86/include/asm/fpu-internal.h __thread_fpu_end(tsk); tsk 541 arch/x86/include/asm/fpu-internal.h static inline unsigned short get_fpu_cwd(struct task_struct *tsk) tsk 544 arch/x86/include/asm/fpu-internal.h return tsk->thread.fpu.state->fxsave.cwd; tsk 546 arch/x86/include/asm/fpu-internal.h return (unsigned short)tsk->thread.fpu.state->fsave.cwd; tsk 550 arch/x86/include/asm/fpu-internal.h static inline unsigned short get_fpu_swd(struct task_struct *tsk) tsk 553 arch/x86/include/asm/fpu-internal.h return tsk->thread.fpu.state->fxsave.swd; tsk 555 arch/x86/include/asm/fpu-internal.h return (unsigned short)tsk->thread.fpu.state->fsave.swd; tsk 559 arch/x86/include/asm/fpu-internal.h static inline unsigned short get_fpu_mxcsr(struct task_struct *tsk) tsk 562 arch/x86/include/asm/fpu-internal.h return tsk->thread.fpu.state->fxsave.mxcsr; tsk 100 arch/x86/include/asm/i387.h extern void unlazy_fpu(struct task_struct *tsk); tsk 25 arch/x86/include/asm/mmu_context.h int init_new_context(struct task_struct *tsk, struct mm_struct *mm); tsk 29 arch/x86/include/asm/mmu_context.h static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) tsk 38 arch/x86/include/asm/mmu_context.h struct task_struct *tsk) tsk 93 arch/x86/include/asm/mmu_context.h #define deactivate_mm(tsk, mm) \ tsk 98 arch/x86/include/asm/mmu_context.h #define deactivate_mm(tsk, mm) \ tsk 866 arch/x86/include/asm/processor.h extern unsigned long thread_saved_pc(struct task_struct *tsk); tsk 928 arch/x86/include/asm/processor.h #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1) tsk 75 arch/x86/include/asm/ptrace.h extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, tsk 255 arch/x86/include/asm/segment.h #define task_user_gs(tsk) ((tsk)->thread.gs) tsk 261 arch/x86/include/asm/segment.h #define task_user_gs(tsk) (task_pt_regs(tsk)->gs) tsk 46 arch/x86/include/asm/stacktrace.h void dump_trace(struct task_struct *tsk, struct pt_regs *regs, tsk 40 arch/x86/include/asm/thread_info.h #define INIT_THREAD_INFO(tsk) \ tsk 42 arch/x86/include/asm/thread_info.h .task = &tsk, \ tsk 239 arch/x86/include/asm/thread_info.h extern void arch_release_task_struct(struct task_struct *tsk); tsk 15 include/asm-generic/mmu_context.h struct task_struct *tsk) tsk 19 include/asm-generic/mmu_context.h static inline int init_new_context(struct task_struct *tsk, tsk 36 include/asm-generic/mmu_context.h struct task_struct *tsk) tsk 40 include/linux/aio.h struct task_struct *tsk; tsk 67 include/linux/aio.h .ki_obj.tsk = current, tsk 224 include/linux/audit.h static inline kuid_t audit_get_loginuid(struct task_struct *tsk) tsk 226 include/linux/audit.h return tsk->loginuid; tsk 229 include/linux/audit.h static inline unsigned int audit_get_sessionid(struct task_struct *tsk) tsk 231 include/linux/audit.h return tsk->sessionid; tsk 382 include/linux/audit.h static inline kuid_t audit_get_loginuid(struct task_struct *tsk) tsk 386 include/linux/audit.h static inline unsigned int audit_get_sessionid(struct task_struct *tsk) tsk 435 include/linux/audit.h static inline bool audit_loginuid_set(struct task_struct *tsk) tsk 437 include/linux/audit.h return uid_valid(audit_get_loginuid(tsk)); tsk 481 include/linux/audit.h struct task_struct *tsk); tsk 536 include/linux/audit.h struct task_struct *tsk) tsk 1110 include/linux/blkdev.h static inline void blk_flush_plug(struct task_struct *tsk) tsk 1112 include/linux/blkdev.h struct blk_plug *plug = tsk->plug; tsk 1118 include/linux/blkdev.h static inline void blk_schedule_flush_plug(struct task_struct *tsk) tsk 1120 include/linux/blkdev.h struct blk_plug *plug = tsk->plug; tsk 1126 include/linux/blkdev.h static inline bool blk_needs_flush_plug(struct task_struct *tsk) tsk 1128 include/linux/blkdev.h struct blk_plug *plug = tsk->plug; tsk 1659 include/linux/blkdev.h static inline bool blk_needs_flush_plug(struct task_struct *tsk) tsk 41 include/linux/cgroup.h struct pid *pid, struct task_struct *tsk); tsk 90 include/linux/cpuset.h struct pid *pid, struct task_struct *tsk); tsk 192 include/linux/cred.h static inline void validate_creds_for_do_exit(struct task_struct *tsk) tsk 65 include/linux/delayacct.h static inline void delayacct_tsk_init(struct task_struct *tsk) tsk 68 include/linux/delayacct.h tsk->delays = NULL; tsk 70 include/linux/delayacct.h __delayacct_tsk_init(tsk); tsk 76 include/linux/delayacct.h static inline void delayacct_tsk_free(struct task_struct *tsk) tsk 78 include/linux/delayacct.h if (tsk->delays) tsk 79 include/linux/delayacct.h kmem_cache_free(delayacct_cache, tsk->delays); tsk 80 include/linux/delayacct.h tsk->delays = NULL; tsk 98 include/linux/delayacct.h struct task_struct *tsk) tsk 100 include/linux/delayacct.h if (!delayacct_on || !tsk->delays) tsk 102 include/linux/delayacct.h return __delayacct_add_tsk(d, tsk); tsk 105 include/linux/delayacct.h static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) tsk 107 include/linux/delayacct.h if (tsk->delays) tsk 108 include/linux/delayacct.h return __delayacct_blkio_ticks(tsk); tsk 131 include/linux/delayacct.h static inline void delayacct_tsk_init(struct task_struct *tsk) tsk 133 include/linux/delayacct.h static inline void delayacct_tsk_free(struct task_struct *tsk) tsk 140 include/linux/delayacct.h struct task_struct *tsk) tsk 142 include/linux/delayacct.h static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) tsk 24 include/linux/fsl/bestcomm/ata.h extern void bcom_ata_rx_prepare(struct bcom_task *tsk); tsk 25 include/linux/fsl/bestcomm/ata.h extern void bcom_ata_tx_prepare(struct bcom_task *tsk); tsk 26 include/linux/fsl/bestcomm/ata.h extern void bcom_ata_reset_bd(struct bcom_task *tsk); tsk 27 include/linux/fsl/bestcomm/ata.h extern void bcom_ata_release(struct bcom_task *tsk); tsk 73 include/linux/fsl/bestcomm/bestcomm.h extern void bcom_enable(struct bcom_task *tsk); tsk 82 include/linux/fsl/bestcomm/bestcomm.h extern void bcom_disable(struct bcom_task *tsk); tsk 90 include/linux/fsl/bestcomm/bestcomm.h bcom_get_task_irq(struct bcom_task *tsk) { tsk 91 include/linux/fsl/bestcomm/bestcomm.h return tsk->irq; tsk 106 include/linux/fsl/bestcomm/bestcomm.h _bcom_next_index(struct bcom_task *tsk) tsk 108 include/linux/fsl/bestcomm/bestcomm.h return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1; tsk 117 include/linux/fsl/bestcomm/bestcomm.h _bcom_next_outdex(struct bcom_task *tsk) tsk 119 include/linux/fsl/bestcomm/bestcomm.h return ((tsk->outdex + 1) == tsk->num_bd) ? 0 : tsk->outdex + 1; tsk 127 include/linux/fsl/bestcomm/bestcomm.h bcom_queue_empty(struct bcom_task *tsk) tsk 129 include/linux/fsl/bestcomm/bestcomm.h return tsk->index == tsk->outdex; tsk 137 include/linux/fsl/bestcomm/bestcomm.h bcom_queue_full(struct bcom_task *tsk) tsk 139 include/linux/fsl/bestcomm/bestcomm.h return tsk->outdex == _bcom_next_index(tsk); tsk 148 include/linux/fsl/bestcomm/bestcomm.h *bcom_get_bd(struct bcom_task *tsk, unsigned int index) tsk 152 include/linux/fsl/bestcomm/bestcomm.h return ((void *)tsk->bd) + (index * tsk->bd_size); tsk 160 include/linux/fsl/bestcomm/bestcomm.h bcom_buffer_done(struct bcom_task *tsk) tsk 163 include/linux/fsl/bestcomm/bestcomm.h if (bcom_queue_empty(tsk)) tsk 166 include/linux/fsl/bestcomm/bestcomm.h bd = bcom_get_bd(tsk, tsk->outdex); tsk 177 include/linux/fsl/bestcomm/bestcomm.h bcom_prepare_next_buffer(struct bcom_task *tsk) tsk 181 include/linux/fsl/bestcomm/bestcomm.h bd = bcom_get_bd(tsk, tsk->index); tsk 187 include/linux/fsl/bestcomm/bestcomm.h bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) tsk 189 include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); tsk 191 include/linux/fsl/bestcomm/bestcomm.h tsk->cookie[tsk->index] = cookie; tsk 194 include/linux/fsl/bestcomm/bestcomm.h tsk->index = _bcom_next_index(tsk); tsk 195 include/linux/fsl/bestcomm/bestcomm.h if (tsk->flags & BCOM_FLAGS_ENABLE_TASK) tsk 196 include/linux/fsl/bestcomm/bestcomm.h bcom_enable(tsk); tsk 200 include/linux/fsl/bestcomm/bestcomm.h bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) tsk 202 include/linux/fsl/bestcomm/bestcomm.h void *cookie = tsk->cookie[tsk->outdex]; tsk 203 include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd *bd = bcom_get_bd(tsk, tsk->outdex); tsk 209 include/linux/fsl/bestcomm/bestcomm.h tsk->outdex = _bcom_next_outdex(tsk); tsk 237 include/linux/fsl/bestcomm/bestcomm_priv.h extern void bcom_task_free(struct bcom_task *tsk); tsk 44 include/linux/fsl/bestcomm/fec.h bcom_fec_rx_reset(struct bcom_task *tsk); tsk 47 include/linux/fsl/bestcomm/fec.h bcom_fec_rx_release(struct bcom_task *tsk); tsk 54 include/linux/fsl/bestcomm/fec.h bcom_fec_tx_reset(struct bcom_task *tsk); tsk 57 include/linux/fsl/bestcomm/fec.h bcom_fec_tx_release(struct bcom_task *tsk); tsk 30 include/linux/fsl/bestcomm/gen_bd.h bcom_gen_bd_rx_reset(struct bcom_task *tsk); tsk 33 include/linux/fsl/bestcomm/gen_bd.h bcom_gen_bd_rx_release(struct bcom_task *tsk); tsk 41 include/linux/fsl/bestcomm/gen_bd.h bcom_gen_bd_tx_reset(struct bcom_task *tsk); tsk 44 include/linux/fsl/bestcomm/gen_bd.h bcom_gen_bd_tx_release(struct bcom_task *tsk); tsk 792 include/linux/ftrace.h static inline int task_curr_ret_stack(struct task_struct *tsk) tsk 813 include/linux/ftrace.h static inline void set_tsk_trace_trace(struct task_struct *tsk) tsk 815 include/linux/ftrace.h set_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace); tsk 818 include/linux/ftrace.h static inline void clear_tsk_trace_trace(struct task_struct *tsk) tsk 820 include/linux/ftrace.h clear_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace); tsk 823 include/linux/ftrace.h static inline int test_tsk_trace_trace(struct task_struct *tsk) tsk 825 include/linux/ftrace.h return tsk->trace & TSK_TRACE_FL_TRACE; tsk 828 include/linux/ftrace.h static inline void set_tsk_trace_graph(struct task_struct *tsk) tsk 830 include/linux/ftrace.h set_bit(TSK_TRACE_FL_GRAPH_BIT, &tsk->trace); tsk 833 include/linux/ftrace.h static inline void clear_tsk_trace_graph(struct task_struct *tsk) tsk 835 include/linux/ftrace.h clear_bit(TSK_TRACE_FL_GRAPH_BIT, &tsk->trace); tsk 838 include/linux/ftrace.h static inline int test_tsk_trace_graph(struct task_struct *tsk) tsk 840 include/linux/ftrace.h return tsk->trace & TSK_TRACE_FL_GRAPH; tsk 434 include/linux/hrtimer.h struct task_struct *tsk); tsk 50 include/linux/hw_breakpoint.h struct task_struct *tsk); tsk 80 include/linux/hw_breakpoint.h extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk); tsk 95 include/linux/hw_breakpoint.h struct task_struct *tsk) { return NULL; } tsk 119 include/linux/hw_breakpoint.h static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } tsk 19 include/linux/init_task.h # define INIT_PUSHABLE_TASKS(tsk) \ tsk 20 include/linux/init_task.h .pushable_tasks = PLIST_NODE_INIT(tsk.pushable_tasks, MAX_PRIO), tsk 22 include/linux/init_task.h # define INIT_PUSHABLE_TASKS(tsk) tsk 36 include/linux/init_task.h #define INIT_CPUSET_SEQ(tsk) \ tsk 37 include/linux/init_task.h .mems_allowed_seq = SEQCNT_ZERO(tsk.mems_allowed_seq), tsk 39 include/linux/init_task.h #define INIT_CPUSET_SEQ(tsk) tsk 109 include/linux/init_task.h #define INIT_TASK_RCU_TREE_PREEMPT(tsk) tsk 112 include/linux/init_task.h #define INIT_TASK_RCU_PREEMPT(tsk) \ tsk 115 include/linux/init_task.h .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), \ tsk 118 include/linux/init_task.h #define INIT_TASK_RCU_PREEMPT(tsk) tsk 121 include/linux/init_task.h #define INIT_TASK_RCU_TASKS(tsk) \ tsk 124 include/linux/init_task.h LIST_HEAD_INIT(tsk.rcu_tasks_holdout_list), \ tsk 127 include/linux/init_task.h #define INIT_TASK_RCU_TASKS(tsk) tsk 135 include/linux/init_task.h # define INIT_CGROUP_SCHED(tsk) \ tsk 138 include/linux/init_task.h # define INIT_CGROUP_SCHED(tsk) tsk 142 include/linux/init_task.h # define INIT_PERF_EVENTS(tsk) \ tsk 144 include/linux/init_task.h __MUTEX_INITIALIZER(tsk.perf_event_mutex), \ tsk 145 include/linux/init_task.h .perf_event_list = LIST_HEAD_INIT(tsk.perf_event_list), tsk 147 include/linux/init_task.h # define INIT_PERF_EVENTS(tsk) tsk 151 include/linux/init_task.h # define INIT_VTIME(tsk) \ tsk 152 include/linux/init_task.h .vtime_seqlock = __SEQLOCK_UNLOCKED(tsk.vtime_seqlock), \ tsk 156 include/linux/init_task.h # define INIT_VTIME(tsk) tsk 162 include/linux/init_task.h # define INIT_RT_MUTEXES(tsk) \ tsk 166 include/linux/init_task.h # define INIT_RT_MUTEXES(tsk) tsk 173 include/linux/init_task.h #define INIT_TASK(tsk) \ tsk 188 include/linux/init_task.h .group_node = LIST_HEAD_INIT(tsk.se.group_node), \ tsk 191 include/linux/init_task.h .run_list = LIST_HEAD_INIT(tsk.rt.run_list), \ tsk 194 include/linux/init_task.h .tasks = LIST_HEAD_INIT(tsk.tasks), \ tsk 195 include/linux/init_task.h INIT_PUSHABLE_TASKS(tsk) \ tsk 196 include/linux/init_task.h INIT_CGROUP_SCHED(tsk) \ tsk 197 include/linux/init_task.h .ptraced = LIST_HEAD_INIT(tsk.ptraced), \ tsk 198 include/linux/init_task.h .ptrace_entry = LIST_HEAD_INIT(tsk.ptrace_entry), \ tsk 199 include/linux/init_task.h .real_parent = &tsk, \ tsk 200 include/linux/init_task.h .parent = &tsk, \ tsk 201 include/linux/init_task.h .children = LIST_HEAD_INIT(tsk.children), \ tsk 202 include/linux/init_task.h .sibling = LIST_HEAD_INIT(tsk.sibling), \ tsk 203 include/linux/init_task.h .group_leader = &tsk, \ tsk 214 include/linux/init_task.h .list = LIST_HEAD_INIT(tsk.pending.list), \ tsk 217 include/linux/init_task.h .alloc_lock = __SPIN_LOCK_UNLOCKED(tsk.alloc_lock), \ tsk 219 include/linux/init_task.h .cpu_timers = INIT_CPU_TIMERS(tsk.cpu_timers), \ tsk 220 include/linux/init_task.h .pi_lock = __RAW_SPIN_LOCK_UNLOCKED(tsk.pi_lock), \ tsk 227 include/linux/init_task.h .thread_group = LIST_HEAD_INIT(tsk.thread_group), \ tsk 230 include/linux/init_task.h INIT_PERF_EVENTS(tsk) \ tsk 235 include/linux/init_task.h INIT_TASK_RCU_PREEMPT(tsk) \ tsk 236 include/linux/init_task.h INIT_TASK_RCU_TASKS(tsk) \ tsk 237 include/linux/init_task.h INIT_CPUSET_SEQ(tsk) \ tsk 238 include/linux/init_task.h INIT_RT_MUTEXES(tsk) \ tsk 239 include/linux/init_task.h INIT_VTIME(tsk) \ tsk 87 include/linux/kernel_stat.h static inline void account_process_tick(struct task_struct *tsk, int user) tsk 89 include/linux/kernel_stat.h vtime_account_user(tsk); tsk 354 include/linux/key.h extern void key_fsuid_changed(struct task_struct *tsk); tsk 355 include/linux/key.h extern void key_fsgid_changed(struct task_struct *tsk); tsk 341 include/linux/kprobes.h void kretprobe_hash_lock(struct task_struct *tsk, tsk 343 include/linux/kprobes.h void kretprobe_hash_unlock(struct task_struct *tsk, unsigned long *flags); tsk 344 include/linux/kprobes.h struct hlist_head * kretprobe_inst_table_head(struct task_struct *tsk); tsk 53 include/linux/kthread.h extern int tsk_fork_get_node(struct task_struct *tsk); tsk 209 include/linux/kvm_host.h int kvm_get_user_page_io(struct task_struct *tsk, struct mm_struct *mm, tsk 359 include/linux/lockdep.h #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0) tsk 369 include/linux/lockdep.h #define lockdep_recursing(tsk) ((tsk)->lockdep_recursion) tsk 416 include/linux/lockdep.h #define lockdep_depth(tsk) (0) tsk 421 include/linux/lockdep.h #define lockdep_recursing(tsk) (0) tsk 63 include/linux/lsm_audit.h struct task_struct *tsk; tsk 144 include/linux/mempolicy.h extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new, tsk 152 include/linux/mempolicy.h extern bool mempolicy_nodemask_intersects(struct task_struct *tsk, tsk 247 include/linux/mempolicy.h static inline void mpol_rebind_task(struct task_struct *tsk, tsk 1190 include/linux/mm.h extern int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm, tsk 1201 include/linux/mm.h static inline int fixup_user_fault(struct task_struct *tsk, tsk 1211 include/linux/mm.h extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write); tsk 1215 include/linux/mm.h long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, tsk 1219 include/linux/mm.h long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, tsk 1908 include/linux/mm.h void task_dirty_inc(struct task_struct *tsk); tsk 65 include/linux/nsproxy.h int copy_namespaces(unsigned long flags, struct task_struct *tsk); tsk 66 include/linux/nsproxy.h void exit_task_namespaces(struct task_struct *tsk); tsk 67 include/linux/nsproxy.h void switch_task_namespaces(struct task_struct *tsk, struct nsproxy *new); tsk 722 include/linux/perf_event.h extern void perf_event_comm(struct task_struct *tsk, bool exec); tsk 723 include/linux/perf_event.h extern void perf_event_fork(struct task_struct *tsk); tsk 830 include/linux/perf_event.h static inline void perf_event_comm(struct task_struct *tsk, bool exec) { } tsk 831 include/linux/perf_event.h static inline void perf_event_fork(struct task_struct *tsk) { } tsk 98 include/linux/pid_namespace.h extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk); tsk 132 include/linux/posix-timers.h bool posix_cpu_timers_can_stop_tick(struct task_struct *tsk); tsk 46 include/linux/ptrace.h extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len); tsk 47 include/linux/ptrace.h extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len); tsk 73 include/linux/ptrace.h int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, tsk 75 include/linux/ptrace.h int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, tsk 312 include/linux/ptrace.h extern void user_single_step_siginfo(struct task_struct *tsk, tsk 315 include/linux/ptrace.h static inline void user_single_step_siginfo(struct task_struct *tsk, tsk 205 include/linux/regset.h const struct user_regset_view *task_user_regset_view(struct task_struct *tsk); tsk 10 include/linux/resource.h int do_prlimit(struct task_struct *tsk, unsigned int resource, tsk 62 include/linux/rtmutex.h extern void rt_mutex_debug_task_free(struct task_struct *tsk); tsk 246 include/linux/sched.h #define __set_task_state(tsk, state_value) \ tsk 247 include/linux/sched.h do { (tsk)->state = (state_value); } while (0) tsk 248 include/linux/sched.h #define set_task_state(tsk, state_value) \ tsk 249 include/linux/sched.h set_mb((tsk)->state, (state_value)) tsk 1667 include/linux/sched.h #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) tsk 1746 include/linux/sched.h static inline pid_t task_pid_nr(struct task_struct *tsk) tsk 1748 include/linux/sched.h return tsk->pid; tsk 1751 include/linux/sched.h static inline pid_t task_pid_nr_ns(struct task_struct *tsk, tsk 1754 include/linux/sched.h return __task_pid_nr_ns(tsk, PIDTYPE_PID, ns); tsk 1757 include/linux/sched.h static inline pid_t task_pid_vnr(struct task_struct *tsk) tsk 1759 include/linux/sched.h return __task_pid_nr_ns(tsk, PIDTYPE_PID, NULL); tsk 1763 include/linux/sched.h static inline pid_t task_tgid_nr(struct task_struct *tsk) tsk 1765 include/linux/sched.h return tsk->tgid; tsk 1768 include/linux/sched.h pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns); tsk 1770 include/linux/sched.h static inline pid_t task_tgid_vnr(struct task_struct *tsk) tsk 1772 include/linux/sched.h return pid_vnr(task_tgid(tsk)); tsk 1777 include/linux/sched.h static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) tsk 1782 include/linux/sched.h if (pid_alive(tsk)) tsk 1783 include/linux/sched.h pid = task_tgid_nr_ns(rcu_dereference(tsk->real_parent), ns); tsk 1789 include/linux/sched.h static inline pid_t task_ppid_nr(const struct task_struct *tsk) tsk 1791 include/linux/sched.h return task_ppid_nr_ns(tsk, &init_pid_ns); tsk 1794 include/linux/sched.h static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, tsk 1797 include/linux/sched.h return __task_pid_nr_ns(tsk, PIDTYPE_PGID, ns); tsk 1800 include/linux/sched.h static inline pid_t task_pgrp_vnr(struct task_struct *tsk) tsk 1802 include/linux/sched.h return __task_pid_nr_ns(tsk, PIDTYPE_PGID, NULL); tsk 1806 include/linux/sched.h static inline pid_t task_session_nr_ns(struct task_struct *tsk, tsk 1809 include/linux/sched.h return __task_pid_nr_ns(tsk, PIDTYPE_SID, ns); tsk 1812 include/linux/sched.h static inline pid_t task_session_vnr(struct task_struct *tsk) tsk 1814 include/linux/sched.h return __task_pid_nr_ns(tsk, PIDTYPE_SID, NULL); tsk 1818 include/linux/sched.h static inline pid_t task_pgrp_nr(struct task_struct *tsk) tsk 1820 include/linux/sched.h return task_pgrp_nr_ns(tsk, &init_pid_ns); tsk 1846 include/linux/sched.h static inline int is_global_init(struct task_struct *tsk) tsk 1848 include/linux/sched.h return tsk->pid == 1; tsk 1853 include/linux/sched.h extern void free_task(struct task_struct *tsk); tsk 1854 include/linux/sched.h #define get_task_struct(tsk) do { atomic_inc(&(tsk)->usage); } while(0) tsk 2291 include/linux/sched.h extern int wake_up_state(struct task_struct *tsk, unsigned int state); tsk 2292 include/linux/sched.h extern int wake_up_process(struct task_struct *tsk); tsk 2293 include/linux/sched.h extern void wake_up_new_task(struct task_struct *tsk); tsk 2295 include/linux/sched.h extern void kick_process(struct task_struct *tsk); tsk 2297 include/linux/sched.h static inline void kick_process(struct task_struct *tsk) { } tsk 2307 include/linux/sched.h extern int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info); tsk 2309 include/linux/sched.h static inline int dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) tsk 2314 include/linux/sched.h spin_lock_irqsave(&tsk->sighand->siglock, flags); tsk 2315 include/linux/sched.h ret = dequeue_signal(tsk, mask, info); tsk 2316 include/linux/sched.h spin_unlock_irqrestore(&tsk->sighand->siglock, flags); tsk 2448 include/linux/sched.h extern void __set_task_comm(struct task_struct *tsk, const char *from, bool exec); tsk 2449 include/linux/sched.h static inline void set_task_comm(struct task_struct *tsk, const char *from) tsk 2451 include/linux/sched.h __set_task_comm(tsk, from, false); tsk 2453 include/linux/sched.h extern char *get_task_comm(char *to, struct task_struct *tsk); tsk 2495 include/linux/sched.h static inline int get_nr_threads(struct task_struct *tsk) tsk 2497 include/linux/sched.h return tsk->signal->nr_threads; tsk 2556 include/linux/sched.h extern struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, tsk 2559 include/linux/sched.h static inline struct sighand_struct *lock_task_sighand(struct task_struct *tsk, tsk 2564 include/linux/sched.h ret = __lock_task_sighand(tsk, flags); tsk 2565 include/linux/sched.h (void)__cond_lock(&tsk->sighand->siglock, ret); tsk 2569 include/linux/sched.h static inline void unlock_task_sighand(struct task_struct *tsk, tsk 2572 include/linux/sched.h spin_unlock_irqrestore(&tsk->sighand->siglock, *flags); tsk 2576 include/linux/sched.h static inline void threadgroup_change_begin(struct task_struct *tsk) tsk 2578 include/linux/sched.h down_read(&tsk->signal->group_rwsem); tsk 2580 include/linux/sched.h static inline void threadgroup_change_end(struct task_struct *tsk) tsk 2582 include/linux/sched.h up_read(&tsk->signal->group_rwsem); tsk 2601 include/linux/sched.h static inline void threadgroup_lock(struct task_struct *tsk) tsk 2603 include/linux/sched.h down_write(&tsk->signal->group_rwsem); tsk 2612 include/linux/sched.h static inline void threadgroup_unlock(struct task_struct *tsk) tsk 2614 include/linux/sched.h up_write(&tsk->signal->group_rwsem); tsk 2617 include/linux/sched.h static inline void threadgroup_change_begin(struct task_struct *tsk) {} tsk 2618 include/linux/sched.h static inline void threadgroup_change_end(struct task_struct *tsk) {} tsk 2619 include/linux/sched.h static inline void threadgroup_lock(struct task_struct *tsk) {} tsk 2620 include/linux/sched.h static inline void threadgroup_unlock(struct task_struct *tsk) {} tsk 2677 include/linux/sched.h extern void set_task_stack_end_magic(struct task_struct *tsk); tsk 2682 include/linux/sched.h static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) tsk 2684 include/linux/sched.h set_ti_thread_flag(task_thread_info(tsk), flag); tsk 2687 include/linux/sched.h static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) tsk 2689 include/linux/sched.h clear_ti_thread_flag(task_thread_info(tsk), flag); tsk 2692 include/linux/sched.h static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) tsk 2694 include/linux/sched.h return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); tsk 2697 include/linux/sched.h static inline int test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) tsk 2699 include/linux/sched.h return test_and_clear_ti_thread_flag(task_thread_info(tsk), flag); tsk 2702 include/linux/sched.h static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag) tsk 2704 include/linux/sched.h return test_ti_thread_flag(task_thread_info(tsk), flag); tsk 2707 include/linux/sched.h static inline void set_tsk_need_resched(struct task_struct *tsk) tsk 2709 include/linux/sched.h set_tsk_thread_flag(tsk,TIF_NEED_RESCHED); tsk 2712 include/linux/sched.h static inline void clear_tsk_need_resched(struct task_struct *tsk) tsk 2714 include/linux/sched.h clear_tsk_thread_flag(tsk,TIF_NEED_RESCHED); tsk 2717 include/linux/sched.h static inline int test_tsk_need_resched(struct task_struct *tsk) tsk 2719 include/linux/sched.h return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED)); tsk 2894 include/linux/sched.h void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times); tsk 2895 include/linux/sched.h void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times); tsk 2960 include/linux/sched.h struct task_struct *tsk); tsk 2963 include/linux/sched.h static inline void add_rchar(struct task_struct *tsk, ssize_t amt) tsk 2965 include/linux/sched.h tsk->ioac.rchar += amt; tsk 2968 include/linux/sched.h static inline void add_wchar(struct task_struct *tsk, ssize_t amt) tsk 2970 include/linux/sched.h tsk->ioac.wchar += amt; tsk 2973 include/linux/sched.h static inline void inc_syscr(struct task_struct *tsk) tsk 2975 include/linux/sched.h tsk->ioac.syscr++; tsk 2978 include/linux/sched.h static inline void inc_syscw(struct task_struct *tsk) tsk 2980 include/linux/sched.h tsk->ioac.syscw++; tsk 2983 include/linux/sched.h static inline void add_rchar(struct task_struct *tsk, ssize_t amt) tsk 2987 include/linux/sched.h static inline void add_wchar(struct task_struct *tsk, ssize_t amt) tsk 2991 include/linux/sched.h static inline void inc_syscr(struct task_struct *tsk) tsk 2995 include/linux/sched.h static inline void inc_syscw(struct task_struct *tsk) tsk 3001 include/linux/sched.h #define TASK_SIZE_OF(tsk) TASK_SIZE tsk 3012 include/linux/sched.h static inline unsigned long task_rlimit(const struct task_struct *tsk, tsk 3015 include/linux/sched.h return ACCESS_ONCE(tsk->signal->rlim[limit].rlim_cur); tsk 3018 include/linux/sched.h static inline unsigned long task_rlimit_max(const struct task_struct *tsk, tsk 3021 include/linux/sched.h return ACCESS_ONCE(tsk->signal->rlim[limit].rlim_max); tsk 24 include/linux/sched/rt.h static inline bool tsk_is_pi_blocked(struct task_struct *tsk) tsk 26 include/linux/sched/rt.h return tsk->pi_blocked_on != NULL; tsk 44 include/linux/sched/rt.h static inline bool tsk_is_pi_blocked(struct task_struct *tsk) tsk 86 include/linux/seccomp.h extern void put_seccomp_filter(struct task_struct *tsk); tsk 87 include/linux/seccomp.h extern void get_seccomp_filter(struct task_struct *tsk); tsk 89 include/linux/seccomp.h static inline void put_seccomp_filter(struct task_struct *tsk) tsk 93 include/linux/seccomp.h static inline void get_seccomp_filter(struct task_struct *tsk) tsk 1563 include/linux/security.h int (*file_send_sigiotask) (struct task_struct *tsk, tsk 1838 include/linux/security.h int security_file_send_sigiotask(struct task_struct *tsk, tsk 2320 include/linux/security.h static inline int security_file_send_sigiotask(struct task_struct *tsk, tsk 32 include/linux/sem.h extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk); tsk 33 include/linux/sem.h extern void exit_sem(struct task_struct *tsk); tsk 41 include/linux/sem.h static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) tsk 46 include/linux/sem.h static inline void exit_sem(struct task_struct *tsk) tsk 282 include/linux/signal.h extern void exit_signals(struct task_struct *tsk); tsk 302 include/linux/signal.h int unhandled_signal(struct task_struct *tsk, int sig); tsk 18 include/linux/signalfd.h static inline void signalfd_notify(struct task_struct *tsk, int sig) tsk 20 include/linux/signalfd.h if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) tsk 21 include/linux/signalfd.h wake_up(&tsk->sighand->signalfd_wqh); tsk 28 include/linux/signalfd.h static inline void signalfd_notify(struct task_struct *tsk, int sig) { } tsk 19 include/linux/stacktrace.h extern void save_stack_trace_tsk(struct task_struct *tsk, tsk 32 include/linux/stacktrace.h # define save_stack_trace_tsk(tsk, trace) do { } while (0) tsk 27 include/linux/taskstats_kern.h static inline void taskstats_exit(struct task_struct *tsk, int group_dead) tsk 188 include/linux/tick.h extern void __tick_nohz_task_switch(struct task_struct *tsk); tsk 196 include/linux/tick.h static inline void __tick_nohz_task_switch(struct task_struct *tsk) { } tsk 223 include/linux/tick.h static inline void tick_nohz_task_switch(struct task_struct *tsk) tsk 226 include/linux/tick.h __tick_nohz_task_switch(tsk); tsk 15 include/linux/tsacct_kern.h struct taskstats *stats, struct task_struct *tsk); tsk 19 include/linux/tsacct_kern.h struct taskstats *stats, struct task_struct *tsk) tsk 25 include/linux/tsacct_kern.h extern void acct_update_integrals(struct task_struct *tsk); tsk 26 include/linux/tsacct_kern.h extern void acct_account_cputime(struct task_struct *tsk); tsk 27 include/linux/tsacct_kern.h extern void acct_clear_integrals(struct task_struct *tsk); tsk 31 include/linux/tsacct_kern.h static inline void acct_update_integrals(struct task_struct *tsk) tsk 33 include/linux/tsacct_kern.h static inline void acct_account_cputime(struct task_struct *tsk) tsk 35 include/linux/tsacct_kern.h static inline void acct_clear_integrals(struct task_struct *tsk) tsk 127 include/linux/uprobes.h extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk); tsk 13 include/linux/vmacache.h static inline void vmacache_flush(struct task_struct *tsk) tsk 15 include/linux/vmacache.h memset(tsk->vmacache, 0, sizeof(tsk->vmacache)); tsk 52 include/linux/vtime.h extern void vtime_account_system(struct task_struct *tsk); tsk 53 include/linux/vtime.h extern void vtime_account_idle(struct task_struct *tsk); tsk 54 include/linux/vtime.h extern void vtime_account_user(struct task_struct *tsk); tsk 57 include/linux/vtime.h extern void vtime_account_irq_enter(struct task_struct *tsk); tsk 59 include/linux/vtime.h extern void vtime_common_account_irq_enter(struct task_struct *tsk); tsk 60 include/linux/vtime.h static inline void vtime_account_irq_enter(struct task_struct *tsk) tsk 63 include/linux/vtime.h vtime_common_account_irq_enter(tsk); tsk 70 include/linux/vtime.h static inline void vtime_account_system(struct task_struct *tsk) { } tsk 71 include/linux/vtime.h static inline void vtime_account_user(struct task_struct *tsk) { } tsk 72 include/linux/vtime.h static inline void vtime_account_irq_enter(struct task_struct *tsk) { } tsk 76 include/linux/vtime.h extern void arch_vtime_task_switch(struct task_struct *tsk); tsk 77 include/linux/vtime.h extern void vtime_gen_account_irq_exit(struct task_struct *tsk); tsk 79 include/linux/vtime.h static inline void vtime_account_irq_exit(struct task_struct *tsk) tsk 82 include/linux/vtime.h vtime_gen_account_irq_exit(tsk); tsk 85 include/linux/vtime.h extern void vtime_user_enter(struct task_struct *tsk); tsk 87 include/linux/vtime.h static inline void vtime_user_exit(struct task_struct *tsk) tsk 89 include/linux/vtime.h vtime_account_user(tsk); tsk 91 include/linux/vtime.h extern void vtime_guest_enter(struct task_struct *tsk); tsk 92 include/linux/vtime.h extern void vtime_guest_exit(struct task_struct *tsk); tsk 93 include/linux/vtime.h extern void vtime_init_idle(struct task_struct *tsk, int cpu); tsk 95 include/linux/vtime.h static inline void vtime_account_irq_exit(struct task_struct *tsk) tsk 98 include/linux/vtime.h vtime_account_system(tsk); tsk 100 include/linux/vtime.h static inline void vtime_user_enter(struct task_struct *tsk) { } tsk 101 include/linux/vtime.h static inline void vtime_user_exit(struct task_struct *tsk) { } tsk 102 include/linux/vtime.h static inline void vtime_guest_enter(struct task_struct *tsk) { } tsk 103 include/linux/vtime.h static inline void vtime_guest_exit(struct task_struct *tsk) { } tsk 104 include/linux/vtime.h static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } tsk 108 include/linux/vtime.h extern void irqtime_account_irq(struct task_struct *tsk); tsk 110 include/linux/vtime.h static inline void irqtime_account_irq(struct task_struct *tsk) { } tsk 113 include/linux/vtime.h static inline void account_irq_enter_time(struct task_struct *tsk) tsk 115 include/linux/vtime.h vtime_account_irq_enter(tsk); tsk 116 include/linux/vtime.h irqtime_account_irq(tsk); tsk 119 include/linux/vtime.h static inline void account_irq_exit_time(struct task_struct *tsk) tsk 121 include/linux/vtime.h vtime_account_irq_exit(tsk); tsk 122 include/linux/vtime.h irqtime_account_irq(tsk); tsk 48 include/linux/wait.h #define __WAITQUEUE_INITIALIZER(name, tsk) { \ tsk 49 include/linux/wait.h .private = tsk, \ tsk 53 include/linux/wait.h #define DECLARE_WAITQUEUE(name, tsk) \ tsk 54 include/linux/wait.h wait_queue_t name = __WAITQUEUE_INITIALIZER(name, tsk) tsk 311 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 delay), tsk 313 include/trace/events/sched.h TP_ARGS(__perf_task(tsk), __perf_count(delay)), tsk 322 include/trace/events/sched.h memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN); tsk 323 include/trace/events/sched.h __entry->pid = tsk->pid; tsk 338 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 delay), tsk 339 include/trace/events/sched.h TP_ARGS(tsk, delay)); tsk 346 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 delay), tsk 347 include/trace/events/sched.h TP_ARGS(tsk, delay)); tsk 354 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 delay), tsk 355 include/trace/events/sched.h TP_ARGS(tsk, delay)); tsk 361 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 delay), tsk 362 include/trace/events/sched.h TP_ARGS(tsk, delay)); tsk 370 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime), tsk 372 include/trace/events/sched.h TP_ARGS(tsk, __perf_count(runtime), vruntime), tsk 382 include/trace/events/sched.h memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN); tsk 383 include/trace/events/sched.h __entry->pid = tsk->pid; tsk 395 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, u64 runtime, u64 vruntime), tsk 396 include/trace/events/sched.h TP_ARGS(tsk, runtime, vruntime)); tsk 404 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, int newprio), tsk 406 include/trace/events/sched.h TP_ARGS(tsk, newprio), tsk 416 include/trace/events/sched.h memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN); tsk 417 include/trace/events/sched.h __entry->pid = tsk->pid; tsk 418 include/trace/events/sched.h __entry->oldprio = tsk->prio; tsk 429 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk), tsk 430 include/trace/events/sched.h TP_ARGS(tsk), tsk 438 include/trace/events/sched.h memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN); tsk 439 include/trace/events/sched.h __entry->pid = tsk->pid; tsk 448 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, int src_cpu, int dst_cpu), tsk 450 include/trace/events/sched.h TP_ARGS(tsk, src_cpu, dst_cpu), tsk 463 include/trace/events/sched.h __entry->pid = task_pid_nr(tsk); tsk 464 include/trace/events/sched.h __entry->tgid = task_tgid_nr(tsk); tsk 465 include/trace/events/sched.h __entry->ngid = task_numa_group_id(tsk); tsk 483 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, int src_cpu, int dst_cpu), tsk 485 include/trace/events/sched.h TP_ARGS(tsk, src_cpu, dst_cpu) tsk 489 include/trace/events/sched.h TP_PROTO(struct task_struct *tsk, int src_cpu, int dst_cpu), tsk 491 include/trace/events/sched.h TP_ARGS(tsk, src_cpu, dst_cpu) tsk 111 include/video/uvesafb.h static int uvesafb_exec(struct uvesafb_ktask *tsk);