* atomic_inc - increment atomic variable * @v: pointer of type atomic_t * * Atomically increments @v by 1. Note that the guaranteed * useful range of an atomic_t is only 24 bits. */
| 93 | * useful range of an atomic_t is only 24 bits. |
| 94 | */ |
| 95 | static inline void atomic_inc(atomic_t volatile *v) |
| 96 | { |
| 97 | InterlockedIncrement((PLONG)(&v->counter)); |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * atomic_dec - decrement atomic variable |
no outgoing calls
no test coverage detected