Searched refs:atomic_add (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/kernel/tests/ |
H A D | sync_ipi_tests.cpp | 32 int oldval = atomic_add(inorder_counter, 1); 41 atomic_add(counter, 1);
|
H A D | thread_tests.cpp | 354 atomic_add(&atomic, add); 357 int old = atomic_add(&atomic_count, -1); 398 atomic_add(&preempt_count, -1); 792 atomic_add(&atomic_count, 1);
|
H A D | timer_tests.cpp | 358 if (atomic_add(&arg->remaining, -1) >= 1) {
|
/fuchsia/zircon/kernel/lib/ktrace/ |
H A D | ktrace.cpp | 253 if ((off = atomic_add(&ks->offset, KTRACE_HDRSIZE)) >= (int)ks->bufsize) { 272 if ((off = atomic_add(&ks->offset, KTRACE_LEN(tag))) >= (int)ks->bufsize) { 294 if ((off = atomic_add(&ks->offset, KTRACE_LEN(tag))) >= (int)ks->bufsize) {
|
/fuchsia/zircon/kernel/include/kernel/ |
H A D | atomic.h | 19 static inline int atomic_add(volatile int* ptr, int val) { function
|
Completed in 87 milliseconds