Lines Matching refs:kattr
7806 struct sched_attr *kattr, in sched_attr_copy_to_user() argument
7809 unsigned int ksize = sizeof(*kattr); in sched_attr_copy_to_user()
7827 kattr->size = min(usize, ksize); in sched_attr_copy_to_user()
7829 if (copy_to_user(uattr, kattr, kattr->size)) in sched_attr_copy_to_user()
7845 struct sched_attr kattr = { }; in SYSCALL_DEFINE4() local
7863 kattr.sched_policy = p->policy; in SYSCALL_DEFINE4()
7865 kattr.sched_flags |= SCHED_FLAG_RESET_ON_FORK; in SYSCALL_DEFINE4()
7866 get_params(p, &kattr); in SYSCALL_DEFINE4()
7867 kattr.sched_flags &= SCHED_FLAG_ALL; in SYSCALL_DEFINE4()
7875 kattr.sched_util_min = p->uclamp_req[UCLAMP_MIN].value; in SYSCALL_DEFINE4()
7876 kattr.sched_util_max = p->uclamp_req[UCLAMP_MAX].value; in SYSCALL_DEFINE4()
7881 return sched_attr_copy_to_user(uattr, &kattr, usize); in SYSCALL_DEFINE4()