Lines Matching refs:target_scha

11376             struct target_sched_attr *target_scha;  in _syscall2()  local
11386 target_scha = lock_user(VERIFY_WRITE, arg2, arg3, 0); in _syscall2()
11387 if (!target_scha) { in _syscall2()
11390 target_scha->size = tswap32(scha.size); in _syscall2()
11391 target_scha->sched_policy = tswap32(scha.sched_policy); in _syscall2()
11392 target_scha->sched_flags = tswap64(scha.sched_flags); in _syscall2()
11393 target_scha->sched_nice = tswap32(scha.sched_nice); in _syscall2()
11394 target_scha->sched_priority = tswap32(scha.sched_priority); in _syscall2()
11395 target_scha->sched_runtime = tswap64(scha.sched_runtime); in _syscall2()
11396 target_scha->sched_deadline = tswap64(scha.sched_deadline); in _syscall2()
11397 target_scha->sched_period = tswap64(scha.sched_period); in _syscall2()
11399 target_scha->sched_util_min = tswap32(scha.sched_util_min); in _syscall2()
11400 target_scha->sched_util_max = tswap32(scha.sched_util_max); in _syscall2()
11402 unlock_user(target_scha, arg2, arg3); in _syscall2()
11408 struct target_sched_attr *target_scha; in _syscall2() local
11441 target_scha = lock_user(VERIFY_READ, arg2, size, 1); in _syscall2()
11442 if (!target_scha) { in _syscall2()
11446 scha.sched_policy = tswap32(target_scha->sched_policy); in _syscall2()
11447 scha.sched_flags = tswap64(target_scha->sched_flags); in _syscall2()
11448 scha.sched_nice = tswap32(target_scha->sched_nice); in _syscall2()
11449 scha.sched_priority = tswap32(target_scha->sched_priority); in _syscall2()
11450 scha.sched_runtime = tswap64(target_scha->sched_runtime); in _syscall2()
11451 scha.sched_deadline = tswap64(target_scha->sched_deadline); in _syscall2()
11452 scha.sched_period = tswap64(target_scha->sched_period); in _syscall2()
11454 scha.sched_util_min = tswap32(target_scha->sched_util_min); in _syscall2()
11455 scha.sched_util_max = tswap32(target_scha->sched_util_max); in _syscall2()
11457 unlock_user(target_scha, arg2, 0); in _syscall2()