Home
last modified time | relevance | path

Searched refs:atomic64_add_unless (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/lib/
Datomic64_test.c207 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/
Datomic_as_refcounter.cocci104 atomic64_add_unless(&(a)->x,-1,1)@p1
/linux-6.6.21/include/asm-generic/
Dlocal64.h95 #define local64_add_unless(l, _a, u) atomic64_add_unless((&(l)->a), (_a), (u))
/linux-6.6.21/arch/powerpc/mm/book3s64/
Diommu_api.c395 atomic64_add_unless(&mem->mapped, -1, 1); in mm_iommu_mapped_dec()
/linux-6.6.21/drivers/net/netdevsim/
Dfib.c198 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/
Datomic-instrumented.h3068 atomic64_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_add_unless() function