Searched refs:lock_xadd (Results 1 - 4 of 4) sorted by relevance

/external/iproute2/examples/bpf/
H A Dbpf_shared.c30 lock_xadd(val, 1);
H A Dbpf_prog.c392 lock_xadd(&ct->packets, 1);
393 lock_xadd(&ct->bytes, skb->len);
414 lock_xadd(&cq->total, 1);
416 lock_xadd(&cq->mismatch, 1);
H A Dbpf_tailcall.c89 lock_xadd(val, 1);
/external/iproute2/include/
H A Dbpf_api.h212 #ifndef lock_xadd
213 # define lock_xadd(ptr, val) ((void) __sync_fetch_and_add(ptr, val)) macro

Completed in 92 milliseconds