Searched refs:atomic64_add_unless (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/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.4/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 104 atomic64_add_unless(&(a)->x,-1,1)@p1
|
/Linux-v5.4/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 | 1595 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() function 1600 #define atomic64_add_unless atomic64_add_unless macro
|
D | atomic-long.h | 490 return atomic64_add_unless(v, a, u); in atomic_long_add_unless()
|
/Linux-v5.4/include/linux/ |
D | atomic-fallback.h | 2208 #ifndef atomic64_add_unless 2219 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() function 2223 #define atomic64_add_unless atomic64_add_unless macro 2237 return atomic64_add_unless(v, 1, 0); in atomic64_inc_not_zero()
|
/Linux-v5.4/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 454 atomic64_add_unless(&mem->mapped, -1, 1); in mm_iommu_mapped_dec()
|