Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 55) sorted by relevance

123

/kernel/sched/
Dtune.h32 #define schedtune_exit_task(task) do { } while (0) argument
34 #define schedtune_enqueue_task(task, cpu) do { } while (0) argument
35 #define schedtune_dequeue_task(task, cpu) do { } while (0) argument
48 #define schedtune_exit_task(task) do { } while (0) argument
50 #define schedtune_enqueue_task(task, cpu) do { } while (0) argument
51 #define schedtune_dequeue_task(task, cpu) do { } while (0) argument
53 #define schedtune_accept_deltas(nrg_delta, cap_delta, task) nrg_delta argument
Dtune.c169 struct task_struct *task) in schedtune_accept_deltas()
374 struct task_struct *task; in schedtune_can_attach() local
748 struct task_struct *task) in schedtune_accept_deltas()
/kernel/locking/
Drtmutex-debug.c58 void rt_mutex_debug_task_free(struct task_struct *task) in rt_mutex_debug_task_free()
73 struct task_struct *task; in debug_rt_mutex_deadlock() local
87 struct task_struct *task; in debug_rt_mutex_print_deadlock() local
177 rt_mutex_deadlock_account_lock(struct rt_mutex *lock, struct task_struct *task) in rt_mutex_deadlock_account_lock()
181 void rt_mutex_deadlock_account_unlock(struct task_struct *task) in rt_mutex_deadlock_account_unlock()
Drtmutex.c284 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi()
310 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi()
328 int rt_mutex_getprio(struct task_struct *task) in rt_mutex_getprio()
337 struct task_struct *rt_mutex_get_top_task(struct task_struct *task) in rt_mutex_get_top_task()
349 int rt_mutex_get_effective_prio(struct task_struct *task, int newprio) in rt_mutex_get_effective_prio()
364 static void __rt_mutex_adjust_prio(struct task_struct *task) in __rt_mutex_adjust_prio()
381 void rt_mutex_adjust_prio(struct task_struct *task) in rt_mutex_adjust_prio()
489 static int rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain()
849 static int try_to_take_rt_mutex(struct rt_mutex *lock, struct task_struct *task, in try_to_take_rt_mutex()
973 struct task_struct *task, in task_blocks_on_rt_mutex()
[all …]
Dmutex-debug.c52 struct task_struct *task) in debug_mutex_add_waiter()
61 struct task_struct *task) in mutex_remove_waiter()
Dsemaphore.c195 struct task_struct *task; member
207 struct task_struct *task = current; in __down_common() local
Dmutex.h16 #define mutex_remove_waiter(lock, waiter, task) \ argument
Dmutex.c309 struct task_struct *task = current; in mutex_optimistic_spin() local
509 struct task_struct *task = current; in __mutex_lock_common() local
/kernel/
Dcgroup_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()
160 struct task_struct *task; in freezer_attach() local
203 static void freezer_fork(struct task_struct *task) in freezer_fork()
249 struct task_struct *task; in update_if_frozen() local
321 struct task_struct *task; in freeze_cgroup() local
332 struct task_struct *task; in unfreeze_cgroup() local
Dtask_work.c27 task_work_add(struct task_struct *task, struct callback_head *work, bool notify) in task_work_add()
55 task_work_cancel(struct task_struct *task, task_work_func_t func) in task_work_cancel()
91 struct task_struct *task = current; in task_work_run() local
Dcgroup_pids.c174 struct task_struct *task; in pids_can_attach() local
199 struct task_struct *task; in pids_cancel_attach() local
219 static int pids_can_fork(struct task_struct *task) in pids_can_fork()
240 static void pids_cancel_fork(struct task_struct *task) in pids_cancel_fork()
250 static void pids_free(struct task_struct *task) in pids_free()
Dpid.c391 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
397 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
417 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
422 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
466 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
522 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
Dptrace.c165 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced()
183 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced()
268 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access()
331 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access()
340 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach()
852 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
Dkthread.c136 void *kthread_data(struct task_struct *task) in kthread_data()
150 void *kthread_probe_data(struct task_struct *task) in kthread_probe_data()
255 struct task_struct *task; in __kthread_create_on_node() local
334 struct task_struct *task; in kthread_create_on_node() local
641 struct task_struct *task; in __kthread_create_worker() local
1144 struct task_struct *task; in kthread_destroy_worker() local
Dcred.c187 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred()
245 struct task_struct *task = current; in prepare_creds() local
424 struct task_struct *task = current; in commit_creds() local
Dcpuset.c143 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
154 static inline bool task_has_mempolicy(struct task_struct *task) in task_has_mempolicy()
159 static inline bool task_has_mempolicy(struct task_struct *task) in task_has_mempolicy()
862 struct task_struct *task; in update_tasks_cpumask() local
1095 struct task_struct *task; in update_tasks_nodemask() local
1302 struct task_struct *task; in update_tasks_flags() local
1468 struct task_struct *task; in cpuset_can_attach() local
1527 struct task_struct *task; in cpuset_attach() local
2100 static void cpuset_fork(struct task_struct *task) in cpuset_fork()
2775 void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) in cpuset_task_status_allowed()
Dfork.c975 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file()
1000 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm()
1017 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access()
1453 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
1909 struct task_struct *task; in fork_idle() local
2316 struct task_struct *task = current; in unshare_files() local
Dseccomp.c72 struct task_struct *task = current; in populate_seccomp_data() local
217 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode()
847 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter()
Dpid_namespace.c207 struct task_struct *task, *me = current; in zap_pid_ns_processes() local
361 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get()
Dcgroup.c742 static void css_set_move_task(struct task_struct *task, in css_set_move_task()
1286 static struct cgroup *task_cgroup_from_root(struct task_struct *task, in task_cgroup_from_root()
2366 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path()
2433 static void cgroup_taskset_add(struct task_struct *task, in cgroup_taskset_add()
2488 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() local
2536 struct task_struct *task, *tmp_task; in cgroup_taskset_migrate() local
2780 struct task_struct *task; in cgroup_migrate() local
2813 struct task_struct *task; in cgroup_attach_task() local
2845 static int cgroup_procs_write_permission(struct task_struct *task, in cgroup_procs_write_permission()
3109 struct task_struct *task, *ntask; in cgroup_update_dfl_csses() local
[all …]
Dworkqueue_internal.h38 struct task_struct *task; /* I: worker task */ member
Dutsname.c122 static struct ns_common *utsns_get(struct task_struct *task) in utsns_get()
Dprofile.c138 void profile_task_exit(struct task_struct *task) in profile_task_exit()
143 int profile_handoff_task(struct task_struct *task) in profile_handoff_task()
/kernel/bpf/
Dhelpers.c109 struct task_struct *task = current; in BPF_CALL_0() local
125 struct task_struct *task = current; in BPF_CALL_0() local
145 struct task_struct *task = current; in BPF_CALL_2() local
/kernel/events/
Dcore.c248 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local
302 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local
667 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp()
695 static void perf_cgroup_switch(struct task_struct *task, int mode) in perf_cgroup_switch()
758 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out()
785 struct task_struct *task) in perf_cgroup_sched_in()
950 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out()
956 struct task_struct *task) in perf_cgroup_sched_in()
968 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp()
974 perf_cgroup_switch(struct task_struct *task, struct task_struct *next) in perf_cgroup_switch()
[all …]

123