Home
last modified time | relevance | path

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

1234

/kernel/
Dkprobes.c307 struct kprobe *p; in get_kprobe() local
322 static inline int kprobe_aggrprobe(struct kprobe *p) in kprobe_aggrprobe()
328 static inline int kprobe_unused(struct kprobe *p) in kprobe_unused()
337 static inline void copy_kprobe(struct kprobe *ap, struct kprobe *p) in copy_kprobe()
351 void opt_pre_handler(struct kprobe *p, struct pt_regs *regs) in opt_pre_handler()
366 static void free_aggr_kprobe(struct kprobe *p) in free_aggr_kprobe()
377 static inline int kprobe_optready(struct kprobe *p) in kprobe_optready()
390 static inline int kprobe_disarmed(struct kprobe *p) in kprobe_disarmed()
404 static int kprobe_queued(struct kprobe *p) in kprobe_queued()
423 struct kprobe *p = NULL; in get_optimized_kprobe() local
[all …]
Dexit.c66 static void __unhash_process(struct task_struct *p, bool group_dead) in __unhash_process()
171 void release_task(struct task_struct *p) in release_task()
306 struct task_struct *p; in will_become_orphaned_pgrp() local
335 struct task_struct *p; in has_stopped_jobs() local
382 struct task_struct *c, *g, *p = current; in mm_update_next_owner() local
523 static struct task_struct *find_alive_thread(struct task_struct *p) in find_alive_thread()
603 static void reparent_leader(struct task_struct *father, struct task_struct *p, in reparent_leader()
635 struct task_struct *p, *t, *reaper; in forget_original_parent() local
673 struct task_struct *p, *n; in exit_notify() local
978 static int eligible_pid(struct wait_opts *wo, struct task_struct *p) in eligible_pid()
[all …]
Dfreezer.c40 bool freezing_slow_path(struct task_struct *p) in freezing_slow_path()
97 static void fake_signal_wake_up(struct task_struct *p) in fake_signal_wake_up()
118 bool freeze_task(struct task_struct *p) in freeze_task()
149 void __thaw_task(struct task_struct *p) in __thaw_task()
Dresource.c63 static struct resource *next_resource(struct resource *p, bool sibling_only) in next_resource()
78 struct resource *p = v; in r_next() local
90 struct resource *p = m->private; in r_start() local
107 struct resource *r = v, *p; in r_show() local
221 struct resource *tmp, **p; in __request_resource() local
247 struct resource *tmp, **p, *chd; in __release_resource() local
276 struct resource *tmp, *p; in __release_child_resources() local
365 struct resource *p; in find_next_iomem_res() local
546 struct resource *p; in region_intersects() local
1190 struct resource **p; in __release_region() local
[all …]
Dtest_kprobes.c35 static int kp_pre_handler(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler()
41 static void kp_post_handler(struct kprobe *p, struct pt_regs *regs, in kp_post_handler()
88 static int kp_pre_handler2(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler2()
94 static void kp_post_handler2(struct kprobe *p, struct pt_regs *regs, in kp_post_handler2()
Dsignal.c132 #define PENDING(p,b) has_pending_signals(&(p)->signal, (b)) argument
794 static bool prepare_signal(int sig, struct task_struct *p, bool force) in prepare_signal()
867 static inline int wants_signal(int sig, struct task_struct *p) in wants_signal()
880 static void complete_signal(int sig, struct task_struct *p, int group) in complete_signal()
1133 __group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p) in __group_send_sig_info()
1144 int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p, in do_send_sig_info()
1198 int zap_other_threads(struct task_struct *p) in zap_other_threads()
1264 int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p) in group_send_sig_info()
1285 struct task_struct *p = NULL; in __kill_pgrp_info() local
1301 struct task_struct *p; in kill_pid_info() local
[all …]
Daudit_tree.c188 struct audit_chunk *p; in audit_tree_lookup() local
211 static struct audit_chunk *find_chunk(struct node *p) in find_chunk()
218 static void untag_chunk(struct node *p) in untag_chunk()
361 struct node *p; in tag_chunk() local
499 struct node *p; in prune_one() local
513 struct list_head *p, *q; in trim_marked() local
Dauditsc.c213 struct audit_tree_refs *p = ctx->trees; in put_tree_ref() local
234 struct audit_tree_refs *p = ctx->trees; in grow_tree_refs() local
250 struct audit_tree_refs *p, int count) in unroll_tree_refs()
281 struct audit_tree_refs *p, *q; in free_tree_refs() local
291 struct audit_tree_refs *p; in match_tree_refs() local
1011 const char __user *p = (const char __user *)current->mm->arg_start; in audit_log_execve_info() local
1586 struct audit_tree_refs *p; in handle_one() local
1616 struct audit_tree_refs *p; in handle_path() local
2072 struct timespec *p = &context->mq_sendrecv.abs_timeout; in __audit_mq_sendrecv() local
2208 void *p = kmalloc(sizeof(struct sockaddr_storage), GFP_KERNEL); in __audit_sockaddr() local
/kernel/sched/
Ddeadline.c37 struct task_struct *p = dl_task_of(dl_se); in dl_rq_of_se() local
48 static inline int is_leftmost(struct task_struct *p, struct dl_rq *dl_rq) in is_leftmost()
137 struct task_struct *p = dl_task_of(dl_se); in inc_dl_migration() local
147 struct task_struct *p = dl_task_of(dl_se); in dec_dl_migration() local
159 static void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task()
190 static void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task()
245 static struct rq *dl_task_offline_migration(struct rq *rq, struct task_struct *p) in dl_task_offline_migration()
285 void enqueue_pushable_dl_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_dl_task()
290 void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_dl_task()
604 static int start_dl_timer(struct task_struct *p) in start_dl_timer()
[all …]
Dwalt.h42 static inline void walt_update_task_ravg(struct task_struct *p, struct rq *rq, in walt_update_task_ravg()
44 static inline void walt_inc_cumulative_runnable_avg(struct rq *rq, struct task_struct *p) { } in walt_inc_cumulative_runnable_avg()
45 static inline void walt_dec_cumulative_runnable_avg(struct rq *rq, struct task_struct *p) { } in walt_dec_cumulative_runnable_avg()
47 struct task_struct *p) { } in walt_inc_cfs_cumulative_runnable_avg()
49 struct task_struct *p) { } in walt_dec_cfs_cumulative_runnable_avg()
50 static inline void walt_fixup_busy_time(struct task_struct *p, int new_cpu) { } in walt_fixup_busy_time()
51 static inline void walt_init_new_task_load(struct task_struct *p) { } in walt_init_new_task_load()
52 static inline void walt_mark_task_starting(struct task_struct *p) { } in walt_mark_task_starting()
Dwalt.c61 static unsigned int task_load(struct task_struct *p) in task_load()
75 struct task_struct *p) in walt_inc_cumulative_runnable_avg()
92 struct task_struct *p) in walt_dec_cumulative_runnable_avg()
108 struct task_struct *p, u64 new_task_load) in fixup_cumulative_runnable_avg()
152 struct task_struct *p) in walt_inc_cfs_cumulative_runnable_avg()
158 struct task_struct *p) in walt_dec_cfs_cumulative_runnable_avg()
163 static int exiting_task(struct task_struct *p) in exiting_task()
310 static int account_busy_for_cpu_time(struct rq *rq, struct task_struct *p, in account_busy_for_cpu_time()
336 static void update_cpu_busy_time(struct task_struct *p, struct rq *rq, in update_cpu_busy_time()
540 static int account_busy_for_task_demand(struct task_struct *p, int event) in account_busy_for_task_demand()
[all …]
Dauto_group.c51 static inline struct autogroup *autogroup_task_get(struct task_struct *p) in autogroup_task_get()
110 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup()
128 void sched_autogroup_exit_task(struct task_struct *p) in sched_autogroup_exit_task()
139 autogroup_move_group(struct task_struct *p, struct autogroup *ag) in autogroup_move_group()
173 void sched_autogroup_create_attach(struct task_struct *p) in sched_autogroup_create_attach()
184 void sched_autogroup_detach(struct task_struct *p) in sched_autogroup_detach()
211 int proc_sched_autogroup_set_nice(struct task_struct *p, int nice) in proc_sched_autogroup_set_nice()
247 void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m) in proc_sched_autogroup_show_task()
Dstop_task.c15 select_task_rq_stop(struct task_struct *p, int cpu, int sd_flag, int flags) in select_task_rq_stop()
22 check_preempt_curr_stop(struct rq *rq, struct task_struct *p, int flags) in check_preempt_curr_stop()
43 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()
91 static void switched_to_stop(struct rq *rq, struct task_struct *p) in switched_to_stop()
97 prio_changed_stop(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_stop()
Dcore.c162 lock_rq_of(struct task_struct *p, struct rq_flags *flags) in lock_rq_of()
168 unlock_rq_of(struct rq *rq, struct task_struct *p, struct rq_flags *flags) in unlock_rq_of()
191 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()
397 static bool set_nr_and_not_polling(struct task_struct *p) in set_nr_and_not_polling()
409 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
428 static bool set_nr_and_not_polling(struct task_struct *p) in set_nr_and_not_polling()
435 static bool set_nr_if_polling(struct task_struct *p) in set_nr_if_polling()
751 static void set_load_weight(struct task_struct *p) in set_load_weight()
769 static inline void enqueue_task(struct rq *rq, struct task_struct *p, int flags) in enqueue_task()
[all …]
Drt.c240 struct task_struct *p = rt_task_of(rt_se); in rq_of_rt_se() local
319 struct task_struct *p; in inc_rt_migration() local
336 struct task_struct *p; in dec_rt_migration() local
375 static void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task()
386 static void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task()
401 static inline void enqueue_pushable_task(struct rq *rq, struct task_struct *p) in enqueue_pushable_task()
405 static inline void dequeue_pushable_task(struct rq *rq, struct task_struct *p) in dequeue_pushable_task()
529 struct task_struct *p; in rt_se_boosted() local
911 struct task_struct *p; in dump_throttled_rt_tasks() local
1359 enqueue_task_rt(struct rq *rq, struct task_struct *p, int flags) in enqueue_task_rt()
[all …]
Didle_task.c12 select_task_rq_idle(struct task_struct *p, int cpu, int sd_flag, int flags) in select_task_rq_idle()
21 static void check_preempt_curr_idle(struct rq *rq, struct task_struct *p, int flags) in check_preempt_curr_idle()
40 dequeue_task_idle(struct rq *rq, struct task_struct *p, int flags) in dequeue_task_idle()
61 static void switched_to_idle(struct rq *rq, struct task_struct *p) in switched_to_idle()
67 prio_changed_idle(struct rq *rq, struct task_struct *p, int oldprio) in prio_changed_idle()
Dcputime.c129 static inline void task_group_account_field(struct task_struct *p, int index, in task_group_account_field()
149 void account_user_time(struct task_struct *p, cputime_t cputime, in account_user_time()
179 static void account_guest_time(struct task_struct *p, cputime_t cputime, in account_guest_time()
208 void __account_system_time(struct task_struct *p, cputime_t cputime, in __account_system_time()
234 void account_system_time(struct task_struct *p, int hardirq_offset, in account_system_time()
414 static void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick()
459 static inline void irqtime_account_process_tick(struct task_struct *p, int user_tick, in irqtime_account_process_tick()
506 void task_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime_t *st) in task_cputime_adjusted()
513 void thread_group_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime_t *st) in thread_group_cputime_adjusted()
528 void account_process_tick(struct task_struct *p, int user_tick) in account_process_tick()
[all …]
Dfair.c285 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
440 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
447 struct task_struct *p = task_of(se); in cfs_rq_of() local
811 struct task_struct *p = task_of(se); in post_init_entity_util_avg() local
907 struct task_struct *p; in update_stats_wait_end() local
1082 static unsigned int task_nr_scan_windows(struct task_struct *p) in task_nr_scan_windows()
1104 static unsigned int task_scan_min(struct task_struct *p) in task_scan_min()
1118 static unsigned int task_scan_max(struct task_struct *p) in task_scan_max()
1128 static void account_numa_enqueue(struct rq *rq, struct task_struct *p) in account_numa_enqueue()
1134 static void account_numa_dequeue(struct rq *rq, struct task_struct *p) in account_numa_dequeue()
[all …]
Dauto_group.h30 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
52 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
/kernel/debug/kdb/
Dkdb_bt.c21 static void kdb_show_stack(struct task_struct *p, void *addr) in kdb_show_stack()
80 kdb_bt1(struct task_struct *p, unsigned long mask, in kdb_bt1()
118 struct task_struct *g, *p; in kdb_bt() local
140 struct task_struct *p; in kdb_bt() local
/kernel/time/
Dposix-cpu-timers.c34 struct task_struct *p; in check_clock() local
126 static inline unsigned long long prof_ticks(struct task_struct *p) in prof_ticks()
134 static inline unsigned long long virt_ticks(struct task_struct *p) in virt_ticks()
180 static int cpu_clock_sample(const clockid_t which_clock, struct task_struct *p, in cpu_clock_sample()
263 struct task_struct *p, in cpu_clock_sample_group()
325 struct task_struct *p; in posix_cpu_clock_get() local
345 struct task_struct *p; in posix_cpu_timer_create() local
392 struct task_struct *p = timer->it.cpu.task; in posix_cpu_timer_del() local
471 struct task_struct *p = timer->it.cpu.task; in arm_timer() local
566 struct task_struct *p, in cpu_timer_sample_group()
[all …]
/kernel/power/
Dprocess.c31 struct task_struct *g, *p; in try_to_freeze_tasks() local
198 struct task_struct *g, *p; in thaw_processes() local
236 struct task_struct *g, *p; in thaw_kernel_threads() local
/kernel/trace/
Dtrace_branch.c40 const char *p; in probe_likely_condition() local
235 static inline long get_incorrect_percent(struct ftrace_branch_data *p) in get_incorrect_percent()
250 struct ftrace_branch_data *p = v; in branch_stat_show() local
282 struct ftrace_branch_data *p = v; in annotated_branch_stat_next() local
372 struct ftrace_branch_data *p = v; in all_branch_stat_next() local
/kernel/rcu/
Drcutorture.c224 struct list_head *p; in rcu_torture_alloc() local
243 rcu_torture_free(struct rcu_torture *p) in rcu_torture_free()
355 rcu_torture_cb(struct rcu_head *p) in rcu_torture_cb()
375 static void rcu_torture_deferred_free(struct rcu_torture *p) in rcu_torture_deferred_free()
422 static void rcu_bh_torture_deferred_free(struct rcu_torture *p) in rcu_bh_torture_deferred_free()
453 static void rcu_busted_torture_deferred_free(struct rcu_torture *p) in rcu_busted_torture_deferred_free()
636 static void rcu_sched_torture_deferred_free(struct rcu_torture *p) in rcu_sched_torture_deferred_free()
677 static void rcu_tasks_torture_deferred_free(struct rcu_torture *p) in rcu_tasks_torture_deferred_free()
1093 struct rcu_torture *p; in rcu_torture_timer() local
1157 struct rcu_torture *p; in rcu_torture_reader() local
/kernel/locking/
Drtmutex_common.h59 static inline int task_has_pi_waiters(struct task_struct *p) in task_has_pi_waiters()
65 task_top_pi_waiter(struct task_struct *p) in task_top_pi_waiter()

1234