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
125 return i + arch_fetch_and_add(&v->counter, i); in atomic_add_return()138 return arch_fetch_and_add(&v->counter, -i) - i; in atomic_sub_return()
207 #define arch_fetch_and_add(ptr, v) \ macro
164 tickets.head_tail = arch_fetch_and_add(&lock->tickets.head_tail, in _spin_lock_cb()
637 oc = arch_fetch_and_add(&pg->linear_pt_count, -1); in dec_linear_entries()661 oc = arch_fetch_and_add(&pg->linear_pt_count, 1); in dec_linear_uses()
Completed in 25 milliseconds