Lines Matching defs:ts
968 struct user_timespec ts;
975 error = copyin(uap->ts, &ts64, sizeof(ts64));
976 ts.tv_sec = ts64.tv_sec;
977 ts.tv_nsec = ts64.tv_nsec;
980 error = copyin(uap->ts, &ts32, sizeof(ts32));
981 ts.tv_sec = ts32.tv_sec;
982 ts.tv_nsec = ts32.tv_nsec;
989 if ((ts.tv_sec & 0xFFFFFFFF00000000ULL) != 0) {
990 ts.tv_sec = 0xFFFFFFFF;
991 ts.tv_nsec = 0;
996 then.tv_sec = ts.tv_sec;
997 then.tv_nsec = ts.tv_nsec;
1002 if (now.tv_sec == ts.tv_sec ?
1003 now.tv_nsec > ts.tv_nsec :
1004 now.tv_sec > ts.tv_sec) {
1008 then.tv_sec = ts.tv_sec - now.tv_sec;
1009 then.tv_nsec = ts.tv_nsec - now.tv_nsec;
1067 struct user_timespec ts;
1072 ts.tv_sec = uap->tv_sec;
1073 ts.tv_nsec = uap->tv_nsec;
1075 if ((ts.tv_sec & 0xFFFFFFFF00000000ULL) != 0) {
1076 ts.tv_sec = 0xFFFFFFFF;
1077 ts.tv_nsec = 0;
1082 then.tv_sec = ts.tv_sec;
1083 then.tv_nsec = ts.tv_nsec;
1088 if (now.tv_sec == ts.tv_sec ?
1089 now.tv_nsec > ts.tv_nsec :
1090 now.tv_sec > ts.tv_sec) {
1094 then.tv_sec = ts.tv_sec - now.tv_sec;
1095 then.tv_nsec = ts.tv_nsec - now.tv_nsec;