| /kernel/ |
| D | kprobes.c | 379 struct kprobe *p; in get_kprobe() local 395 static inline bool kprobe_aggrprobe(struct kprobe *p) in kprobe_aggrprobe() 401 static inline bool kprobe_unused(struct kprobe *p) in kprobe_unused() 408 static inline void copy_kprobe(struct kprobe *ap, struct kprobe *p) in copy_kprobe() 422 void opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler() 437 static void free_aggr_kprobe(struct kprobe *p) in free_aggr_kprobe() 448 static inline int kprobe_optready(struct kprobe *p) in kprobe_optready() 461 bool kprobe_disarmed(struct kprobe *p) in kprobe_disarmed() 475 static bool kprobe_queued(struct kprobe *p) in kprobe_queued() 494 struct kprobe *p = NULL; in get_optimized_kprobe() local [all …]
|
| D | freezer.c | 41 bool freezing_slow_path(struct task_struct *p) in freezing_slow_path() 59 bool frozen(struct task_struct *p) in frozen() 102 static void fake_signal_wake_up(struct task_struct *p) in fake_signal_wake_up() 112 static int __set_task_frozen(struct task_struct *p, void *arg) in __set_task_frozen() 150 static bool __freeze_task(struct task_struct *p) in __freeze_task() 167 bool freeze_task(struct task_struct *p) in freeze_task() 193 static int __restore_freezer_state(struct task_struct *p, void *arg) in __restore_freezer_state() 206 void __thaw_task(struct task_struct *p) in __thaw_task()
|
| D | exit.c | 128 static void __unhash_process(struct task_struct *p, bool group_dead) in __unhash_process() 243 void release_task(struct task_struct *p) in release_task() 332 struct task_struct *p; in will_become_orphaned_pgrp() local 361 struct task_struct *p; in has_stopped_jobs() local 481 struct task_struct *g, *p = current; in mm_update_next_owner() local 579 static struct task_struct *find_alive_thread(struct task_struct *p) in find_alive_thread() 597 struct task_struct *p, *n; in find_child_reaper() local 666 static void reparent_leader(struct task_struct *father, struct task_struct *p, in reparent_leader() 698 struct task_struct *p, *t, *reaper; in forget_original_parent() local 737 struct task_struct *p, *n; in exit_notify() local [all …]
|
| /kernel/sched/ |
| D | syscalls.c | 43 static inline int normal_prio(struct task_struct *p) in normal_prio() 55 static int effective_prio(struct task_struct *p) in effective_prio() 68 void set_user_nice(struct task_struct *p, long nice) in set_user_nice() 135 static bool is_nice_reduction(const struct task_struct *p, const int nice) in is_nice_reduction() 148 int can_nice(const struct task_struct *p, const int nice) in can_nice() 200 int task_prio(const struct task_struct *p) in task_prio() 284 struct task_struct *p; in find_get_task() local 349 static bool check_same_owner(struct task_struct *p) in check_same_owner() 361 static int uclamp_validate(struct task_struct *p, in uclamp_validate() 428 static void __setscheduler_uclamp(struct task_struct *p, in __setscheduler_uclamp() [all …]
|
| D | ext.c | 1052 static struct scx_dispatch_q *find_global_dsq(struct task_struct *p) in find_global_dsq() 1184 struct task_struct *p) in scx_kf_allowed_on_arg_tasks() 1241 #define nldsq_for_each_task(p, dsq) \ argument 1408 struct task_struct *p; in scx_task_iter_next_locked() local 1484 static void wait_ops_state(struct task_struct *p, unsigned long opss) in wait_ops_state() 1603 static void touch_core_sched(struct rq *rq, struct task_struct *p) in touch_core_sched() 1630 static void touch_core_sched_dispatch(struct rq *rq, struct task_struct *p) in touch_core_sched_dispatch() 1673 static void dispatch_enqueue(struct scx_dispatch_q *dsq, struct task_struct *p, in dispatch_enqueue() 1788 static void task_unlink_from_dsq(struct task_struct *p, in task_unlink_from_dsq() 1803 static void dispatch_dequeue(struct rq *rq, struct task_struct *p) in dispatch_dequeue() [all …]
|
| D | core.c | 206 static inline int __task_prio(const struct task_struct *p) in __task_prio() 301 const struct task_struct *p = __node_2_sc(node); in rb_sched_core_cmp() local 313 void sched_core_enqueue(struct rq *rq, struct task_struct *p) in sched_core_enqueue() 326 void sched_core_dequeue(struct rq *rq, struct task_struct *p, int flags) in sched_core_dequeue() 348 static int sched_task_is_throttled(struct task_struct *p, int cpu) in sched_task_is_throttled() 356 static struct task_struct *sched_core_next(struct task_struct *p, unsigned long cookie) in sched_core_next() 381 struct task_struct *p; in sched_core_find() local 533 static inline void sched_core_enqueue(struct rq *rq, struct task_struct *p) { } in sched_core_enqueue() 535 sched_core_dequeue(struct rq *rq, struct task_struct *p, int flags) { } in sched_core_dequeue() 715 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf) in __task_rq_lock() [all …]
|
| D | ext.h | 32 static inline bool task_on_scx(const struct task_struct *p) in task_on_scx() 45 static inline void scx_pre_fork(struct task_struct *p) {} in scx_pre_fork() 46 static inline int scx_fork(struct task_struct *p) { return 0; } in scx_fork() 47 static inline void scx_post_fork(struct task_struct *p) {} in scx_post_fork() 48 static inline void scx_cancel_fork(struct task_struct *p) {} in scx_cancel_fork() 53 static inline int scx_check_setscheduler(struct task_struct *p, int policy) { return 0; } in scx_check_setscheduler() 54 static inline bool task_on_scx(const struct task_struct *p) { return false; } in task_on_scx() 87 static inline void scx_cgroup_move_task(struct task_struct *p) {} in scx_cgroup_move_task()
|
| D | autogroup.c | 70 static inline struct autogroup *autogroup_task_get(struct task_struct *p) in autogroup_task_get() 128 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup() 146 void sched_autogroup_exit_task(struct task_struct *p) in sched_autogroup_exit_task() 157 autogroup_move_group(struct task_struct *p, struct autogroup *ag) in autogroup_move_group() 192 void sched_autogroup_create_attach(struct task_struct *p) in sched_autogroup_create_attach() 204 void sched_autogroup_detach(struct task_struct *p) in sched_autogroup_detach() 230 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice() 268 void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m) in proc_sched_autogroup_show_task()
|
| D | core_sched.c | 53 static unsigned long sched_core_update_cookie(struct task_struct *p, in sched_core_update_cookie() 99 static unsigned long sched_core_clone_cookie(struct task_struct *p) in sched_core_clone_cookie() 110 void sched_core_fork(struct task_struct *p) in sched_core_fork() 116 void sched_core_free(struct task_struct *p) in sched_core_free() 121 static void __sched_core_set(struct task_struct *p, unsigned long cookie) in __sched_core_set() 133 struct task_struct *task, *p; in sched_core_share_pid() local 245 struct task_struct *p; in __sched_core_account_forceidle() local
|
| D | deadline.c | 345 static void dl_change_utilization(struct task_struct *p, u64 new_bw) in dl_change_utilization() 448 struct task_struct *p = dl_task_of(dl_se); in task_non_contending() local 599 static void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task() 617 static void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task() 666 static struct rq *dl_task_offline_migration(struct rq *rq, struct task_struct *p) in dl_task_offline_migration() 739 void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task() 744 void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task() 1264 struct task_struct *p; in dl_task_timer() local 1592 void dl_server_update_idle_time(struct rq *rq, struct task_struct *p) in dl_server_update_idle_time() 1760 struct task_struct *p = NULL; in inactive_task_timer() local [all …]
|
| D | stop_task.c | 13 select_task_rq_stop(struct task_struct *p, int cpu, int flags) in select_task_rq_stop() 26 wakeup_preempt_stop(struct rq *rq, struct task_struct *p, int flags) in wakeup_preempt_stop() 45 enqueue_task_stop(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_stop() 51 dequeue_task_stop(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_stop() 79 static void switched_to_stop(struct rq *rq, struct task_struct *p) in switched_to_stop() 85 prio_changed_stop(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_stop()
|
| D | rt.c | 301 struct task_struct *p = rt_task_of(rt_se); in rq_of_rt_se() local 389 static void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task() 405 static void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task() 426 static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task() 430 static inline void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task() 462 static inline bool rt_task_fits_capacity(struct task_struct *p, int cpu) in rt_task_fits_capacity() 480 static inline bool rt_task_fits_capacity(struct task_struct *p, int cpu) in rt_task_fits_capacity() 577 struct task_struct *p; in rt_se_boosted() local 1285 struct task_struct *p = NULL; in update_stats_wait_start_rt() local 1304 struct task_struct *p = NULL; in update_stats_enqueue_sleeper_rt() local [all …]
|
| D | membarrier.c | 269 struct task_struct *p; in membarrier_global_expedited() local 363 struct task_struct *p; in membarrier_private_expedited() local 379 struct task_struct *p; in membarrier_private_expedited() local 478 struct task_struct *p; in sync_runqueues_membarrier_state() local 496 struct task_struct *p = current; in membarrier_register_global_expedited() local 515 struct task_struct *p = current; in membarrier_register_private_expedited() local 557 struct task_struct *p = current; in membarrier_get_registrations() local
|
| D | fair.c | 1142 void post_init_entity_util_avg(struct task_struct *p) in post_init_entity_util_avg() 1187 void post_init_entity_util_avg(struct task_struct *p) in post_init_entity_util_avg() 1338 struct task_struct *p = NULL; in update_stats_wait_start_fair() local 1355 struct task_struct *p = NULL; in update_stats_wait_end_fair() local 1546 static struct numa_group *deref_task_numa_group(struct task_struct *p) in deref_task_numa_group() 1552 static struct numa_group *deref_curr_numa_group(struct task_struct *p) in deref_curr_numa_group() 1560 static unsigned int task_nr_scan_windows(struct task_struct *p) in task_nr_scan_windows() 1582 static unsigned int task_scan_min(struct task_struct *p) in task_scan_min() 1596 static unsigned int task_scan_start(struct task_struct *p) in task_scan_start() 1618 static unsigned int task_scan_max(struct task_struct *p) in task_scan_max() [all …]
|
| D | cputime.c | 112 static inline void task_group_account_field(struct task_struct *p, int index, in task_group_account_field() 131 void account_user_time(struct task_struct *p, u64 cputime) in account_user_time() 156 void account_guest_time(struct task_struct *p, u64 cputime) in account_guest_time() 181 void account_system_index_time(struct task_struct *p, in account_system_index_time() 204 void account_system_time(struct task_struct *p, int hardirq_offset, u64 cputime) in account_system_time() 256 void __account_forceidle_time(struct task_struct *p, u64 delta) in __account_forceidle_time() 392 static void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick() 435 static inline void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick() 467 void task_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in task_cputime_adjusted() 474 void thread_group_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in thread_group_cputime_adjusted() [all …]
|
| 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() 198 static inline void psi_ttwu_dequeue(struct task_struct *p) in psi_ttwu_dequeue() 228 static inline void psi_enqueue(struct task_struct *p, bool migrate) {} in psi_enqueue() 229 static inline void psi_dequeue(struct task_struct *p, bool migrate) {} in psi_dequeue() 230 static inline void psi_ttwu_dequeue(struct task_struct *p) {} in psi_ttwu_dequeue()
|
| D | idle.c | 433 select_task_rq_idle(struct task_struct *p, int cpu, int flags) in select_task_rq_idle() 448 static void wakeup_preempt_idle(struct rq *rq, struct task_struct *p, int flags) in wakeup_preempt_idle() 478 dequeue_task_idle(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_idle() 499 static void switched_to_idle(struct rq *rq, struct task_struct *p) in switched_to_idle() 505 prio_changed_idle(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_idle()
|
| /kernel/trace/ |
| 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 302 const char *p, *handler; in trace_boot_hist_add_handlers() local 350 const char *p; in trace_boot_compose_hist_cmd() local 423 const char *p; in trace_boot_init_histograms() local 468 const char *p, *group, *event; in trace_boot_init_one_event() local [all …]
|
| D | trace_branch.c | 41 const char *p; in probe_likely_condition() local 247 static inline long get_incorrect_percent(const struct ftrace_branch_data *p) in get_incorrect_percent() 260 static const char *branch_stat_process_file(struct ftrace_branch_data *p) in branch_stat_process_file() 272 struct ftrace_branch_data *p, const char *f) in branch_stat_show() 290 struct ftrace_branch_data *p, const char *f) in branch_stat_show_normal() 299 struct ftrace_likely_data *p = v; in annotate_branch_stat_show() local 325 struct ftrace_likely_data *p = v; in annotated_branch_stat_next() local 415 struct ftrace_branch_data *p = v; in all_branch_stat_next() local 427 struct ftrace_branch_data *p = v; in all_branch_stat_show() local
|
| /kernel/debug/kdb/ |
| 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/ |
| 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/ |
| D | process.c | 34 struct task_struct *g, *p; in try_to_freeze_tasks() local 189 struct task_struct *g, *p; in thaw_processes() local 225 struct task_struct *g, *p; in thaw_kernel_threads() local
|
| /kernel/module/ |
| D | tracking.c | 76 static void *unloaded_tainted_modules_seq_next(struct seq_file *m, void *p, loff_t *pos) in unloaded_tainted_modules_seq_next() 81 static void unloaded_tainted_modules_seq_stop(struct seq_file *m, void *p) in unloaded_tainted_modules_seq_stop() 87 static int unloaded_tainted_modules_seq_show(struct seq_file *m, void *p) in unloaded_tainted_modules_seq_show()
|
| 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/rcu/ |
| D | rcu.h | 448 #define raw_spin_lock_rcu_node(p) \ argument 454 #define raw_spin_unlock_rcu_node(p) \ argument 460 #define raw_spin_lock_irq_rcu_node(p) \ argument 466 #define raw_spin_unlock_irq_rcu_node(p) \ argument 472 #define raw_spin_lock_irqsave_rcu_node(p, flags) \ argument 478 #define raw_spin_unlock_irqrestore_rcu_node(p, flags) \ argument 484 #define raw_spin_trylock_rcu_node(p) \ argument 493 #define raw_lockdep_assert_held_rcu_node(p) \ argument
|