Lines Matching defs:p

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()
65 void set_user_nice(struct task_struct *p, long nice) in set_user_nice()
126 static bool is_nice_reduction(const struct task_struct *p, const int nice) in is_nice_reduction()
139 int can_nice(const struct task_struct *p, const int nice) in can_nice()
191 int task_prio(const struct task_struct *p) in task_prio()
271 struct task_struct *p; in find_get_task() local
326 static bool check_same_owner(struct task_struct *p) in check_same_owner()
338 static int uclamp_validate(struct task_struct *p, in uclamp_validate()
398 static void __setscheduler_uclamp(struct task_struct *p, in __setscheduler_uclamp()
441 static inline int uclamp_validate(struct task_struct *p, in uclamp_validate()
446 static void __setscheduler_uclamp(struct task_struct *p, in __setscheduler_uclamp()
455 static int user_check_sched_setscheduler(struct task_struct *p, in user_check_sched_setscheduler()
513 int __sched_setscheduler(struct task_struct *p, in __sched_setscheduler()
755 static int _sched_setscheduler(struct task_struct *p, int policy, in _sched_setscheduler()
788 int sched_setscheduler(struct task_struct *p, int policy, in sched_setscheduler()
794 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
799 int sched_setattr_nocheck(struct task_struct *p, const struct sched_attr *attr) in sched_setattr_nocheck()
818 int sched_setscheduler_nocheck(struct task_struct *p, int policy, in sched_setscheduler_nocheck()
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()
859 void sched_set_normal(struct task_struct *p, int nice) in sched_set_normal()
931 static void get_params(struct task_struct *p, struct sched_attr *attr) in get_params()
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
1118 int dl_task_check_affinity(struct task_struct *p, const struct cpumask *mask) in dl_task_check_affinity()
1147 int __sched_setaffinity(struct task_struct *p, struct affinity_context *ctx) in __sched_setaffinity()
1291 struct task_struct *p; in sched_getaffinity() local
1421 int __sched yield_to(struct task_struct *p, bool preempt) in yield_to()
1535 struct task_struct *p = find_process_by_pid(pid); in sched_rr_get_interval() local