Home
last modified time | relevance | path

Searched refs:task_struct (Results 1 – 25 of 125) sorted by relevance

12345

/device/soc/rockchip/common/sdk_linux/include/linux/sched/
Dsignal.h91 struct task_struct *curr_target;
107 struct task_struct *group_exit_task;
270 extern void flush_signals(struct task_struct *);
271 extern void ignore_signals(struct task_struct *);
272 extern void flush_signal_handlers(struct task_struct *, int force_default);
273 extern int dequeue_signal(struct task_struct *task, sigset_t *mask, kernel_siginfo_t *info);
277 struct task_struct *task = current; in kernel_dequeue_signal()
312 struct task_struct *t);
319 struct task_struct *t);
322 int send_sig_mceerr(int code, void __user *, short, struct task_struct *);
[all …]
Dxacct.h12 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 inc_syscfs(struct task_struct *tsk) in inc_syscfs()
37 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
41 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
45 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
49 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
53 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
Dsched.h13 struct task_struct;
15 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
19 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
23 TP_PROTO(int cpu, struct task_struct *p, int *new_cpu),
32 TP_PROTO(struct rq *rq, struct task_struct *p, int flags),
36 TP_PROTO(struct rq *rq, struct task_struct *p, int flags),
40 TP_PROTO(struct task_struct *p, int dst_cpu, int *can_migrate),
44 TP_PROTO(struct task_struct *p, struct cpumask *local_cpu_mask,
49 TP_PROTO(struct task_struct *p),
53 TP_PROTO(struct task_struct *p),
[all …]
Dbinder.h15 struct task_struct;
25 TP_PROTO(struct task_struct *task, bool *skip),
28 TP_PROTO(struct binder_transaction *t, struct task_struct *task),
31 TP_PROTO(struct binder_transaction *t, struct task_struct *task),
36 TP_PROTO(struct task_struct *task, bool sync, struct binder_proc *proc),
42 TP_PROTO(struct task_struct *tsk, struct task_struct *from),
63 TP_PROTO(struct task_struct *caller_task, struct task_struct *binder_proc_task,
64 struct task_struct *binder_th_task, int node_debug_id,
68 TP_PROTO(struct task_struct *caller_task, struct task_struct *binder_proc_task,
69 struct task_struct *binder_th_task, unsigned int code,
[all …]
Dcreds.h15 struct task_struct;
17 TP_PROTO(const struct task_struct *task, const struct cred *new),
21 TP_PROTO(const struct task_struct *task, const struct cred *cred),
25 TP_PROTO(const struct task_struct *task, const struct cred *new),
29 TP_PROTO(const struct task_struct *task, const struct cred *old),
Dsignal.h11 struct task_struct;
13 TP_PROTO(int sig, struct task_struct *killer, struct task_struct *dst),
16 TP_PROTO(struct task_struct *task, bool *reap),
Dcgroup.h11 struct task_struct;
13 TP_PROTO(int ret, struct task_struct *task),
16 TP_PROTO(struct task_struct *p, int *inherit_cpus),
19 TP_PROTO(struct task_struct *tsk, struct cgroup *dst_cgrp, bool *force_migration),
Dfpsimd.h13 struct task_struct;
16 TP_PROTO(struct task_struct *prev, struct task_struct *next),
Dsys.h11 struct task_struct;
13 TP_PROTO(int option, struct task_struct *task),
/device/board/isoftstone/yangfan/kernel/src/incl/treace/hooks/
Dsched.h13 struct task_struct;
15 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
19 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu),
23 TP_PROTO(int cpu, struct task_struct *p, int *new_cpu),
32 TP_PROTO(struct rq *rq, struct task_struct *p, int flags),
36 TP_PROTO(struct rq *rq, struct task_struct *p, int flags),
40 TP_PROTO(struct task_struct *p, int dst_cpu, int *can_migrate),
44 TP_PROTO(struct task_struct *p, struct cpumask *local_cpu_mask,
49 TP_PROTO(struct task_struct *p),
53 TP_PROTO(struct task_struct *p),
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
Dsched.h548 extern void sched_exit(struct task_struct *p);
549 extern int sched_set_init_task_load(struct task_struct *p, int init_load_pct);
550 extern u32 sched_get_init_task_load(struct task_struct *p);
551 extern void free_task_load_ptrs(struct task_struct *p);
590 static inline void sched_exit(struct task_struct *p) in sched_exit()
593 static inline void free_task_load_ptrs(struct task_struct *p) in free_task_load_ptrs()
749 struct task_struct { struct
781 struct task_struct *last_wakee; argument
977 struct task_struct __rcu *real_parent; argument
980 struct task_struct __rcu *parent; argument
[all …]
Dfreezer.h25 static inline bool frozen(struct task_struct *p) in frozen()
30 static inline bool frozen_or_skipped(struct task_struct *p) in frozen_or_skipped()
35 extern bool freezing_slow_path(struct task_struct *p);
40 static inline bool freezing(struct task_struct *p) in freezing()
49 extern void __thaw_task(struct task_struct *t);
78 extern bool freeze_task(struct task_struct *p);
82 extern bool cgroup_freezing(struct task_struct *task);
84 static inline bool cgroup_freezing(struct task_struct *task) in cgroup_freezing()
156 static inline bool freezer_should_skip(struct task_struct *p) in freezer_should_skip()
278 static inline bool frozen(struct task_struct *p) in frozen()
[all …]
Dcpuset.h61 extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask);
62 extern void cpuset_cpus_allowed_fallback(struct task_struct *p);
63 extern nodemask_t cpuset_mems_allowed(struct task_struct *p);
91 extern int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, const struct task_struct
101 extern void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task);
102 …puset_show(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *tsk);
204 static inline void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask) in cpuset_cpus_allowed()
209 static inline void cpuset_cpus_allowed_fallback(struct task_struct *p) in cpuset_cpus_allowed_fallback()
213 static inline nodemask_t cpuset_mems_allowed(struct task_struct *p) in cpuset_mems_allowed()
243 …inline int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, const struct task_struct in cpuset_mems_allowed_intersects()
[all …]
/device/soc/rockchip/rk3588/kernel/include/linux/
Dcpufreq_times.h23 void cpufreq_task_times_init(struct task_struct *p);
24 void cpufreq_task_times_alloc(struct task_struct *p);
25 void cpufreq_task_times_exit(struct task_struct *p);
27 struct pid *pid, struct task_struct *p);
28 void cpufreq_acct_update_power(struct task_struct *p, u64 cputime);
33 static inline void cpufreq_task_times_init(struct task_struct *p) {} in cpufreq_task_times_init()
34 static inline void cpufreq_task_times_alloc(struct task_struct *p) {} in cpufreq_task_times_alloc()
35 static inline void cpufreq_task_times_exit(struct task_struct *p) {} in cpufreq_task_times_exit()
36 static inline void cpufreq_acct_update_power(struct task_struct *p, in cpufreq_acct_update_power()
Dwgcm.h36 extern void wgcm_do_exit(struct task_struct *tsk);
37 extern void wgcm_clear_child(struct task_struct *p);
38 extern void wgcm_activate_task(struct task_struct *p);
39 extern void wgcm_deactivate_task(struct task_struct *p, int flags);
46 static inline void wgcm_do_exit(struct task_struct *tsk) in wgcm_do_exit()
50 static inline void wgcm_clear_child(struct task_struct *p) in wgcm_clear_child()
54 static inline void wgcm_activate_task(struct task_struct *p) in wgcm_activate_task()
58 static inline void wgcm_deactivate_task(struct task_struct *p, int flags) in wgcm_deactivate_task()
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dsched.h94 extern unsigned long uclamp_task_util(struct task_struct *p);
253 static inline int task_has_idle_policy(struct task_struct *p) in task_has_idle_policy()
258 static inline int task_has_rt_policy(struct task_struct *p) in task_has_rt_policy()
263 static inline int task_has_dl_policy(struct task_struct *p) in task_has_dl_policy()
332 void __dl_clear_params(struct task_struct *p);
396 static inline bool dl_task_fits_capacity(struct task_struct *p, int cpu) in dl_task_fits_capacity()
406 extern int sched_dl_overflow(struct task_struct *p, int policy, const struct sched_attr *attr);
407 extern void __setparam_dl(struct task_struct *p, const struct sched_attr *attr);
408 extern void __getparam_dl(struct task_struct *p, struct sched_attr *attr);
410 extern bool dl_param_changed(struct task_struct *p, const struct sched_attr *attr);
[all …]
Dcore.c190 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf) in __task_rq_lock()
215 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf) in task_rq_lock()
486 static bool set_nr_and_not_polling(struct task_struct *p) in set_nr_and_not_polling()
498 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
520 static bool set_nr_and_not_polling(struct task_struct *p) in set_nr_and_not_polling()
527 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
534 static bool __wake_q_add(struct wake_q_head *head, struct task_struct *task) in __wake_q_add()
571 void wake_q_add(struct wake_q_head *head, struct task_struct *task) in wake_q_add()
595 void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task) in wake_q_add_safe()
607 struct task_struct *task; in wake_up_q()
[all …]
Drt.c124 static inline struct task_struct *rt_task_of(struct sched_rt_entity *rt_se) in rt_task_of()
129 return container_of(rt_se, struct task_struct, rt); in rt_task_of()
245 static inline struct task_struct *rt_task_of(struct sched_rt_entity *rt_se) in rt_task_of()
247 return container_of(rt_se, struct task_struct, rt); in rt_task_of()
257 struct task_struct *p = rt_task_of(rt_se); in rq_of_rt_se()
283 static inline bool need_pull_rt_task(struct rq *rq, struct task_struct *prev) in need_pull_rt_task()
343 struct task_struct *p; in inc_rt_migration()
362 struct task_struct *p; in dec_rt_migration()
404 static void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task()
416 static void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task()
[all …]
Dfair.c28 static void walt_fixup_sched_stats_fair(struct rq *rq, struct task_struct *p, u16 updated_demand_sc…
33 static void walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p);
34 static void walt_dec_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p);
41 static inline void walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p) in walt_inc_cfs_rq_stats()
44 static inline void walt_dec_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p) in walt_dec_cfs_rq_stats()
300 static inline struct task_struct *task_of(struct sched_entity *se) in task_of()
303 return container_of(se, struct task_struct, se); in task_of()
309 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
485 static inline struct task_struct *task_of(struct sched_entity *se) in task_of()
487 return container_of(se, struct task_struct, se); in task_of()
[all …]
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/
Dprocess.c336 void release_thread(struct task_struct *dead_task) in release_thread()
340 void arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
345 int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src) in arch_dup_task_struct()
375 …(unsigned long clone_flags, unsigned long stack_start, unsigned long stk_sz, struct task_struct *p, in copy_thread()
448 static void tls_thread_switch(struct task_struct *next) in tls_thread_switch()
462 void uao_thread_switch(struct task_struct *next) in uao_thread_switch()
477 static void ssbs_thread_switch(struct task_struct *next) in ssbs_thread_switch()
505 DEFINE_PER_CPU(struct task_struct *, __entry_task);
507 static void entry_task_switch(struct task_struct *next) in entry_task_switch()
519 static void erratum_1418040_thread_switch(struct task_struct *next) in erratum_1418040_thread_switch()
[all …]
/device/soc/rockchip/common/sdk_linux/include/trace/events/
Dsched.h23 TP_PROTO(struct task_struct *t),
53 TP_PROTO(struct task_struct *p),
72 DEFINE_EVENT(sched_wakeup_template, sched_waking, TP_PROTO(struct task_struct *p), TP_ARGS(p));
78 DEFINE_EVENT(sched_wakeup_template, sched_wakeup, TP_PROTO(struct task_struct *p), TP_ARGS(p));
83 DEFINE_EVENT(sched_wakeup_template, sched_wakeup_new, TP_PROTO(struct task_struct *p), TP_ARGS(p));
86 static inline long trace_sched_switch_state(bool preempt, struct task_struct *p) in trace_sched_switch_state()
119 TP_PROTO(bool preempt, struct task_struct *prev, struct task_struct *next),
152 TP_PROTO(struct task_struct *p, int dest_cpu),
169 TP_PROTO(struct task_struct *p),
184 DEFINE_EVENT(sched_process_template, sched_process_free, TP_PROTO(struct task_struct *p), TP_ARGS(p…
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_task.c29 struct task_struct *k = NULL; in osal_kthread_create()
44 p->task_struct = k; in osal_kthread_create()
57 kthread_stop ((struct task_struct *)(task->task_struct)); in osal_kthread_destroy()
59 task->task_struct = NULL; in osal_kthread_destroy()
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/
Dlegacy_freezer.c55 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
65 bool cgroup_freezing(struct task_struct *task) in cgroup_freezing()
163 struct task_struct *task; in freezer_attach()
207 static void freezer_fork(struct task_struct *task) in freezer_fork()
255 struct task_struct *task; in update_if_frozen()
330 struct task_struct *task; in freeze_cgroup()
342 struct task_struct *task; in unfreeze_cgroup()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/
Dvmap_stack.h81 extern void aml_stack_free(struct task_struct *tsk);
82 extern void *aml_stack_alloc(int node, struct task_struct *tsk);
83 extern void aml_account_task_stack(struct task_struct *tsk, int account);
/device/soc/rockchip/common/sdk_linux/kernel/power/
Dprocess.c37 struct task_struct *g, *p; in try_to_freeze_tasks()
210 struct task_struct *g, *p; in thaw_processes()
211 struct task_struct *curr = current; in thaw_processes()
250 struct task_struct *g, *p; in thaw_kernel_threads()

12345