Home
last modified time | relevance | path

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

/openbmc/qemu/linux-user/
H A Dsyscall.c1174 struct target_timespec *target_ts; in target_to_host_timespec() local
1176 if (!lock_user_struct(VERIFY_READ, target_ts, target_addr, 1)) { in target_to_host_timespec()
1179 __get_user(host_ts->tv_sec, &target_ts->tv_sec); in target_to_host_timespec()
1180 __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); in target_to_host_timespec()
1181 unlock_user_struct(target_ts, target_addr, 0); in target_to_host_timespec()
1200 struct target__kernel_timespec *target_ts; in target_to_host_timespec64() local
1202 if (!lock_user_struct(VERIFY_READ, target_ts, target_addr, 1)) { in target_to_host_timespec64()
1205 __get_user(host_ts->tv_sec, &target_ts->tv_sec); in target_to_host_timespec64()
1206 __get_user(host_ts->tv_nsec, &target_ts->tv_nsec); in target_to_host_timespec64()
1209 unlock_user_struct(target_ts, target_addr, 0); in target_to_host_timespec64()
[all …]