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

Function atomic_inc

Ext4Fsd/include/linux/atomic.h:95–98  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

93 * useful range of an atomic_t is only 24 bits.
94 */
95static inline void atomic_inc(atomic_t volatile *v)
96{
97 InterlockedIncrement((PLONG)(&v->counter));
98}
99
100/**
101 * atomic_dec - decrement atomic variable

Callers 8

kmem_cache_allocFunction · 0.85
new_buffer_headFunction · 0.85
igetFunction · 0.85
ext4_get_group_descFunction · 0.85
get_bhFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected