Searched refs:arch_fetch_and_add (Results 1 – 5 of 5) sorted by relevance
61 #define arch_fetch_and_add(x, v) __sync_fetch_and_add(x, v) macro
123 return i + arch_fetch_and_add(&v->counter, i); in atomic_add_return()136 return arch_fetch_and_add(&v->counter, -i) - i; in atomic_sub_return()
163 #define arch_fetch_and_add(ptr, v) \ macro
144 tickets.head_tail = arch_fetch_and_add(&lock->tickets.head_tail, in _spin_lock_cb()
668 oc = arch_fetch_and_add(&pg->linear_pt_count, -1); in dec_linear_entries()692 oc = arch_fetch_and_add(&pg->linear_pt_count, 1); in dec_linear_uses()
Completed in 13 milliseconds