Lines Matching refs:getwakeuptime
339 struct efi_getwakeuptime getwakeuptime; in efi_runtime_get_waketime() local
345 if (copy_from_user(&getwakeuptime, getwakeuptime_user, in efi_runtime_get_waketime()
346 sizeof(getwakeuptime))) in efi_runtime_get_waketime()
350 getwakeuptime.enabled ? (efi_bool_t *)&enabled : NULL, in efi_runtime_get_waketime()
351 getwakeuptime.pending ? (efi_bool_t *)&pending : NULL, in efi_runtime_get_waketime()
352 getwakeuptime.time ? &efi_time : NULL); in efi_runtime_get_waketime()
354 if (put_user(status, getwakeuptime.status)) in efi_runtime_get_waketime()
360 if (getwakeuptime.enabled && put_user(enabled, in efi_runtime_get_waketime()
361 getwakeuptime.enabled)) in efi_runtime_get_waketime()
364 if (getwakeuptime.time) { in efi_runtime_get_waketime()
365 if (copy_to_user(getwakeuptime.time, &efi_time, in efi_runtime_get_waketime()