HomeSort by: relevance | last modified time | path
    Searched refs:sleepts (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/kern/
subr_time.c 88 inittimeleft(struct timespec *ts, struct timespec *sleepts)
95 getnanouptime(sleepts);
100 gettimeleft(struct timespec *ts, struct timespec *sleepts)
110 KASSERT(timespeccmp(sleepts, &now, <=));
111 timespecsub(&now, sleepts, &sleptts);
112 *sleepts = now;
124 clock_timeleft(clockid_t clockid, struct timespec *ts, struct timespec *sleepts)
129 timespecadd(ts, sleepts, ts);
131 *sleepts = sleptts;
sys_select.c 242 struct timespec sleepts; local in function:sel_do_scan
246 if (ts && inittimeleft(ts, &sleepts) == -1) {
299 if (ts && (timo = gettimeleft(ts, &sleepts)) <= 0)
kern_event.c 2275 struct timespec ats, sleepts; local in function:kqueue_scan
2293 if (inittimeleft(&ats, &sleepts) == -1) {
2322 gettimeleft(&ats, &sleepts)) > 0) {
  /src/tests/kernel/kqueue/
t_timer.c 167 struct timespec sleepts; local in function:ATF_TC_BODY
176 sleepts.tv_sec = TIME1_TOTAL_SEC;
177 sleepts.tv_nsec = 500000000;
178 ATF_REQUIRE(nanosleep(&sleepts, NULL) == 0);
197 struct timespec sleepts; local in function:ATF_TC_BODY
209 sleepts.tv_sec = 5;
210 sleepts.tv_nsec = 0;
211 ATF_REQUIRE(nanosleep(&sleepts, NULL) == 0);
230 sleepts.tv_sec = 5;
231 sleepts.tv_nsec = 0
    [all...]

Completed in 29 milliseconds