Searched refs:tv_nsec (Results 1 – 6 of 6) sorted by relevance
30 if (rqtp->tv_nsec < 0 || rqtp->tv_nsec >= 1000000000) in nanosleep()35 if (rqtp->tv_nsec < 500000) in nanosleep()37 uint64_t expired_tsc = rdtsc() + (((uint64_t)rqtp->tv_nsec) * Cpu_tsc_freq) / 1000000000; in nanosleep()43 rmtp->tv_nsec = 0; in nanosleep()53 timer_func_init_us(sleep_task, &nanosleep_handler, (void *)current_pcb, rqtp->tv_nsec / 1000); in nanosleep()65 rmtp->tv_nsec = 0; in nanosleep()82 tv_nsec : (long int)(usec % 1000000) * 1000UL in usleep()
7 pub tv_nsec: i64, field
17 ``long int tv_nsec`` : 纳秒
32 long int tv_nsec; // 纳秒 member
28 tv_nsec : (long int)(usec % 1000000) * 1000UL in usleep()
28 int64_t tv_nsec; // 纳秒 member