Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 4 of 4) sorted by relevance

/lib/
Datomic64.c52 val = v->counter; in generic_atomic64_read()
64 v->counter = i; in generic_atomic64_set()
76 v->counter c_op a; \
89 val = (v->counter c_op a); \
103 val = v->counter; \
104 v->counter c_op a; \
140 val = v->counter - 1; in generic_atomic64_dec_if_positive()
142 v->counter = val; in generic_atomic64_dec_if_positive()
155 val = v->counter; in generic_atomic64_cmpxchg()
157 v->counter = n; in generic_atomic64_cmpxchg()
[all …]
Datomic64_test.c159 BUG_ON(v.counter != r); in test_atomic64()
163 BUG_ON(v.counter != r); in test_atomic64()
193 BUG_ON(v.counter != r); in test_atomic64()
198 BUG_ON(v.counter != r); in test_atomic64()
208 BUG_ON(v.counter != r); in test_atomic64()
213 BUG_ON(v.counter != r); in test_atomic64()
218 BUG_ON(v.counter != r); in test_atomic64()
222 BUG_ON(v.counter != r); in test_atomic64()
226 BUG_ON(v.counter != r); in test_atomic64()
231 BUG_ON(v.counter != r); in test_atomic64()
[all …]
Dtest_kasan.c589 int counter = 0; in kmalloc_uaf2() local
604 if (!IS_ENABLED(CONFIG_KASAN_GENERIC) && ptr1 == ptr2 && counter++ < 16) { in kmalloc_uaf2()
DKconfig.debug670 bool "Debug percpu counter objects"
674 percpu counter routines to track the life time of percpu counter
675 objects and validate the percpu counter operations.