Home
last modified time | relevance | path

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

123

/kernel/
Dfreezer.c58 static void fake_signal_wake_up(struct task_struct *p) in fake_signal_wake_up()
81 bool freeze_task(struct task_struct *p, bool sig_only) in freeze_task()
111 void cancel_freezing(struct task_struct *p) in cancel_freezing()
124 static int __thaw_process(struct task_struct *p) in __thaw_process()
143 int thaw_process(struct task_struct *p) in thaw_process()
Dkprobes.c129 struct task_struct *p, *q; in check_safety() local
311 struct kprobe *p; in get_kprobe() local
325 static int __kprobes aggr_pre_handler(struct kprobe *p, struct pt_regs *regs) in aggr_pre_handler()
340 static void __kprobes aggr_post_handler(struct kprobe *p, struct pt_regs *regs, in aggr_post_handler()
354 static int __kprobes aggr_fault_handler(struct kprobe *p, struct pt_regs *regs, in aggr_fault_handler()
370 static int __kprobes aggr_break_handler(struct kprobe *p, struct pt_regs *regs) in aggr_break_handler()
384 void __kprobes kprobes_inc_nmissed_count(struct kprobe *p) in kprobes_inc_nmissed_count()
513 static inline void copy_kprobe(struct kprobe *old_p, struct kprobe *p) in copy_kprobe()
523 static int __kprobes add_new_kprobe(struct kprobe *old_p, struct kprobe *p) in add_new_kprobe()
541 static inline void add_aggr_kprobe(struct kprobe *ap, struct kprobe *p) in add_aggr_kprobe()
[all …]
Dexit.c69 static inline int task_detached(struct task_struct *p) in task_detached()
74 static void __unhash_process(struct task_struct *p) in __unhash_process()
175 void release_task(struct task_struct * p) in release_task()
236 struct task_struct *p; in session_of_pgrp() local
258 struct task_struct *p; in will_become_orphaned_pgrp() local
288 struct task_struct *p; in has_stopped_jobs() local
605 mm_need_new_owner(struct mm_struct *mm, struct task_struct *p) in mm_need_new_owner()
620 struct task_struct *c, *g, *p = current; in mm_update_next_owner() local
767 struct task_struct *p, *n; in ptrace_exit() local
816 struct task_struct *p, *n; in ptrace_exit_finish() local
[all …]
Dsched_rt.c132 struct task_struct *p; in rt_se_boosted() local
186 struct task_struct *p = rt_task_of(rt_se); in rt_rq_of_se() local
712 static void enqueue_task_rt(struct rq *rq, struct task_struct *p, int wakeup) in enqueue_task_rt()
724 static void dequeue_task_rt(struct rq *rq, struct task_struct *p, int sleep) in dequeue_task_rt()
752 static void requeue_task_rt(struct rq *rq, struct task_struct *p, int head) in requeue_task_rt()
771 static int select_task_rq_rt(struct task_struct *p, int sync) in select_task_rq_rt()
806 static void check_preempt_equal_prio(struct rq *rq, struct task_struct *p) in check_preempt_equal_prio()
839 static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int sync) in check_preempt_curr_rt()
884 struct task_struct *p; in pick_next_task_rt() local
906 static void put_prev_task_rt(struct rq *rq, struct task_struct *p) in put_prev_task_rt()
[all …]
Dsched_idletask.c9 static int select_task_rq_idle(struct task_struct *p, int sync) in select_task_rq_idle()
17 static void check_preempt_curr_idle(struct rq *rq, struct task_struct *p, int sync) in check_preempt_curr_idle()
34 dequeue_task_idle(struct rq *rq, struct task_struct *p, int sleep) in dequeue_task_idle()
72 static void switched_to_idle(struct rq *rq, struct task_struct *p, in switched_to_idle()
82 static void prio_changed_idle(struct rq *rq, struct task_struct *p, in prio_changed_idle()
Dsched.c89 #define TASK_NICE(p) PRIO_TO_NICE((p)->static_prio) argument
96 #define USER_PRIO(p) ((p)-MAX_RT_PRIO) argument
97 #define TASK_USER_PRIO(p) USER_PRIO((p)->static_prio) argument
158 static inline int task_has_rt_policy(struct task_struct *p) in task_has_rt_policy()
361 static inline struct task_group *task_group(struct task_struct *p) in task_group()
379 static inline void set_task_rq(struct task_struct *p, unsigned int cpu) in set_task_rq()
394 static inline void set_task_rq(struct task_struct *p, unsigned int cpu) { } in set_task_rq()
395 static inline struct task_group *task_group(struct task_struct *p) in task_group()
642 static inline void check_preempt_curr(struct rq *rq, struct task_struct *p, int sync) in check_preempt_curr()
668 #define task_rq(p) cpu_rq(task_cpu(p)) argument
[all …]
Dposix-cpu-timers.c31 struct task_struct *p; in check_clock() local
170 static inline cputime_t prof_ticks(struct task_struct *p) in prof_ticks()
174 static inline cputime_t virt_ticks(struct task_struct *p) in virt_ticks()
214 static int cpu_clock_sample(const clockid_t which_clock, struct task_struct *p, in cpu_clock_sample()
303 struct task_struct *p, in cpu_clock_sample_group()
355 struct task_struct *p; in posix_cpu_clock_get() local
392 struct task_struct *p; in posix_cpu_timer_create() local
438 struct task_struct *p = timer->it.cpu.task; in posix_cpu_timer_del() local
551 struct task_struct *p = timer->it.cpu.task; in arm_timer() local
689 struct task_struct *p, in cpu_timer_sample_group()
[all …]
Dsched_fair.c102 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
201 static inline struct cfs_rq *task_cfs_rq(struct task_struct *p) in task_cfs_rq()
208 struct task_struct *p = task_of(se); in cfs_rq_of() local
885 static void hrtick_start_fair(struct rq *rq, struct task_struct *p) in hrtick_start_fair()
931 hrtick_start_fair(struct rq *rq, struct task_struct *p) in hrtick_start_fair()
945 static void enqueue_task_fair(struct rq *rq, struct task_struct *p, int wakeup) in enqueue_task_fair()
966 static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int sleep) in dequeue_task_fair()
1040 static int wake_idle(int cpu, struct task_struct *p) in wake_idle()
1096 static inline int wake_idle(int cpu, struct task_struct *p) in wake_idle()
1190 struct task_struct *p, int prev_cpu, int this_cpu, int sync, in wake_affine()
[all …]
Dresource.c44 struct resource *p = v; in r_next() local
60 struct resource *p = m->private; in r_start() local
77 struct resource *r = v, *p; in r_show() local
148 struct resource *tmp, **p; in __request_resource() local
174 struct resource *tmp, **p; in __release_resource() local
235 struct resource *p; in find_next_system_ram() local
705 struct resource **p; in __release_region() local
841 struct resource *p = &iomem_resource; in iomem_map_sanity_check() local
894 struct resource *p = &iomem_resource; in iomem_is_exclusive() local
Dtest_kprobes.c33 static int kp_pre_handler(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler()
39 static void kp_post_handler(struct kprobe *p, struct pt_regs *regs, in kp_post_handler()
90 static int kp_pre_handler2(struct kprobe *p, struct pt_regs *regs) in kp_pre_handler2()
96 static void kp_post_handler2(struct kprobe *p, struct pt_regs *regs, in kp_post_handler2()
Dsignal.c110 #define PENDING(p,b) has_pending_signals(&(p)->signal, (b)) argument
627 static int prepare_signal(int sig, struct task_struct *p) in prepare_signal()
722 static inline int wants_signal(int sig, struct task_struct *p) in wants_signal()
735 static void complete_signal(int sig, struct task_struct *p, int group) in complete_signal()
927 __group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p) in __group_send_sig_info()
984 void zap_other_threads(struct task_struct *p) in zap_other_threads()
1033 int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p) in group_send_sig_info()
1058 struct task_struct *p = NULL; in __kill_pgrp_info() local
1074 struct task_struct *p; in kill_pid_info() local
1110 struct task_struct *p; in kill_pid_info_as_uid() local
[all …]
Daudit_tree.c179 struct audit_chunk *p; in audit_tree_lookup() local
201 static struct audit_chunk *find_chunk(struct node *p) in find_chunk()
208 static void untag_chunk(struct node *p) in untag_chunk()
362 struct node *p; in tag_chunk() local
466 struct node *p; in prune_one() local
480 struct list_head *p, *q; in trim_marked() local
640 struct vfsmount *mnt, *p; in audit_add_tree_rule() local
746 struct vfsmount *p; in audit_tag_tree() local
Drcutorture.c185 struct list_head *p; in rcu_torture_alloc() local
204 rcu_torture_free(struct rcu_torture *p) in rcu_torture_free()
304 rcu_torture_cb(struct rcu_head *p) in rcu_torture_cb()
325 static void rcu_torture_deferred_free(struct rcu_torture *p) in rcu_torture_deferred_free()
345 static void rcu_sync_torture_deferred_free(struct rcu_torture *p) in rcu_sync_torture_deferred_free()
406 static void rcu_bh_torture_deferred_free(struct rcu_torture *p) in rcu_bh_torture_deferred_free()
565 static void rcu_sched_torture_deferred_free(struct rcu_torture *p) in rcu_sched_torture_deferred_free()
688 struct rcu_torture *p; in rcu_torture_timer() local
734 struct rcu_torture *p; in rcu_torture_reader() local
Dsched_debug.c91 print_task(struct seq_file *m, struct rq *rq, struct task_struct *p) in print_task()
126 struct task_struct *g, *p; in print_rq() local
373 void proc_sched_show_task(struct task_struct *p, struct seq_file *m) in proc_sched_show_task()
478 void proc_sched_set_task(struct task_struct *p) in proc_sched_set_task()
Dnsproxy.c202 void switch_task_namespaces(struct task_struct *p, struct nsproxy *new) in switch_task_namespaces()
224 void exit_task_namespaces(struct task_struct *p) in exit_task_namespaces()
Drtmutex_common.h79 static inline int task_has_pi_waiters(struct task_struct *p) in task_has_pi_waiters()
85 task_top_pi_waiter(struct task_struct *p) in task_top_pi_waiter()
Dfork.c417 static struct mm_struct * mm_init(struct mm_struct * mm, struct task_struct *p) in mm_init()
892 static void copy_flags(unsigned long clone_flags, struct task_struct *p) in copy_flags()
910 static void rt_mutex_init_task(struct task_struct *p) in rt_mutex_init_task()
920 void mm_init_owner(struct mm_struct *mm, struct task_struct *p) in mm_init_owner()
956 struct task_struct *p; in copy_process() local
1360 struct task_struct *p; in do_fork() local
Dsysctl.c1465 static int use_table(struct ctl_table_header *p) in use_table()
1474 static void unuse_table(struct ctl_table_header *p) in unuse_table()
1482 static void start_unregistering(struct ctl_table_header *p) in start_unregistering()
1788 struct ctl_table *p; in is_branch_in() local
1810 static void try_attach(struct ctl_table_header *p, struct ctl_table_header *q) in try_attach()
1967 struct ctl_table_header *p; in __register_sysctl_paths() local
2039 int sysctl_is_seen(struct ctl_table_header *p) in sysctl_is_seen()
2054 void setup_sysctl_set(struct ctl_table_set *p, in setup_sysctl_set()
2079 void setup_sysctl_set(struct ctl_table_set *p, in setup_sysctl_set()
2102 char __user *p; in _proc_do_string() local
[all …]
Dcred-internals.h15 static inline void sched_switch_user(struct task_struct *p) in sched_switch_user()
Dauditsc.c333 struct audit_tree_refs *p = ctx->trees; in put_tree_ref() local
354 struct audit_tree_refs *p = ctx->trees; in grow_tree_refs() local
370 struct audit_tree_refs *p, int count) in unroll_tree_refs()
401 struct audit_tree_refs *p, *q; in free_tree_refs() local
411 struct audit_tree_refs *p; in match_tree_refs() local
1021 const char __user *p, in audit_log_single_execve_arg()
1160 const char __user *p; in audit_log_execve_info() local
1651 struct audit_context *p = child->audit_context; in audit_finish_fork() local
1723 struct audit_tree_refs *p; in handle_one() local
1753 struct audit_tree_refs *p; in handle_path() local
[all …]
Dkallsyms.c399 static void *s_next(struct seq_file *m, void *p, loff_t *pos) in s_next()
415 static void s_stop(struct seq_file *m, void *p) in s_stop()
419 static int s_show(struct seq_file *m, void *p) in s_show()
Dsys.c120 static int set_one_prio(struct task_struct *p, int niceval, int error) in set_one_prio()
148 struct task_struct *g, *p; in SYSCALL_DEFINE3() local
213 struct task_struct *g, *p; in SYSCALL_DEFINE2() local
959 struct task_struct *p; in SYSCALL_DEFINE2() local
1030 struct task_struct *p; in SYSCALL_DEFINE1() local
1067 struct task_struct *p; in SYSCALL_DEFINE1() local
1624 static void k_getrusage(struct task_struct *p, int who, struct rusage *r) in k_getrusage()
1686 int getrusage(struct task_struct *p, int who, struct rusage __user *ru) in getrusage()
/kernel/power/
Dprocess.c23 static inline int freezeable(struct task_struct * p) in freezeable()
34 struct task_struct *g, *p; in try_to_freeze_tasks() local
141 struct task_struct *g, *p; in thaw_tasks() local
/kernel/trace/
Dtrace_branch.c33 const char *p; in probe_likely_condition() local
196 struct ftrace_branch_data *p = v; in t_next() local
222 static void t_stop(struct seq_file *m, void *p) in t_stop()
229 struct ftrace_branch_data *p = v; in t_show() local
Dftrace.c182 struct ftrace_ops **p; in __unregister_ftrace_function() local
423 static void print_ip_ins(const char *fmt, unsigned char *p) in print_ip_ins()
706 struct dyn_ftrace *p, *t; in ftrace_update_code() local
843 void *p = NULL; in t_start() local
857 static void t_stop(struct seq_file *m, void *p) in t_stop()
1359 void *p = NULL; in g_start() local
1368 static void g_stop(struct seq_file *m, void *p) in g_stop()
1603 unsigned long *p; in ftrace_convert_nops() local
1712 struct task_struct *p; in clear_ftrace_swapper() local
1725 struct task_struct *p; in set_ftrace_swapper() local
[all …]

123