Lines Matching refs:timespec64
405 int SysClockSettime64(clockid_t clockID, const struct timespec64 *tp)
409 struct timespec64 stp;
416 if (LOS_ArchCopyFromUser(&stp, tp, sizeof(struct timespec64))) {
435 int SysClockGettime64(clockid_t clockID, struct timespec64 *tp)
439 struct timespec64 stp = { 0 };
454 if (LOS_ArchCopyToUser(tp, &stp, sizeof(struct timespec64))) {
462 int SysClockGetres64(clockid_t clockID, struct timespec64 *tp)
466 struct timespec64 stp = { 0 };
481 if (LOS_ArchCopyToUser(tp, &stp, sizeof(struct timespec64))) {
489 int SysClockNanoSleep64(clockid_t clk, int flags, const struct timespec64 *req, struct timespec64 *rem)
494 struct timespec64 sreq;
495 struct timespec64 srem = { 0 };
497 if (!req || LOS_ArchCopyFromUser(&sreq, req, sizeof(struct timespec64))) {
515 if (LOS_ArchCopyToUser(rem, &srem, sizeof(struct timespec64))) {