Lines Matching refs:idx
71 u32 idx; in xdp_redirect_collect_stat() local
78 idx = key * nr_cpus + cpu; in xdp_redirect_collect_stat()
79 rec = bpf_map_lookup_elem(&redir_err_cnt, &idx); in xdp_redirect_collect_stat()
133 u32 idx; in BPF_PROG() local
138 idx = to_cpu * nr_cpus + cpu; in BPF_PROG()
139 rec = bpf_map_lookup_elem(&cpumap_enqueue_cnt, &idx); in BPF_PROG()
186 u32 key = act, idx; in BPF_PROG() local
196 idx = key * nr_cpus + cpu; in BPF_PROG()
197 rec = bpf_map_lookup_elem(&exception_cnt, &idx); in BPF_PROG()
243 u64 idx; in BPF_PROG() local
247 idx = idx_in; in BPF_PROG()
248 idx = idx << 32 | idx_out; in BPF_PROG()
255 bpf_map_update_elem(&devmap_xmit_cnt_multi, &idx, &empty, BPF_NOEXIST); in BPF_PROG()
256 rec = bpf_map_lookup_elem(&devmap_xmit_cnt_multi, &idx); in BPF_PROG()