Home
last modified time | relevance | path

Searched refs:lock_xadd (Results 1 – 12 of 12) sorted by relevance

/external/bcc/examples/networking/vlan_learning/
Dvlan_learning.c30 lock_xadd(&leaf->tx_pkts, 1); in handle_phys2virt()
31 lock_xadd(&leaf->tx_bytes, skb->len); in handle_phys2virt()
55 lock_xadd(&leaf->tx_pkts, 1); in handle_virt2phys()
56 lock_xadd(&leaf->tx_bytes, skb->len); in handle_virt2phys()
/external/bcc/examples/networking/tunnel_monitor/
Dmonitor.c130 lock_xadd(&leaf->rx_pkts, 1); in handle_inner()
131 lock_xadd(&leaf->rx_bytes, skb->len); in handle_inner()
133 lock_xadd(&leaf->tx_pkts, 1); in handle_inner()
134 lock_xadd(&leaf->tx_bytes, skb->len); in handle_inner()
/external/bcc/tests/python/
Dtest_stat1.c51 lock_xadd(&leaf->rx_pkts, rx); in on_packet()
52 lock_xadd(&leaf->tx_pkts, tx); in on_packet()
Dtest_xlate1.c52 lock_xadd(&xleafp->arp_xlated_pkts, 1); in on_packet()
69 lock_xadd(&xleafp->ip_xlated_pkts, 1); in on_packet()
Dtest_brb2.c25 lock_xadd(value, 1); in pem()
Dtest_trace3.c51 lock_xadd(val, 1); in probe_blk_update_request()
Dtest_brb.c99 lock_xadd(value, 1); in pem()
/external/bcc/examples/networking/distributed_bridge/
Dtunnel.c41 lock_xadd(&src_host->rx_pkts, 1); in handle_ingress()
69 lock_xadd(&dst_host->tx_pkts, 1); in handle_egress()
/external/iproute2/examples/bpf/
Dbpf_shared.c36 lock_xadd(val, 1); in emain()
Dbpf_map_in_map.c34 lock_xadd(val, 1); in emain()
Dbpf_tailcall.c106 lock_xadd(val, 1); in cls_entry()
/external/iproute2/include/
Dbpf_api.h226 #ifndef lock_xadd
227 # define lock_xadd(ptr, val) ((void) __sync_fetch_and_add(ptr, val)) macro