Lines Matching refs:value
514 timespec_to_jiffies(const struct timespec *value) in timespec_to_jiffies() argument
516 unsigned long sec = value->tv_sec; in timespec_to_jiffies()
517 long nsec = value->tv_nsec + TICK_NSEC - 1; in timespec_to_jiffies()
531 jiffies_to_timespec(const unsigned long jiffies, struct timespec *value) in jiffies_to_timespec() argument
538 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timespec()
540 value->tv_nsec = rem; in jiffies_to_timespec()
557 timeval_to_jiffies(const struct timeval *value) in timeval_to_jiffies() argument
559 unsigned long sec = value->tv_sec; in timeval_to_jiffies()
560 long usec = value->tv_usec; in timeval_to_jiffies()
572 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) in jiffies_to_timeval() argument
580 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timeval()
582 value->tv_usec = rem / NSEC_PER_USEC; in jiffies_to_timeval()