* time_after - is a after b? * @a: one abstime. * @b: another abstime. * * Example: * static bool timed_out(const struct timeabs *start) * { * #define TIMEOUT time_from_msec(1000) * return time_after(time_now(), timeabs_add(*start, TIMEOUT)); * } */
| 179 | * } |
| 180 | */ |
| 181 | static inline bool time_after(struct timeabs a, struct timeabs b) |
| 182 | { |
| 183 | return time_greater_(a.ts, b.ts); |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * time_greater - is a greater than b? |