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

12

/include/linux/
H A Dsignalfd.h18 static inline void signalfd_notify(struct task_struct *tsk, int sig) argument
20 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh)))
21 wake_up(&tsk->sighand->signalfd_wqh);
28 static inline void signalfd_notify(struct task_struct *tsk, int sig) { } argument
H A Dtaskstats_kern.h27 static inline void taskstats_exit(struct task_struct *tsk, int group_dead) argument
H A Dvmacache.h13 static inline void vmacache_flush(struct task_struct *tsk) argument
15 memset(tsk->vmacache, 0, sizeof(tsk->vmacache));
H A Dsem.h32 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk);
33 extern void exit_sem(struct task_struct *tsk);
41 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) argument
46 static inline void exit_sem(struct task_struct *tsk) argument
H A Dtsacct_kern.h15 struct taskstats *stats, struct task_struct *tsk);
19 struct taskstats *stats, struct task_struct *tsk)
25 extern void acct_update_integrals(struct task_struct *tsk);
26 extern void acct_account_cputime(struct task_struct *tsk);
27 extern void acct_clear_integrals(struct task_struct *tsk);
31 static inline void acct_update_integrals(struct task_struct *tsk) argument
33 static inline void acct_account_cputime(struct task_struct *tsk) argument
35 static inline void acct_clear_integrals(struct task_struct *tsk) argument
17 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) argument
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 Dseccomp.h86 extern void put_seccomp_filter(struct task_struct *tsk);
87 extern void get_seccomp_filter(struct task_struct *tsk);
89 static inline void put_seccomp_filter(struct task_struct *tsk) argument
93 static inline void get_seccomp_filter(struct task_struct *tsk) argument
H A Dvtime.h52 extern void vtime_account_system(struct task_struct *tsk);
53 extern void vtime_account_idle(struct task_struct *tsk);
54 extern void vtime_account_user(struct task_struct *tsk);
57 extern void vtime_account_irq_enter(struct task_struct *tsk);
59 extern void vtime_common_account_irq_enter(struct task_struct *tsk);
60 static inline void vtime_account_irq_enter(struct task_struct *tsk) argument
63 vtime_common_account_irq_enter(tsk);
70 static inline void vtime_account_system(struct task_struct *tsk) { } argument
71 static inline void vtime_account_user(struct task_struct *tsk) { } argument
72 static inline void vtime_account_irq_enter(struct task_struct *tsk) { } argument
79 vtime_account_irq_exit(struct task_struct *tsk) argument
87 vtime_user_exit(struct task_struct *tsk) argument
95 vtime_account_irq_exit(struct task_struct *tsk) argument
100 vtime_user_enter(struct task_struct *tsk) argument
101 vtime_user_exit(struct task_struct *tsk) argument
102 vtime_guest_enter(struct task_struct *tsk) argument
103 vtime_guest_exit(struct task_struct *tsk) argument
104 vtime_init_idle(struct task_struct *tsk, int cpu) argument
110 irqtime_account_irq(struct task_struct *tsk) argument
113 account_irq_enter_time(struct task_struct *tsk) argument
119 account_irq_exit_time(struct task_struct *tsk) argument
[all...]
H A Dhw_breakpoint.h50 struct task_struct *tsk);
80 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk);
95 struct task_struct *tsk) { return NULL; }
119 static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } argument
92 register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, struct task_struct *tsk) argument
H A Daio.h40 struct task_struct *tsk; member in union:kiocb::__anon66
67 .ki_obj.tsk = current,
H A Dkernel_stat.h86 static inline void account_process_tick(struct task_struct *tsk, int user) argument
88 vtime_account_user(tsk);
H A Dlsm_audit.h69 struct task_struct *tsk; member in union:common_audit_data::__anon487
H A Dmempolicy.h144 extern void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new,
152 extern bool mempolicy_nodemask_intersects(struct task_struct *tsk,
247 static inline void mpol_rebind_task(struct task_struct *tsk, argument
H A Dptrace.h46 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
47 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
73 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr,
75 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
312 extern void user_single_step_siginfo(struct task_struct *tsk,
315 static inline void user_single_step_siginfo(struct task_struct *tsk, argument
H A Dtick.h188 extern void __tick_nohz_task_switch(struct task_struct *tsk);
196 static inline void __tick_nohz_task_switch(struct task_struct *tsk) { } argument
223 static inline void tick_nohz_task_switch(struct task_struct *tsk) argument
226 __tick_nohz_task_switch(tsk);
H A Dcred.h191 static inline void validate_creds_for_do_exit(struct task_struct *tsk) argument
H A Daudit.h220 static inline kuid_t audit_get_loginuid(struct task_struct *tsk) argument
222 return tsk->loginuid;
225 static inline unsigned int audit_get_sessionid(struct task_struct *tsk) argument
227 return tsk->sessionid;
378 static inline kuid_t audit_get_loginuid(struct task_struct *tsk) argument
382 static inline unsigned int audit_get_sessionid(struct task_struct *tsk) argument
431 static inline bool audit_loginuid_set(struct task_struct *tsk) argument
433 return uid_valid(audit_get_loginuid(tsk));
477 struct task_struct *tsk);
532 struct task_struct *tsk)
531 audit_log_task_info(struct audit_buffer *ab, struct task_struct *tsk) argument
[all...]
H A Dftrace.h792 static inline int task_curr_ret_stack(struct task_struct *tsk) argument
813 static inline void set_tsk_trace_trace(struct task_struct *tsk) argument
815 set_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace);
818 static inline void clear_tsk_trace_trace(struct task_struct *tsk) argument
820 clear_bit(TSK_TRACE_FL_TRACE_BIT, &tsk->trace);
823 static inline int test_tsk_trace_trace(struct task_struct *tsk) argument
825 return tsk->trace & TSK_TRACE_FL_TRACE;
828 static inline void set_tsk_trace_graph(struct task_struct *tsk) argument
830 set_bit(TSK_TRACE_FL_GRAPH_BIT, &tsk->trace);
833 static inline void clear_tsk_trace_graph(struct task_struct *tsk) argument
838 test_tsk_trace_graph(struct task_struct *tsk) argument
[all...]
H A Dperf_event.h722 extern void perf_event_comm(struct task_struct *tsk, bool exec);
723 extern void perf_event_fork(struct task_struct *tsk);
830 static inline void perf_event_comm(struct task_struct *tsk, bool exec) { } argument
831 static inline void perf_event_fork(struct task_struct *tsk) { } argument
H A Dmm.h1189 extern int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm,
1200 static inline int fixup_user_fault(struct task_struct *tsk, argument
1210 extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);
1214 long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
1218 long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
1912 void task_dirty_inc(struct task_struct *tsk);
H A Dblkdev.h1110 static inline void blk_flush_plug(struct task_struct *tsk) argument
1112 struct blk_plug *plug = tsk->plug;
1118 static inline void blk_schedule_flush_plug(struct task_struct *tsk) argument
1120 struct blk_plug *plug = tsk->plug;
1126 static inline bool blk_needs_flush_plug(struct task_struct *tsk) argument
1128 struct blk_plug *plug = tsk->plug;
1659 static inline bool blk_needs_flush_plug(struct task_struct *tsk) argument
H A Dsecurity.h645 * process @tsk. Note that this hook is sometimes called from interrupt.
650 * @tsk contains the structure of task receiving signal.
1321 * Check whether the @tsk process has the @cap capability in the indicated
1327 * Return 0 if the capability is granted for @tsk.
1568 int (*file_send_sigiotask) (struct task_struct *tsk,
1847 int security_file_send_sigiotask(struct task_struct *tsk,
2349 static inline int security_file_send_sigiotask(struct task_struct *tsk, argument
/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
/include/linux/sched/
H A Drt.h24 static inline bool tsk_is_pi_blocked(struct task_struct *tsk) argument
26 return tsk->pi_blocked_on != NULL;
44 static inline bool tsk_is_pi_blocked(struct task_struct *tsk) argument
/include/linux/fsl/bestcomm/
H A Dbestcomm.h68 * @tsk: The BestComm task structure
73 extern void bcom_enable(struct bcom_task *tsk);
77 * @tsk: The BestComm task structure
82 extern void bcom_disable(struct bcom_task *tsk);
87 * @tsk: The BestComm task structure
90 bcom_get_task_irq(struct bcom_task *tsk) { argument
91 return tsk->irq;
101 * @tsk: pointer to task structure
106 _bcom_next_index(struct bcom_task *tsk) argument
108 return ((tsk
117 _bcom_next_outdex(struct bcom_task *tsk) argument
127 bcom_queue_empty(struct bcom_task *tsk) argument
137 bcom_queue_full(struct bcom_task *tsk) argument
148 bcom_get_bd(struct bcom_task *tsk, unsigned int index) argument
160 bcom_buffer_done(struct bcom_task *tsk) argument
177 bcom_prepare_next_buffer(struct bcom_task *tsk) argument
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) argument
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) argument
[all...]

Completed in 651 milliseconds

12