Lines Matching defs:stp
266 struct timespec stp;
273 if (LOS_ArchCopyFromUser(&stp, tp, sizeof(struct timespec))) {
278 ret = clock_settime(clockID, &stp);
288 struct timespec stp = { 0 };
295 ret = clock_gettime(clockID, &stp);
300 if (LOS_ArchCopyToUser(tp, &stp, sizeof(struct timespec))) {
311 struct timespec stp = { 0 };
318 ret = clock_getres(clockID, &stp);
323 if (LOS_ArchCopyToUser(tp, &stp, sizeof(struct timespec))) {
409 struct timespec64 stp;
416 if (LOS_ArchCopyFromUser(&stp, tp, sizeof(struct timespec64))) {
421 if (stp.tv_sec > UINT32_MAX) {
425 t.tv_sec = stp.tv_sec;
426 t.tv_nsec = stp.tv_nsec;
439 struct timespec64 stp = { 0 };
451 stp.tv_sec = t.tv_sec;
452 stp.tv_nsec = t.tv_nsec;
454 if (LOS_ArchCopyToUser(tp, &stp, sizeof(struct timespec64))) {
466 struct timespec64 stp = { 0 };
478 stp.tv_sec = t.tv_sec;
479 stp.tv_nsec = t.tv_nsec;
481 if (LOS_ArchCopyToUser(tp, &stp, sizeof(struct timespec64))) {