* atomic_dec - decrement atomic variable * @v: pointer of type atomic_t * * Atomically decrements @v by 1. Note that the guaranteed * useful range of an atomic_t is only 24 bits. */
| 105 | * useful range of an atomic_t is only 24 bits. |
| 106 | */ |
| 107 | static inline void atomic_dec(atomic_t volatile *v) |
| 108 | { |
| 109 | InterlockedDecrement((PLONG)(&v->counter)); |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * atomic_dec_and_test - decrement and test |
no outgoing calls
no test coverage detected