/include/linux/fsl/bestcomm/ |
H A D | bestcomm.h | 68 * @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...] |
H A D | ata.h | 24 extern void bcom_ata_rx_prepare(struct bcom_task *tsk); 25 extern void bcom_ata_tx_prepare(struct bcom_task *tsk); 26 extern void bcom_ata_reset_bd(struct bcom_task *tsk); 27 extern void bcom_ata_release(struct bcom_task *tsk);
|
H A D | gen_bd.h | 30 bcom_gen_bd_rx_reset(struct bcom_task *tsk); 33 bcom_gen_bd_rx_release(struct bcom_task *tsk); 41 bcom_gen_bd_tx_reset(struct bcom_task *tsk); 44 bcom_gen_bd_tx_release(struct bcom_task *tsk);
|
H A D | fec.h | 44 bcom_fec_rx_reset(struct bcom_task *tsk); 47 bcom_fec_rx_release(struct bcom_task *tsk); 54 bcom_fec_tx_reset(struct bcom_task *tsk); 57 bcom_fec_tx_release(struct bcom_task *tsk);
|
/include/linux/ |
H A D | vtime.h | 52 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 D | tsacct_kern.h | 15 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 D | signalfd.h | 18 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 D | delayacct.h | 65 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 D | init_task.h | 19 # define INIT_PUSHABLE_TASKS(tsk) \ 20 .pushable_tasks = PLIST_NODE_INIT(tsk.pushable_tasks, MAX_PRIO), 22 # define INIT_PUSHABLE_TASKS(tsk) 36 #define INIT_CPUSET_SEQ(tsk) \ 37 .mems_allowed_seq = SEQCNT_ZERO(tsk.mems_allowed_seq), 39 #define INIT_CPUSET_SEQ(tsk) 109 #define INIT_TASK_RCU_TREE_PREEMPT(tsk) 112 #define INIT_TASK_RCU_PREEMPT(tsk) \ 115 .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), \ 118 #define INIT_TASK_RCU_PREEMPT(tsk) [all...] |
H A D | sem.h | 32 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 D | vmacache.h | 13 static inline void vmacache_flush(struct task_struct *tsk) argument 15 memset(tsk->vmacache, 0, sizeof(tsk->vmacache));
|
H A D | seccomp.h | 86 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 D | nsproxy.h | 42 * 1. only current task is allowed to change tsk->nsproxy pointer or 44 * when changing 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 D | stacktrace.h | 19 extern void save_stack_trace_tsk(struct task_struct *tsk, 32 # define save_stack_trace_tsk(tsk, trace) do { } while (0)
|
H A D | resource.h | 10 int do_prlimit(struct task_struct *tsk, unsigned int resource,
|
H A D | sched.h | 208 /* in tsk->exit_state */ 212 /* in tsk->state again */ 246 #define __set_task_state(tsk, state_value) \ 247 do { (tsk)->state = (state_value); } while (0) 248 #define set_task_state(tsk, state_value) \ 249 set_mb((tsk)->state, (state_value)) 1523 /* cg_list protected by css_set_lock and tsk->alloc_lock */ 1668 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) 1747 static inline pid_t task_pid_nr(struct task_struct *tsk) argument 1752 task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) argument 1758 task_pid_vnr(struct task_struct *tsk) argument 1764 task_tgid_nr(struct task_struct *tsk) argument 1771 task_tgid_vnr(struct task_struct *tsk) argument 1778 task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) argument 1790 task_ppid_nr(const struct task_struct *tsk) argument 1795 task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) argument 1801 task_pgrp_vnr(struct task_struct *tsk) argument 1807 task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) argument 1813 task_session_vnr(struct task_struct *tsk) argument 1819 task_pgrp_nr(struct task_struct *tsk) argument 1847 is_global_init(struct task_struct *tsk) argument 2301 kick_process(struct task_struct *tsk) argument 2313 dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) argument 2453 set_task_comm(struct task_struct *tsk, const char *from) argument 2499 get_nr_threads(struct task_struct *tsk) argument 2563 lock_task_sighand(struct task_struct *tsk, unsigned long *flags) argument 2573 unlock_task_sighand(struct task_struct *tsk, unsigned long *flags) argument 2580 threadgroup_change_begin(struct task_struct *tsk) argument 2584 threadgroup_change_end(struct task_struct *tsk) argument 2605 threadgroup_lock(struct task_struct *tsk) argument 2616 threadgroup_unlock(struct task_struct *tsk) argument 2621 threadgroup_change_begin(struct task_struct *tsk) argument 2622 threadgroup_change_end(struct task_struct *tsk) argument 2623 threadgroup_lock(struct task_struct *tsk) argument 2624 threadgroup_unlock(struct task_struct *tsk) argument 2686 set_tsk_thread_flag(struct task_struct *tsk, int flag) argument 2691 clear_tsk_thread_flag(struct task_struct *tsk, int flag) argument 2696 test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) argument 2701 test_and_clear_tsk_thread_flag(struct task_struct *tsk, int flag) argument 2706 test_tsk_thread_flag(struct task_struct *tsk, int flag) argument 2711 set_tsk_need_resched(struct task_struct *tsk) argument 2716 clear_tsk_need_resched(struct task_struct *tsk) argument 2721 test_tsk_need_resched(struct task_struct *tsk) argument 2967 add_rchar(struct task_struct *tsk, ssize_t amt) argument 2972 add_wchar(struct task_struct *tsk, ssize_t amt) argument 2977 inc_syscr(struct task_struct *tsk) argument 2982 inc_syscw(struct task_struct *tsk) argument 2987 add_rchar(struct task_struct *tsk, ssize_t amt) argument 2991 add_wchar(struct task_struct *tsk, ssize_t amt) argument 2995 inc_syscr(struct task_struct *tsk) argument 2999 inc_syscw(struct task_struct *tsk) argument 3016 task_rlimit(const struct task_struct *tsk, unsigned int limit) argument 3022 task_rlimit_max(const struct task_struct *tsk, unsigned int limit) argument [all...] |
H A D | taskstats_kern.h | 27 static inline void taskstats_exit(struct task_struct *tsk, int group_dead) argument
|
H A D | hw_breakpoint.h | 50 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 D | tick.h | 188 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 D | kernel_stat.h | 86 static inline void account_process_tick(struct task_struct *tsk, int user) argument 88 vtime_account_user(tsk);
|
H A D | ftrace.h | 792 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 D | aio.h | 40 struct task_struct *tsk; member in union:kiocb::__anon66 67 .ki_obj.tsk = current,
|
/include/asm-generic/ |
H A D | mmu_context.h | 15 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 D | rt.h | 24 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/trace/events/ |
H A D | sched.h | 311 TP_PROTO(struct task_struct *tsk, u64 delay), 313 TP_ARGS(__perf_task(tsk), __perf_count(delay)), 322 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN); 323 __entry->pid = tsk->pid; 338 TP_PROTO(struct task_struct *tsk, u64 delay), 339 TP_ARGS(tsk, delay)); 346 TP_PROTO(struct task_struct *tsk, u64 delay), 347 TP_ARGS(tsk, delay)); 354 TP_PROTO(struct task_struct *tsk, u64 delay), 355 TP_ARGS(tsk, dela [all...] |