Home
last modified time | relevance | path

Searched refs:map_id (Results 1 – 2 of 2) sorted by relevance

/samples/bpf/
Dsyscall_tp_user.c26 static void verify_map(int map_id) in verify_map() argument
31 if (bpf_map_lookup_elem(map_id, &key, &val) != 0) { in verify_map()
36 fprintf(stderr, "failed: map #%d returns value 0\n", map_id); in verify_map()
40 if (bpf_map_update_elem(map_id, &key, &val, BPF_ANY) != 0) { in verify_map()
Dxdp_sample.bpf.c128 int BPF_PROG(tp_xdp_cpumap_enqueue, int map_id, unsigned int processed, in BPF_PROG() argument
135 if (cpumap_map_id && cpumap_map_id != map_id) in BPF_PROG()
156 int BPF_PROG(tp_xdp_cpumap_kthread, int map_id, unsigned int processed, in BPF_PROG() argument
162 if (cpumap_map_id && cpumap_map_id != map_id) in BPF_PROG()