Lines Matching refs:scha

11255             struct sched_attr scha;  in _syscall2()  local
11259 if (arg3 > sizeof(scha)) { in _syscall2()
11260 arg3 = sizeof(scha); in _syscall2()
11262 ret = get_errno(sys_sched_getattr(arg1, &scha, arg3, arg4)); in _syscall2()
11268 target_scha->size = tswap32(scha.size); in _syscall2()
11269 target_scha->sched_policy = tswap32(scha.sched_policy); in _syscall2()
11270 target_scha->sched_flags = tswap64(scha.sched_flags); in _syscall2()
11271 target_scha->sched_nice = tswap32(scha.sched_nice); in _syscall2()
11272 target_scha->sched_priority = tswap32(scha.sched_priority); in _syscall2()
11273 target_scha->sched_runtime = tswap64(scha.sched_runtime); in _syscall2()
11274 target_scha->sched_deadline = tswap64(scha.sched_deadline); in _syscall2()
11275 target_scha->sched_period = tswap64(scha.sched_period); in _syscall2()
11276 if (scha.size > offsetof(struct sched_attr, sched_util_min)) { in _syscall2()
11277 target_scha->sched_util_min = tswap32(scha.sched_util_min); in _syscall2()
11278 target_scha->sched_util_max = tswap32(scha.sched_util_max); in _syscall2()
11287 struct sched_attr scha; in _syscall2() local
11323 scha.size = size; in _syscall2()
11324 scha.sched_policy = tswap32(target_scha->sched_policy); in _syscall2()
11325 scha.sched_flags = tswap64(target_scha->sched_flags); in _syscall2()
11326 scha.sched_nice = tswap32(target_scha->sched_nice); in _syscall2()
11327 scha.sched_priority = tswap32(target_scha->sched_priority); in _syscall2()
11328 scha.sched_runtime = tswap64(target_scha->sched_runtime); in _syscall2()
11329 scha.sched_deadline = tswap64(target_scha->sched_deadline); in _syscall2()
11330 scha.sched_period = tswap64(target_scha->sched_period); in _syscall2()
11332 scha.sched_util_min = tswap32(target_scha->sched_util_min); in _syscall2()
11333 scha.sched_util_max = tswap32(target_scha->sched_util_max); in _syscall2()
11336 return get_errno(sys_sched_setattr(arg1, &scha, arg3)); in _syscall2()