Home
last modified time | relevance | path

Searched refs:sched_attr (Results 1 – 12 of 12) sorted by relevance

/linux/tools/tracing/rtla/src/
H A Dutils.h76 struct sched_attr { in have_libcpupower_support()
94 int parse_prio(char *arg, struct sched_attr *sched_param);
97 int __set_sched_attr(int pid, struct sched_attr *attr);
98 int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr);
52 struct sched_attr { global() struct
64 sched_periodsched_attr global() argument
H A Dtimerlat_u.h16 struct sched_attr *sched_param;
H A Dutils.c283 static inline int syscall_sched_setattr(pid_t pid, const struct sched_attr *attr, in procfs_is_workload_pid()
288 int __set_sched_attr(int pid, struct sched_attr *attr) in procfs_is_workload_pid()
362 * sched_attr *attr to the threads that start with char *comm_prefix. It is in set_comm_sched_attr()
366 int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr) in set_comm_sched_attr()
460 int parse_prio(char *arg, struct sched_attr *sched_param) in parse_prio()
H A Dcommon.h90 struct sched_attr sched_param;
/linux/kernel/sched/
H A Dsyscalls.c242 const struct sched_attr *attr) in DEFINE_CLASS()
319 const struct sched_attr *attr) in uclamp_validate()
353 static bool uclamp_reset(const struct sched_attr *attr, in uclamp_reset()
379 const struct sched_attr *attr) in __setscheduler_uclamp()
422 const struct sched_attr *attr) in uclamp_validate()
427 const struct sched_attr *attr) { } in __setscheduler_uclamp()
436 const struct sched_attr *attr, in user_check_sched_setscheduler()
494 const struct sched_attr *attr, in __sched_setscheduler()
728 struct sched_attr attr = { in _sched_setscheduler()
764 int sched_setattr(struct task_struct *p, const struct sched_attr *attr) in sched_setattr()
[all …]
H A Dsched.h357 extern int sched_dl_overflow(struct task_struct *p, int policy, const struct sched_attr *attr);
358 extern void __setparam_dl(struct task_struct *p, const struct sched_attr *attr);
359 extern void __getparam_dl(struct task_struct *p, struct sched_attr *attr, unsigned int flags);
360 extern bool __checkparam_dl(const struct sched_attr *attr);
361 extern bool dl_param_changed(struct task_struct *p, const struct sched_attr *attr);
3724 extern void __setparam_fair(struct task_struct *p, const struct sched_attr *attr);
4090 extern int __sched_setscheduler(struct task_struct *p, const struct sched_attr *attr, bool user, bo…
H A Ddeadline.c3561 const struct sched_attr *attr) in sched_dl_overflow()
3626 void __setparam_dl(struct task_struct *p, const struct sched_attr *attr) in __setparam_dl()
3638 void __getparam_dl(struct task_struct *p, struct sched_attr *attr, unsigned int flags) in __getparam_dl()
3673 bool __checkparam_dl(const struct sched_attr *attr) in __checkparam_dl()
3752 bool dl_param_changed(struct task_struct *p, const struct sched_attr *attr) in dl_param_changed()
H A Dcore.c9234 struct sched_attr attr = { in normalize_rt_tasks()
H A Dfair.c5364 void __setparam_fair(struct task_struct *p, const struct sched_attr *attr) in __setparam_fair()
/linux/include/uapi/linux/sched/
H A Dtypes.h98 struct sched_attr { struct
/linux/include/linux/
H A Dsched.h82 struct sched_attr;
1935 extern int sched_setattr(struct task_struct *, const struct sched_attr *);
1936 extern int sched_setattr_nocheck(struct task_struct *, const struct sched_attr *);
/linux/kernel/trace/
H A Dtrace_selftest.c1425 static const struct sched_attr attr = { in trace_wakeup_test_thread()