Searched refs:nice (Results 1 – 7 of 7) sorted by relevance
| /include/linux/sched/ |
| D | prio.h | 27 #define NICE_TO_PRIO(nice) ((nice) + DEFAULT_PRIO) argument 33 static inline long nice_to_rlimit(long nice) in nice_to_rlimit() argument 35 return (MAX_NICE - nice + 1); in nice_to_rlimit()
|
| D | autogroup.h | 18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
|
| /include/trace/hooks/ |
| D | sched.h | 76 TP_PROTO(struct task_struct *p, long *nice), 77 TP_ARGS(p, nice), 1); 80 TP_PROTO(struct task_struct *p, long *nice, bool *allowed), 81 TP_ARGS(p, nice, allowed), 1);
|
| /include/linux/ |
| D | sched.h | 1941 extern void set_user_nice(struct task_struct *p, long nice); 1955 extern int can_nice(const struct task_struct *p, const int nice); 1963 extern void sched_set_normal(struct task_struct *p, int nice);
|
| D | security.h | 189 extern int cap_task_setnice(struct task_struct *p, int nice); 468 int security_task_setnice(struct task_struct *p, int nice); 1262 static inline int security_task_setnice(struct task_struct *p, int nice) in security_task_setnice() argument 1264 return cap_task_setnice(p, nice); in security_task_setnice()
|
| D | workqueue.h | 154 int nice; member
|
| D | lsm_hook_defs.h | 241 LSM_HOOK(int, 0, task_setnice, struct task_struct *p, int nice)
|