Lines Matching refs:jiffies
66 * but that can only take up to, say, 4-byte variables. jiffies being part of
77 extern unsigned long volatile __jiffy_data jiffies;
84 return (u64)jiffies;
147 * These four macros compare jiffies and 'a' for convenience.
150 /* time_is_before_jiffies(a) return true if a is before jiffies */
151 #define time_is_before_jiffies(a) time_after(jiffies, a)
153 /* time_is_after_jiffies(a) return true if a is after jiffies */
154 #define time_is_after_jiffies(a) time_before(jiffies, a)
156 /* time_is_before_eq_jiffies(a) return true if a is before or equal to jiffies*/
157 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a)
159 /* time_is_after_eq_jiffies(a) return true if a is after or equal to jiffies*/
160 #define time_is_after_eq_jiffies(a) time_before_eq(jiffies, a)
163 * Have the 32 bit jiffies value wrap 5 minutes after boot
164 * so jiffies wrap bugs show up earlier.
169 * Change timeval to jiffies, trying to avoid the
176 * to wait "jiffies+1" in order to guarantee that we wait
177 * at _least_ "jiffies" - so "jiffies+1" had better still
186 * values the update wall clock code uses as the jiffies size. This value
204 * Suppose, for example, we want to convert from seconds to jiffies
205 * where jiffies is defined in nanoseconds as NSEC_PER_JIFFIE. The
294 extern void jiffies_to_timespec(const unsigned long jiffies,
297 extern void jiffies_to_timeval(const unsigned long jiffies,