Lines Matching refs:target_scha

11254             struct target_sched_attr *target_scha;  in _syscall2()  local
11264 target_scha = lock_user(VERIFY_WRITE, arg2, arg3, 0); in _syscall2()
11265 if (!target_scha) { 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()
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()
11280 unlock_user(target_scha, arg2, arg3); in _syscall2()
11286 struct target_sched_attr *target_scha; in _syscall2() local
11319 target_scha = lock_user(VERIFY_READ, arg2, size, 1); in _syscall2()
11320 if (!target_scha) { 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()
11335 unlock_user(target_scha, arg2, 0); in _syscall2()