Searched refs:atomic64_add_unless (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/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-6.6.21/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 104 atomic64_add_unless(&(a)->x,-1,1)@p1
|
/linux-6.6.21/include/asm-generic/ |
D | local64.h | 95 #define local64_add_unless(l, _a, u) atomic64_add_unless((&(l)->a), (_a), (u))
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | iommu_api.c | 395 atomic64_add_unless(&mem->mapped, -1, 1); in mm_iommu_mapped_dec()
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | fib.c | 198 if (!atomic64_add_unless(&entry->num, 1, entry->max)) { in nsim_fib_rule_account() 232 if (!atomic64_add_unless(&entry->num, 1, entry->max)) in nsim_fib_account() 1163 if (!atomic64_add_unless(&data->nexthops.num, 1, in nsim_nexthop_account()
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 3068 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() function
|