Searched refs:pcpu_counter (Results 1 – 1 of 1) sorted by relevance
69 struct percpu_attach_counter *pcpu_counter = bpf_map_lookup_elem( in BPF_PROG() local73 if (pcpu_counter) in BPF_PROG()74 pcpu_counter->state += 1; in BPF_PROG()85 struct percpu_attach_counter *pcpu_counter; in BPF_PROG() local93 pcpu_counter = bpf_map_lookup_percpu_elem(&percpu_attach_counters, in BPF_PROG()95 if (pcpu_counter) { in BPF_PROG()96 state = pcpu_counter->state; in BPF_PROG()97 delta += state - pcpu_counter->prev; in BPF_PROG()98 pcpu_counter->prev = state; in BPF_PROG()
Completed in 2 milliseconds