Home
last modified time | relevance | path

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

/openbmc/qemu/linux-user/
H A Dsyscall.c1246 struct target_timezone *target_tz; in copy_to_user_timezone() local
1248 if (!lock_user_struct(VERIFY_WRITE, target_tz, target_tz_addr, 1)) { in copy_to_user_timezone()
1252 __put_user(tz->tz_minuteswest, &target_tz->tz_minuteswest); in copy_to_user_timezone()
1253 __put_user(tz->tz_dsttime, &target_tz->tz_dsttime); in copy_to_user_timezone()
1255 unlock_user_struct(target_tz, target_tz_addr, 1); in copy_to_user_timezone()
1265 struct target_timezone *target_tz; in copy_from_user_timezone() local
1267 if (!lock_user_struct(VERIFY_READ, target_tz, target_tz_addr, 1)) { in copy_from_user_timezone()
1271 __get_user(tz->tz_minuteswest, &target_tz->tz_minuteswest); in copy_from_user_timezone()
1272 __get_user(tz->tz_dsttime, &target_tz->tz_dsttime); in copy_from_user_timezone()
1274 unlock_user_struct(target_tz, target_tz_addr, 0); in copy_from_user_timezone()