Lines Matching refs:HZ
182 # if HZ <= 1000 && !(1000 % HZ)
183 return (1000 / HZ) * cJiffies;
184 # elif HZ > 1000 && !(HZ % 1000)
185 return (cJiffies + (HZ / 1000) - 1) / (HZ / 1000);
187 return (cJiffies * 1000) / HZ;
193 # if HZ > 1000
197 # if HZ <= 1000 && !(1000 % HZ)
198 return (cMillies + (1000 / HZ) - 1) / (1000 / HZ);
199 # elif HZ > 1000 && !(HZ % 1000)
200 return cMillies * (HZ / 1000);
202 return (cMillies * HZ + 999) / 1000;
241 # define TICK_NSEC (1000000000UL / HZ)
326 #if HZ <= 1000
328 #elif !(HZ % 1000)
329 # define ONE_MSEC_IN_JIFFIES (HZ / 1000)
331 # define ONE_MSEC_IN_JIFFIES ((HZ + 999) / 1000)
332 # error "HZ is not a multiple of 1000, the GIP stuff won't work right!"