| /kernel/ |
| A D | kprobes.c | 381 struct kprobe *p; in get_kprobe() local 496 struct kprobe *p = NULL; in get_optimized_kprobe() local 886 struct kprobe *p; in optimize_all_kprobes() local 910 struct kprobe *p; in unoptimize_all_kprobes() local 2367 struct kprobe *p; in disable_kprobe() local 2382 struct kprobe *p; in enable_kprobe() local 2590 struct kprobe *p; in kprobes_module_callback() local 2654 struct kprobe *p; in kprobe_free_init_mem() local 2782 struct kprobe *p, *kp; in show_kprobe_addr() local 2858 struct kprobe *p; in arm_all_kprobes() local [all …]
|
| A D | freezer.c | 38 bool freezing_slow_path(struct task_struct *p) in freezing_slow_path() 56 bool frozen(struct task_struct *p) in frozen() 98 static void fake_signal_wake_up(struct task_struct *p) in fake_signal_wake_up() 108 static int __set_task_frozen(struct task_struct *p, void *arg) in __set_task_frozen() 146 static bool __freeze_task(struct task_struct *p) in __freeze_task() 163 bool freeze_task(struct task_struct *p) in freeze_task() 189 static int __restore_freezer_state(struct task_struct *p, void *arg) in __restore_freezer_state() 202 void __thaw_task(struct task_struct *p) in __thaw_task()
|
| A D | exit.c | 244 void release_task(struct task_struct *p) in release_task() 355 struct task_struct *p; in will_become_orphaned_pgrp() local 384 struct task_struct *p; in has_stopped_jobs() local 490 struct task_struct *g, *p = current; in mm_update_next_owner() local 605 struct task_struct *p, *n; in find_child_reaper() local 701 struct task_struct *p, *t, *reaper; in forget_original_parent() local 740 struct task_struct *p, *n; in exit_notify() local 1438 struct task_struct *p) in wait_consider_task() 1551 struct task_struct *p; in do_wait_thread() local 1565 struct task_struct *p; in ptrace_do_wait() local [all …]
|
| /kernel/sched/ |
| A D | syscalls.c | 40 static inline int normal_prio(struct task_struct *p) in normal_prio() 52 static int effective_prio(struct task_struct *p) in effective_prio() 191 int task_prio(const struct task_struct *p) in task_prio() 271 struct task_struct *p; in find_get_task() local 513 int __sched_setscheduler(struct task_struct *p, in __sched_setscheduler() 842 void sched_set_fifo(struct task_struct *p) in sched_set_fifo() 852 void sched_set_fifo_low(struct task_struct *p) in sched_set_fifo_low() 1014 struct task_struct *p; in SYSCALL_DEFINE1() local 1045 struct task_struct *p; in SYSCALL_DEFINE2() local 1081 struct task_struct *p; in SYSCALL_DEFINE4() local [all …]
|
| A D | ext.h | 56 static inline bool task_on_scx(const struct task_struct *p) in task_on_scx() 69 static inline void scx_pre_fork(struct task_struct *p) {} in scx_pre_fork() 70 static inline int scx_fork(struct task_struct *p) { return 0; } in scx_fork() 71 static inline void scx_post_fork(struct task_struct *p) {} in scx_post_fork() 72 static inline void scx_cancel_fork(struct task_struct *p) {} in scx_cancel_fork() 77 static inline int scx_check_setscheduler(struct task_struct *p, int policy) { return 0; } in scx_check_setscheduler() 78 static inline bool task_on_scx(const struct task_struct *p) { return false; } in task_on_scx() 79 static inline bool scx_allow_ttwu_queue(const struct task_struct *p) { return true; } in scx_allow_ttwu_queue() 113 static inline void scx_cgroup_move_task(struct task_struct *p) {} in scx_cgroup_move_task()
|
| A D | autogroup.c | 73 static inline struct autogroup *autogroup_task_get(struct task_struct *p) in autogroup_task_get() 131 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup() 149 void sched_autogroup_exit_task(struct task_struct *p) in sched_autogroup_exit_task() 160 autogroup_move_group(struct task_struct *p, struct autogroup *ag) in autogroup_move_group() 195 void sched_autogroup_create_attach(struct task_struct *p) in sched_autogroup_create_attach() 207 void sched_autogroup_detach(struct task_struct *p) in sched_autogroup_detach() 233 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() 271 void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m) in proc_sched_autogroup_show_task()
|
| A D | ext.c | 1616 struct task_struct *p; in scx_task_iter_next_locked() local 2828 struct task_struct *p; in consume_dispatch_q() local 3221 struct task_struct *p; in process_ddsp_deferred_locals() local 3401 struct task_struct *p; in pick_task_scx() local 3642 struct task_struct *p; in check_rq_for_timeouts() local 4150 struct task_struct *p; in scx_cgroup_can_attach() local 4227 struct task_struct *p; in scx_cgroup_cancel_attach() local 4945 struct task_struct *p; in scx_disable_workfn() local 5300 struct task_struct *p; in scx_dump_state() local 5567 struct task_struct *p; in scx_enable() local [all …]
|
| A D | core_sched.c | 55 static unsigned long sched_core_update_cookie(struct task_struct *p, in sched_core_update_cookie() 101 static unsigned long sched_core_clone_cookie(struct task_struct *p) in sched_core_clone_cookie() 112 void sched_core_fork(struct task_struct *p) in sched_core_fork() 118 void sched_core_free(struct task_struct *p) in sched_core_free() 123 static void __sched_core_set(struct task_struct *p, unsigned long cookie) in __sched_core_set() 135 struct task_struct *task, *p; in sched_core_share_pid() local 247 struct task_struct *p; in __sched_core_account_forceidle() local
|
| A D | core.c | 364 struct task_struct *p; in sched_core_find() local 1864 struct task_struct *p; in uclamp_update_active_tasks() local 1895 struct task_struct *g, *p; in uclamp_sync_util_min_rt_default() local 3824 struct task_struct *p, *t; in sched_ttwu_pending() local 5985 struct task_struct *p; in __pick_next_task() local 6056 struct task_struct *p; in pick_task() local 6306 struct task_struct *p; in try_steal_cookie() local 6651 struct task_struct *p; in find_proxy_task() local 7964 struct task_struct *g, *p; in show_state_filter() local 8580 struct task_struct *g, *p; in dump_rq_tasks() local [all …]
|
| A D | deadline.c | 445 struct task_struct *p = dl_task_of(dl_se); in task_non_contending() local 1229 struct task_struct *p; in dl_task_timer() local 1748 struct task_struct *p = NULL; in inactive_task_timer() local 1923 struct task_struct *p = dl_task_of(dl_se); in update_stats_dequeue_dl() local 2379 struct task_struct *p; in __pick_task_dl() local 2452 static void task_fork_dl(struct task_struct *p) in task_fork_dl() 2469 struct task_struct *p = NULL; in pick_earliest_pushable_dl_task() local 2634 struct task_struct *p; in pick_next_pushable_dl_task() local 2739 struct task_struct *p, *push_task; in pull_dl_task() local 2842 static void set_cpus_allowed_dl(struct task_struct *p, in set_cpus_allowed_dl() [all …]
|
| A D | stop_task.c | 13 select_task_rq_stop(struct task_struct *p, int cpu, int flags) in select_task_rq_stop() 25 wakeup_preempt_stop(struct rq *rq, struct task_struct *p, int flags) in wakeup_preempt_stop() 44 enqueue_task_stop(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_stop() 50 dequeue_task_stop(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_stop() 78 static void switched_to_stop(struct rq *rq, struct task_struct *p) in switched_to_stop() 84 prio_changed_stop(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_stop()
|
| A D | membarrier.c | 271 struct task_struct *p; in membarrier_global_expedited() local 365 struct task_struct *p; in membarrier_private_expedited() local 381 struct task_struct *p; in membarrier_private_expedited() local 480 struct task_struct *p; in sync_runqueues_membarrier_state() local 498 struct task_struct *p = current; in membarrier_register_global_expedited() local 517 struct task_struct *p = current; in membarrier_register_private_expedited() local 559 struct task_struct *p = current; in membarrier_get_registrations() local
|
| A D | rt.c | 311 struct task_struct *p = rt_task_of(rt_se); in rq_of_rt_se() local 572 struct task_struct *p; in rt_se_boosted() local 1236 struct task_struct *p = NULL; in update_stats_wait_start_rt() local 1255 struct task_struct *p = NULL; in update_stats_enqueue_sleeper_rt() local 1285 struct task_struct *p = NULL; in update_stats_wait_end_rt() local 1304 struct task_struct *p = NULL; in update_stats_dequeue_rt() local 1700 struct task_struct *p; in pick_task_rt() local 1742 struct task_struct *p; in pick_highest_pushable_task() local 1850 struct task_struct *p; in pick_next_pushable_task() local 2233 struct task_struct *p, *push_task; in pull_rt_task() local [all …]
|
| A D | fair.c | 1266 struct task_struct *p = NULL; in update_stats_wait_start_fair() local 1283 struct task_struct *p = NULL; in update_stats_wait_end_fair() local 2046 struct task_struct *p; member 4832 struct task_struct *p) in util_est_enqueue() 4848 struct task_struct *p) in util_est_dequeue() 4866 struct task_struct *p, in util_est_update() 8774 struct task_struct *p; in pick_next_task_fair() local 9415 struct task_struct *p; in detach_one_task() local 9448 struct task_struct *p; in detach_tasks() local 9612 struct task_struct *p; in attach_tasks() local [all …]
|
| A D | cputime.c | 103 static inline void task_group_account_field(struct task_struct *p, int index, in task_group_account_field() 122 void account_user_time(struct task_struct *p, u64 cputime) in account_user_time() 144 void account_guest_time(struct task_struct *p, u64 cputime) in account_guest_time() 169 void account_system_index_time(struct task_struct *p, in account_system_index_time() 241 void __account_forceidle_time(struct task_struct *p, u64 delta) in __account_forceidle_time() 377 static void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick() 451 void task_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in task_cputime_adjusted() 458 void thread_group_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in thread_group_cputime_adjusted() 475 void account_process_tick(struct task_struct *p, int user_tick) in account_process_tick() 624 void task_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in task_cputime_adjusted() [all …]
|
| A D | stats.h | 85 # define __update_stats_wait_start(rq, p, stats) do { } while (0) argument 86 # define __update_stats_wait_end(rq, p, stats) do { } while (0) argument 87 # define __update_stats_enqueue_sleeper(rq, p, stats) do { } while (0) argument 130 static inline void psi_enqueue(struct task_struct *p, int flags) in psi_enqueue() 169 static inline void psi_dequeue(struct task_struct *p, int flags) in psi_dequeue() 194 static inline void psi_ttwu_dequeue(struct task_struct *p) in psi_ttwu_dequeue() 224 static inline void psi_enqueue(struct task_struct *p, bool migrate) {} in psi_enqueue() 225 static inline void psi_dequeue(struct task_struct *p, bool migrate) {} in psi_dequeue() 226 static inline void psi_ttwu_dequeue(struct task_struct *p) {} in psi_ttwu_dequeue()
|
| A D | cpupri.c | 68 static inline int __cpupri_find(struct cpupri *cp, struct task_struct *p, in __cpupri_find() 122 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find() 145 int cpupri_find_fitness(struct cpupri *cp, struct task_struct *p, in cpupri_find_fitness() 147 bool (*fitness_fn)(struct task_struct *p, int cpu)) in cpupri_find_fitness()
|
| /kernel/trace/ |
| A D | trace_boot.c | 28 const char *p; in trace_boot_set_instance_options() local 87 const char *p; in trace_boot_enable_events() local 144 const char *p; in trace_boot_add_synth_event() local 200 char *p = *bufp; in append_str_nospace() local 223 const char *p; in trace_boot_hist_add_array() local 252 const char *p; in trace_boot_hist_add_one_handler() local 350 const char *p; in trace_boot_compose_hist_cmd() local 423 const char *p; in trace_boot_init_histograms() local 563 const char *p; in trace_boot_set_ftrace_filter() local 594 const char *p; in trace_boot_enable_tracer() local [all …]
|
| A D | trace_branch.c | 39 const char *p; in probe_likely_condition() local 241 static inline long get_incorrect_percent(const struct ftrace_branch_data *p) in get_incorrect_percent() 254 static const char *branch_stat_process_file(struct ftrace_branch_data *p) in branch_stat_process_file() 266 struct ftrace_branch_data *p, const char *f) in branch_stat_show() 284 struct ftrace_branch_data *p, const char *f) in branch_stat_show_normal() 293 struct ftrace_likely_data *p = v; in annotate_branch_stat_show() local 319 struct ftrace_likely_data *p = v; in annotated_branch_stat_next() local 409 struct ftrace_branch_data *p = v; in all_branch_stat_next() local 421 struct ftrace_branch_data *p = v; in all_branch_stat_show() local
|
| /kernel/debug/kdb/ |
| A D | kdb_bt.c | 22 static void kdb_show_stack(struct task_struct *p, void *addr) in kdb_show_stack() 77 kdb_bt1(struct task_struct *p, const char *mask, bool btaprompt) in kdb_bt1() 139 struct task_struct *g, *p; in kdb_bt() local 161 struct task_struct *p; in kdb_bt() local
|
| /kernel/bpf/ |
| A D | cgroup_iter.c | 59 struct cgroup_iter_priv *p = seq->private; in cgroup_iter_seq_start() local 90 struct cgroup_iter_priv *p = seq->private; in cgroup_iter_seq_stop() local 104 struct cgroup_iter_priv *p = seq->private; in cgroup_iter_seq_next() local 123 struct cgroup_iter_priv *p = seq->private; in __cgroup_iter_seq_show() local 164 struct cgroup_iter_priv *p = (struct cgroup_iter_priv *)priv; in BTF_ID_LIST_GLOBAL_SINGLE() local 182 struct cgroup_iter_priv *p = (struct cgroup_iter_priv *)priv; in cgroup_iter_seq_fini() local
|
| /kernel/power/ |
| A D | process.c | 32 struct task_struct *g, *p; in try_to_freeze_tasks() local 181 struct task_struct *g, *p; in thaw_processes() local 217 struct task_struct *g, *p; in thaw_kernel_threads() local
|
| /kernel/module/ |
| A D | tracking.c | 74 static void *unloaded_tainted_modules_seq_next(struct seq_file *m, void *p, loff_t *pos) in unloaded_tainted_modules_seq_next() 79 static void unloaded_tainted_modules_seq_stop(struct seq_file *m, void *p) in unloaded_tainted_modules_seq_stop() 85 static int unloaded_tainted_modules_seq_show(struct seq_file *m, void *p) in unloaded_tainted_modules_seq_show()
|
| A D | procfs.c | 55 static void *m_next(struct seq_file *m, void *p, loff_t *pos) in m_next() 60 static void m_stop(struct seq_file *m, void *p) in m_stop() 74 static int m_show(struct seq_file *m, void *p) in m_show()
|
| /kernel/trace/rv/ |
| A D | rv_reactors.c | 87 static int reactors_show(struct seq_file *m, void *p) in reactors_show() 95 static void reactors_stop(struct seq_file *m, void *p) in reactors_stop() 106 static void *reactors_next(struct seq_file *m, void *p, loff_t *pos) in reactors_next() 139 static int monitor_reactor_show(struct seq_file *m, void *p) in monitor_reactor_show() 185 struct rv_monitor *p = mon; in monitor_swap_reactors() local
|