MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / atomic_dec

Function atomic_dec

Ext4Fsd/include/linux/atomic.h:107–110  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

105 * useful range of an atomic_t is only 24 bits.
106 */
107static 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

Callers 4

kmem_cache_freeFunction · 0.85
free_buffer_headFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected