Searched refs:atomic_long_add_unless (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/include/asm-generic/ |
D | local.h | 47 #define local_add_unless(l, _a, u) atomic_long_add_unless((&(l)->a), (_a), (u))
|
/linux-6.12.1/include/linux/ |
D | percpu-refcount.h | 247 ret = atomic_long_add_unless(&ref->data->count, nr, 0); in percpu_ref_tryget_many()
|
/linux-6.12.1/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 102 atomic_long_add_unless(&(a)->x,-1,1)@p1
|
/linux-6.12.1/mm/kasan/ |
D | kasan_test_c.c | 752 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_add_unless(unsafe, 21, 42)); in kasan_atomics_helper()
|
/linux-6.12.1/include/linux/atomic/ |
D | atomic-instrumented.h | 4670 atomic_long_add_unless(atomic_long_t *v, long a, long u) in atomic_long_add_unless() function
|
/linux-6.12.1/tools/memory-model/Documentation/ |
D | litmus-tests.txt | 1009 atomic_long_add_unless(), atomic_inc_unless_negative(),
|