Lines Matching defs:cNanoSecs
286 * @param cNanoSecs Nanoseconds.
288 DECLINLINE(ktime_t) rtTimerLnxNanoToKt(uint64_t cNanoSecs)
291 return ktime_set(cNanoSecs / 1000000000, cNanoSecs % 1000000000);
313 * @param cNanoSecs Nanoseconds.
315 DECLINLINE(unsigned long) rtTimerLnxNanoToJiffies(uint64_t cNanoSecs)
318 if (cNanoSecs > (uint64_t)TICK_NSEC * MAX_JIFFY_OFFSET)
321 if (RT_LIKELY(cNanoSecs <= UINT32_MAX))
322 return ((uint32_t)cNanoSecs + (TICK_NSEC-1)) / TICK_NSEC;
324 return (cNanoSecs + (TICK_NSEC-1)) / TICK_NSEC;