Searched refs:MSEC_PER_SEC (Results 1 – 1 of 1) sorted by relevance
244 #define MSEC_PER_SEC 1000L macro247 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in _kc_jiffies_to_msecs()248 return (MSEC_PER_SEC / HZ) * j; in _kc_jiffies_to_msecs()249 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in _kc_jiffies_to_msecs()250 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in _kc_jiffies_to_msecs()252 return (j * MSEC_PER_SEC) / HZ; in _kc_jiffies_to_msecs()259 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in _kc_msecs_to_jiffies()260 return (m + (MSEC_PER_SEC / HZ) - 1) / (MSEC_PER_SEC / HZ); in _kc_msecs_to_jiffies()261 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in _kc_msecs_to_jiffies()262 return m * (HZ / MSEC_PER_SEC); in _kc_msecs_to_jiffies()[all …]