Searched refs:lock_xadd (Results 1 – 12 of 12) sorted by relevance
/external/bcc/examples/networking/vlan_learning/ |
D | vlan_learning.c | 30 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/ |
D | monitor.c | 130 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/ |
D | test_stat1.c | 51 lock_xadd(&leaf->rx_pkts, rx); in on_packet() 52 lock_xadd(&leaf->tx_pkts, tx); in on_packet()
|
D | test_xlate1.c | 52 lock_xadd(&xleafp->arp_xlated_pkts, 1); in on_packet() 69 lock_xadd(&xleafp->ip_xlated_pkts, 1); in on_packet()
|
D | test_brb2.c | 25 lock_xadd(value, 1); in pem()
|
D | test_trace3.c | 51 lock_xadd(val, 1); in probe_blk_update_request()
|
D | test_brb.c | 99 lock_xadd(value, 1); in pem()
|
/external/bcc/examples/networking/distributed_bridge/ |
D | tunnel.c | 41 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/ |
D | bpf_shared.c | 36 lock_xadd(val, 1); in emain()
|
D | bpf_map_in_map.c | 34 lock_xadd(val, 1); in emain()
|
D | bpf_tailcall.c | 106 lock_xadd(val, 1); in cls_entry()
|
/external/iproute2/include/ |
D | bpf_api.h | 226 #ifndef lock_xadd 227 # define lock_xadd(ptr, val) ((void) __sync_fetch_and_add(ptr, val)) macro
|