Searched refs:atomic64_add_unless (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/lib/ |
D | atomic64_test.c | 207 BUG_ON(atomic64_add_unless(&v, one, v0)); in test_atomic64() 211 BUG_ON(!atomic64_add_unless(&v, one, v1)); in test_atomic64()
|
/Linux-v5.10/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 104 atomic64_add_unless(&(a)->x,-1,1)@p1
|
/Linux-v5.10/include/asm-generic/ |
D | local64.h | 85 #define local64_add_unless(l, _a, u) atomic64_add_unless((&(l)->a), (_a), (u))
|
D | atomic-instrumented.h | 1596 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() function 1601 #define atomic64_add_unless atomic64_add_unless macro
|
D | atomic-long.h | 491 return atomic64_add_unless(v, a, u); in atomic_long_add_unless()
|
/Linux-v5.10/include/linux/ |
D | atomic-fallback.h | 2431 #define arch_atomic64_add_unless atomic64_add_unless 2433 #ifndef atomic64_add_unless 2444 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() function 2448 #define atomic64_add_unless atomic64_add_unless macro 2464 return atomic64_add_unless(v, 1, 0); in atomic64_inc_not_zero()
|
/Linux-v5.10/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 457 atomic64_add_unless(&mem->mapped, -1, 1); in mm_iommu_mapped_dec()
|