Home
last modified time | relevance | path

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

/samples/bpf/
A Dsyscall_tp_user.c25 static void verify_map(int map_id) in verify_map() argument
30 if (bpf_map_lookup_elem(map_id, &key, &val) != 0) { in verify_map()
35 fprintf(stderr, "failed: map #%d returns value 0\n", map_id); in verify_map()
39 printf("verify map:%d val: %d\n", map_id, val); in verify_map()
42 if (bpf_map_update_elem(map_id, &key, &val, BPF_ANY) != 0) { in verify_map()
A 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()

Completed in 3 milliseconds