Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 111) sorted by relevance

12345

/kernel/
Dkprobes.c326 struct kprobe *p; in get_kprobe() local
341 static inline int kprobe_aggrprobe(struct kprobe *p) in kprobe_aggrprobe()
347 static inline int kprobe_unused(struct kprobe *p) in kprobe_unused()
356 static inline void copy_kprobe(struct kprobe *ap, struct kprobe *p) in copy_kprobe()
370 void opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler()
385 static void free_aggr_kprobe(struct kprobe *p) in free_aggr_kprobe()
396 static inline int kprobe_optready(struct kprobe *p) in kprobe_optready()
409 static inline int kprobe_disarmed(struct kprobe *p) in kprobe_disarmed()
423 static int kprobe_queued(struct kprobe *p) in kprobe_queued()
442 struct kprobe *p = NULL; in get_optimized_kprobe() local
[all …]
Dexit.c72 static void __unhash_process(struct task_struct *p, bool group_dead) in __unhash_process()
191 void release_task(struct task_struct *p) in release_task()
273 struct task_struct *p; in will_become_orphaned_pgrp() local
302 struct task_struct *p; in has_stopped_jobs() local
349 struct task_struct *c, *g, *p = current; in mm_update_next_owner() local
490 static struct task_struct *find_alive_thread(struct task_struct *p) in find_alive_thread()
508 struct task_struct *p, *n; in find_child_reaper() local
577 static void reparent_leader(struct task_struct *father, struct task_struct *p, in reparent_leader()
609 struct task_struct *p, *t, *reaper; in forget_original_parent() local
648 struct task_struct *p, *n; in exit_notify() local
[all …]
Dfreezer.c37 bool freezing_slow_path(struct task_struct *p) in freezing_slow_path()
94 static void fake_signal_wake_up(struct task_struct *p) in fake_signal_wake_up()
115 bool freeze_task(struct task_struct *p) in freeze_task()
146 void __thaw_task(struct task_struct *p) in __thaw_task()
Dtest_kprobes.c26 static int kp_pre_handler(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler()
36 static void kp_post_handler(struct kprobe *p, struct pt_regs *regs, in kp_post_handler()
87 static int kp_pre_handler2(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler2()
93 static void kp_post_handler2(struct kprobe *p, struct pt_regs *regs, in kp_post_handler2()
Dresource.c64 static struct resource *next_resource(struct resource *p, bool sibling_only) in next_resource()
79 struct resource *p = v; in r_next() local
91 struct resource *p = PDE_DATA(file_inode(m->file)); in r_start() local
108 struct resource *r = v, *p; in r_show() local
189 struct resource *tmp, **p; in __request_resource() local
215 struct resource *tmp, **p, *chd; in __release_resource() local
244 struct resource *tmp, *p; in __release_child_resources() local
346 struct resource *p; in find_next_iomem_res() local
541 struct resource *p; in region_intersects() local
1194 struct resource **p; in __release_region() local
[all …]
/kernel/sched/
Ddeadline.c35 struct task_struct *p = dl_task_of(dl_se); in dl_rq_of_se() local
156 void dl_change_utilization(struct task_struct *p, u64 new_bw) in dl_change_utilization()
237 static void task_non_contending(struct task_struct *p) in task_non_contending()
330 static inline int is_leftmost(struct task_struct *p, struct dl_rq *dl_rq) in is_leftmost()
423 struct task_struct *p = dl_task_of(dl_se); in inc_dl_migration() local
433 struct task_struct *p = dl_task_of(dl_se); in dec_dl_migration() local
445 static void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task()
475 static void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task()
529 static struct rq *dl_task_offline_migration(struct rq *rq, struct task_struct *p) in dl_task_offline_migration()
602 void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task()
[all …]
Dcore.c79 struct rq *__task_rq_lock(struct task_struct *p, struct rq_flags *rf) in __task_rq_lock()
103 struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf) in task_rq_lock()
369 static bool set_nr_and_not_polling(struct task_struct *p) in set_nr_and_not_polling()
381 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
400 static bool set_nr_and_not_polling(struct task_struct *p) in set_nr_and_not_polling()
407 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
748 static void set_load_weight(struct task_struct *p, bool update_load) in set_load_weight()
878 uclamp_tg_restrict(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_tg_restrict()
910 uclamp_eff_get(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_get()
922 unsigned long uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_value()
[all …]
Dautogroup.c49 static inline struct autogroup *autogroup_task_get(struct task_struct *p) in autogroup_task_get()
107 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup()
125 void sched_autogroup_exit_task(struct task_struct *p) in sched_autogroup_exit_task()
136 autogroup_move_group(struct task_struct *p, struct autogroup *ag) in autogroup_move_group()
170 void sched_autogroup_create_attach(struct task_struct *p) in sched_autogroup_create_attach()
182 void sched_autogroup_detach(struct task_struct *p) in sched_autogroup_detach()
208 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice()
246 void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m) in proc_sched_autogroup_show_task()
Dstop_task.c14 select_task_rq_stop(struct task_struct *p, int cpu, int sd_flag, int flags) in select_task_rq_stop()
27 check_preempt_curr_stop(struct rq *rq, struct task_struct *p, int flags) in check_preempt_curr_stop()
50 enqueue_task_stop(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_stop()
56 dequeue_task_stop(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_stop()
97 static void switched_to_stop(struct rq *rq, struct task_struct *p) in switched_to_stop()
103 prio_changed_stop(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_stop()
Drt.c239 struct task_struct *p = rt_task_of(rt_se); in rq_of_rt_se() local
318 struct task_struct *p; in inc_rt_migration() local
335 struct task_struct *p; in dec_rt_migration() local
374 static void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task()
385 static void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task()
400 static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task()
404 static inline void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task()
455 static inline bool rt_task_fits_capacity(struct task_struct *p, int cpu) in rt_task_fits_capacity()
473 static inline bool rt_task_fits_capacity(struct task_struct *p, int cpu) in rt_task_fits_capacity()
570 struct task_struct *p; in rt_se_boosted() local
[all …]
Dfair.c261 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
446 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
453 struct task_struct *p = task_of(se); in cfs_rq_of() local
780 void post_init_entity_util_avg(struct task_struct *p) in post_init_entity_util_avg()
822 void post_init_entity_util_avg(struct task_struct *p) in post_init_entity_util_avg()
894 struct task_struct *p; in update_stats_wait_end() local
1092 static struct numa_group *deref_task_numa_group(struct task_struct *p) in deref_task_numa_group()
1098 static struct numa_group *deref_curr_numa_group(struct task_struct *p) in deref_curr_numa_group()
1106 static unsigned int task_nr_scan_windows(struct task_struct *p) in task_nr_scan_windows()
1128 static unsigned int task_scan_min(struct task_struct *p) in task_scan_min()
[all …]
Dcputime.c99 static inline void task_group_account_field(struct task_struct *p, int index, in task_group_account_field()
118 void account_user_time(struct task_struct *p, u64 cputime) in account_user_time()
143 void account_guest_time(struct task_struct *p, u64 cputime) in account_guest_time()
168 void account_system_index_time(struct task_struct *p, in account_system_index_time()
191 void account_system_time(struct task_struct *p, int hardirq_offset, u64 cputime) in account_system_time()
364 static void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick()
408 static inline void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick()
458 void task_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in task_cputime_adjusted()
465 void thread_group_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st) in thread_group_cputime_adjusted()
482 void account_process_tick(struct task_struct *p, int user_tick) in account_process_tick()
[all …]
Dmembarrier.c86 struct task_struct *p; in membarrier_global_expedited() local
165 struct task_struct *p; in membarrier_private_expedited() local
241 struct task_struct *p; in sync_runqueues_membarrier_state() local
261 struct task_struct *p = current; in membarrier_register_global_expedited() local
280 struct task_struct *p = current; in membarrier_register_private_expedited() local
Didle.c364 select_task_rq_idle(struct task_struct *p, int cpu, int sd_flag, int flags) in select_task_rq_idle()
379 static void check_preempt_curr_idle(struct rq *rq, struct task_struct *p, int flags) in check_preempt_curr_idle()
412 dequeue_task_idle(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_idle()
432 static void switched_to_idle(struct rq *rq, struct task_struct *p) in switched_to_idle()
438 prio_changed_idle(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_idle()
Dstats.h65 static inline void psi_enqueue(struct task_struct *p, bool wakeup) in psi_enqueue()
85 static inline void psi_dequeue(struct task_struct *p, bool sleep) in psi_dequeue()
103 static inline void psi_ttwu_dequeue(struct task_struct *p) in psi_ttwu_dequeue()
138 static inline void psi_enqueue(struct task_struct *p, bool wakeup) {} in psi_enqueue()
139 static inline void psi_dequeue(struct task_struct *p, bool sleep) {} in psi_dequeue()
140 static inline void psi_ttwu_dequeue(struct task_struct *p) {} in psi_ttwu_dequeue()
Dcpupri.c61 int cpupri_find(struct cpupri *cp, struct task_struct *p, in cpupri_find()
63 bool (*fitness_fn)(struct task_struct *p, int cpu)) in cpupri_find()
Dautogroup.h28 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
50 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
Dsched.h175 static inline int task_has_idle_policy(struct task_struct *p) in task_has_idle_policy()
180 static inline int task_has_rt_policy(struct task_struct *p) in task_has_rt_policy()
185 static inline int task_has_dl_policy(struct task_struct *p) in task_has_dl_policy()
1057 #define task_rq(p) cpu_rq(task_cpu(p)) argument
1196 task_rq_unlock(struct rq *rq, struct task_struct *p, struct rq_flags *rf) in task_rq_unlock()
1311 init_numa_balancing(unsigned long clone_flags, struct task_struct *p) in init_numa_balancing()
1335 #define rcu_dereference_check_sched_domain(p) \ argument
1500 static inline struct task_group *task_group(struct task_struct *p) in task_group()
1506 static inline void set_task_rq(struct task_struct *p, unsigned int cpu) in set_task_rq()
1526 static inline void set_task_rq(struct task_struct *p, unsigned int cpu) { } in set_task_rq()
[all …]
/kernel/trace/
Dtrace_branch.c41 const char *p; in probe_likely_condition() local
247 static inline long get_incorrect_percent(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/
Dkdb_bt.c22 static void kdb_show_stack(struct task_struct *p, void *addr) in kdb_show_stack()
81 kdb_bt1(struct task_struct *p, unsigned long mask, in kdb_bt1()
119 struct task_struct *g, *p; in kdb_bt() local
141 struct task_struct *p; in kdb_bt() local
/kernel/locking/
Drtmutex_common.h65 static inline int task_has_pi_waiters(struct task_struct *p) in task_has_pi_waiters()
71 task_top_pi_waiter(struct task_struct *p) in task_top_pi_waiter()
90 static inline int task_has_pi_waiters(struct task_struct *p) in task_has_pi_waiters()
96 task_top_pi_waiter(struct task_struct *p) in task_top_pi_waiter()
/kernel/rcu/
Drcu.h381 #define raw_spin_lock_rcu_node(p) \ argument
387 #define raw_spin_unlock_rcu_node(p) raw_spin_unlock(&ACCESS_PRIVATE(p, lock)) argument
389 #define raw_spin_lock_irq_rcu_node(p) \ argument
395 #define raw_spin_unlock_irq_rcu_node(p) \ argument
398 #define raw_spin_lock_irqsave_rcu_node(p, flags) \ argument
404 #define raw_spin_unlock_irqrestore_rcu_node(p, flags) \ argument
407 #define raw_spin_trylock_rcu_node(p) \ argument
416 #define raw_lockdep_assert_held_rcu_node(p) \ argument
Dsrcutree.c51 #define spin_lock_rcu_node(p) \ argument
57 #define spin_unlock_rcu_node(p) spin_unlock(&ACCESS_PRIVATE(p, lock)) argument
59 #define spin_lock_irq_rcu_node(p) \ argument
65 #define spin_unlock_irq_rcu_node(p) \ argument
68 #define spin_lock_irqsave_rcu_node(p, flags) \ argument
74 #define spin_unlock_irqrestore_rcu_node(p, flags) \ argument
/kernel/power/
Dprocess.c34 struct task_struct *g, *p; in try_to_freeze_tasks() local
203 struct task_struct *g, *p; in thaw_processes() local
241 struct task_struct *g, *p; in thaw_kernel_threads() local
/kernel/time/
Dposix-cpu-timers.c53 struct task_struct *p; in lookup_task() local
93 struct task_struct *p; in __get_task_for_clock() local
197 static u64 cpu_clock_sample(const clockid_t clkid, struct task_struct *p) in cpu_clock_sample()
224 static void task_sample_cputime(struct task_struct *p, u64 *samples) in task_sample_cputime()
343 static u64 cpu_clock_sample_group(const clockid_t clkid, struct task_struct *p, in cpu_clock_sample_group()
389 struct task_struct *p = get_task_for_clock(new_timer->it_clock); in posix_cpu_timer_create() local
409 struct task_struct *p = ctmr->task; in posix_cpu_timer_del() local
492 struct task_struct *p = ctmr->task; in arm_timer() local
567 struct task_struct *p = ctmr->task; in posix_cpu_timer_set() local
707 struct task_struct *p = ctmr->task; in posix_cpu_timer_get() local
[all …]

12345