Searched defs:tsk (Results 1 - 23 of 23) sorted by relevance

/include/linux/
H A Dtaskstats_kern.h27 static inline void taskstats_exit(struct task_struct *tsk, int group_dead) argument
H A Dtsacct_kern.h13 extern void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk);
15 static inline void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk) argument
21 extern void acct_update_integrals(struct task_struct *tsk);
22 extern void acct_clear_integrals(struct task_struct *tsk);
26 static inline void acct_update_integrals(struct task_struct *tsk) argument
28 static inline void acct_clear_integrals(struct task_struct *tsk) argument
H A Dnsproxy.h38 * 1. only current task is allowed to change tsk->nsproxy pointer or
46 * nsproxy = task_nsproxy(tsk);
60 static inline struct nsproxy *task_nsproxy(struct task_struct *tsk) argument
62 return rcu_dereference(tsk->nsproxy);
65 int copy_namespaces(unsigned long flags, struct task_struct *tsk);
66 void exit_task_namespaces(struct task_struct *tsk);
67 void switch_task_namespaces(struct task_struct *tsk, struct nsproxy *new);
H A Ddelayacct.h65 static inline void delayacct_tsk_init(struct task_struct *tsk) argument
68 tsk->delays = NULL;
70 __delayacct_tsk_init(tsk);
73 /* Free tsk->delays. Called from bad fork and __put_task_struct
74 * where there's no risk of tsk->delays being accessed elsewhere
76 static inline void delayacct_tsk_free(struct task_struct *tsk) argument
78 if (tsk->delays)
79 kmem_cache_free(delayacct_cache, tsk->delays);
80 tsk->delays = NULL;
98 struct task_struct *tsk)
97 delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) argument
105 delayacct_blkio_ticks(struct task_struct *tsk) argument
131 delayacct_tsk_init(struct task_struct *tsk) argument
133 delayacct_tsk_free(struct task_struct *tsk) argument
139 delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) argument
142 delayacct_blkio_ticks(struct task_struct *tsk) argument
[all...]
H A Dsignalfd.h58 static inline void signalfd_notify(struct task_struct *tsk, int sig) argument
60 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh)))
61 wake_up(&tsk->sighand->signalfd_wqh);
68 static inline void signalfd_notify(struct task_struct *tsk, int sig) { } argument
H A Dhw_breakpoint.h77 struct task_struct *tsk);
107 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk);
122 struct task_struct *tsk) { return NULL; }
146 static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } argument
119 register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, struct task_struct *tsk) argument
H A Dutsname.h65 struct task_struct *tsk);
82 struct task_struct *tsk)
87 return tsk->nsproxy->uts_ns;
81 copy_utsname(unsigned long flags, struct task_struct *tsk) argument
H A Dhardirq.h135 static inline void account_system_vtime(struct task_struct *tsk) argument
139 extern void account_system_vtime(struct task_struct *tsk);
H A Dipc_namespace.h104 struct task_struct *tsk);
115 struct task_struct *tsk)
120 return tsk->nsproxy->ipc_ns;
114 copy_ipcs(unsigned long flags, struct task_struct *tsk) argument
H A Dlsm_audit.h56 struct task_struct *tsk; member in struct:common_audit_data
64 struct task_struct *tsk; member in union:common_audit_data::__anon726
H A Dsem.h105 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk);
106 extern void exit_sem(struct task_struct *tsk);
114 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) argument
119 static inline void exit_sem(struct task_struct *tsk) argument
H A Dcred.h204 static inline void validate_creds_for_do_exit(struct task_struct *tsk) argument
H A Daio.h101 struct task_struct *tsk; member in union:kiocb::__anon126
132 struct task_struct *tsk = current; \
141 (x)->ki_obj.tsk = tsk; \
H A Dmempolicy.h202 struct mempolicy *get_vma_policy(struct task_struct *tsk,
207 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new,
216 extern bool mempolicy_nodemask_intersects(struct task_struct *tsk,
323 static inline void mpol_rebind_task(struct task_struct *tsk, argument
351 static inline bool mempolicy_nodemask_intersects(struct task_struct *tsk, argument
H A Dptrace.h116 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
117 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
146 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr,
148 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
357 extern void user_single_step_siginfo(struct task_struct *tsk,
360 static inline void user_single_step_siginfo(struct task_struct *tsk, argument
408 extern int ptrace_get_breakpoints(struct task_struct *tsk);
409 extern void ptrace_put_breakpoints(struct task_struct *tsk);
411 static inline void ptrace_put_breakpoints(struct task_struct *tsk) { } argument
H A Dftrace.h616 static inline int task_curr_ret_stack(struct task_struct *tsk) argument
637 static inline void set_tsk_trace_trace(struct task_struct *tsk) argument
639 set_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace);
642 static inline void clear_tsk_trace_trace(struct task_struct *tsk) argument
644 clear_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace);
647 static inline int test_tsk_trace_trace(struct task_struct *tsk) argument
649 return tsk->trace & TSK_TRACE_FL_TRACE;
652 static inline void set_tsk_trace_graph(struct task_struct *tsk) argument
654 set_bit(TSK_TRACE_FL_GRAPH_BIT, &tsk->trace);
657 static inline void clear_tsk_trace_graph(struct task_struct *tsk) argument
662 test_tsk_trace_graph(struct task_struct *tsk) argument
[all...]
H A Dmm.h967 extern int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm,
978 static inline int fixup_user_fault(struct task_struct *tsk, argument
989 extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);
993 int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
997 int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
1422 void task_dirty_inc(struct task_struct *tsk);
H A Dtty.h555 extern int tty_audit_push_task(struct task_struct *tsk,
574 static inline int tty_audit_push_task(struct task_struct *tsk, argument
H A Dblkdev.h906 static inline void blk_flush_plug(struct task_struct *tsk) argument
908 struct blk_plug *plug = tsk->plug;
914 static inline void blk_schedule_flush_plug(struct task_struct *tsk) argument
916 struct blk_plug *plug = tsk->plug;
922 static inline bool blk_needs_flush_plug(struct task_struct *tsk) argument
924 struct blk_plug *plug = tsk->plug;
1414 static inline bool blk_needs_flush_plug(struct task_struct *tsk) argument
H A Dperf_event.h1228 extern void perf_event_comm(struct task_struct *tsk);
1229 extern void perf_event_fork(struct task_struct *tsk);
1323 static inline void perf_event_comm(struct task_struct *tsk) { } argument
1324 static inline void perf_event_fork(struct task_struct *tsk) { } argument
H A Dsecurity.h628 * process @tsk. Note that this hook is sometimes called from interrupt.
633 * @tsk contains the structure of task receiving signal.
1269 * Check whether the @tsk process has the @cap capability in the indicated
1275 * Return 0 if the capability is granted for @tsk.
1497 int (*file_send_sigiotask) (struct task_struct *tsk,
1756 int security_file_send_sigiotask(struct task_struct *tsk,
2218 static inline int security_file_send_sigiotask(struct task_struct *tsk, argument
H A Dsched.h187 /* in tsk->exit_state */
190 /* in tsk->state again */
224 #define __set_task_state(tsk, state_value) \
225 do { (tsk)->state = (state_value); } while (0)
226 #define set_task_state(tsk, state_value) \
227 set_mb((tsk)->state, (state_value))
1535 /* cg_list protected by css_set_lock and tsk->alloc_lock */
1623 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
1699 static inline pid_t task_pid_nr(struct task_struct *tsk) argument
1704 task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) argument
1710 task_pid_vnr(struct task_struct *tsk) argument
1716 task_tgid_nr(struct task_struct *tsk) argument
1723 task_tgid_vnr(struct task_struct *tsk) argument
1729 task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) argument
1735 task_pgrp_vnr(struct task_struct *tsk) argument
1741 task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) argument
1747 task_session_vnr(struct task_struct *tsk) argument
1753 task_pgrp_nr(struct task_struct *tsk) argument
1777 is_global_init(struct task_struct *tsk) argument
2097 tsk_is_pi_blocked(struct task_struct *tsk) argument
2107 tsk_is_pi_blocked(struct task_struct *tsk) argument
2202 kick_process(struct task_struct *tsk) argument
2214 dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) argument
2365 get_nr_threads(struct task_struct *tsk) argument
2429 lock_task_sighand(struct task_struct *tsk, unsigned long *flags) argument
2439 unlock_task_sighand(struct task_struct *tsk, unsigned long *flags) argument
2446 threadgroup_change_begin(struct task_struct *tsk) argument
2450 threadgroup_change_end(struct task_struct *tsk) argument
2475 threadgroup_lock(struct task_struct *tsk) argument
2491 threadgroup_unlock(struct task_struct *tsk) argument
2497 threadgroup_change_begin(struct task_struct *tsk) argument
2498 threadgroup_change_end(struct task_struct *tsk) argument
2499 threadgroup_lock(struct task_struct *tsk) argument
2500 threadgroup_unlock(struct task_struct *tsk) argument
2546 set_tsk_thread_flag(struct task_struct *tsk, int flag) argument
2551 clear_tsk_thread_flag(struct task_struct *tsk, int flag) argument
2556 test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) argument
2561 test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) argument
2566 test_tsk_thread_flag(struct task_struct *tsk, int flag) argument
2571 set_tsk_need_resched(struct task_struct *tsk) argument
2576 clear_tsk_need_resched(struct task_struct *tsk) argument
2581 test_tsk_need_resched(struct task_struct *tsk) argument
2748 add_rchar(struct task_struct *tsk, ssize_t amt) argument
2753 add_wchar(struct task_struct *tsk, ssize_t amt) argument
2758 inc_syscr(struct task_struct *tsk) argument
2763 inc_syscw(struct task_struct *tsk) argument
2768 add_rchar(struct task_struct *tsk, ssize_t amt) argument
2772 add_wchar(struct task_struct *tsk, ssize_t amt) argument
2776 inc_syscr(struct task_struct *tsk) argument
2780 inc_syscw(struct task_struct *tsk) argument
2802 task_rlimit(const struct task_struct *tsk, unsigned int limit) argument
2808 task_rlimit_max(const struct task_struct *tsk, unsigned int limit) argument
[all...]
/include/asm-generic/
H A Dmmu_context.h15 struct task_struct *tsk)
19 static inline int init_new_context(struct task_struct *tsk, argument
36 struct task_struct *tsk)
14 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument
34 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument

Completed in 7556 milliseconds