Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr_race.c8 static int get_map_id(int map_fd) in get_map_id() function
51 map_id = get_map_id(bpf_map__fd(skel->maps.race_hash_map)); in test_htab_leak()
112 map_id = get_map_id(bpf_map__fd(skel->maps.race_percpu_hash_map)); in test_percpu_htab_leak()
173 map_id = get_map_id(bpf_map__fd(skel->maps.race_sk_ls_map)); in test_sk_ls_leak()
H A Dpinning.c8 __u32 get_map_id(struct bpf_object *obj, const char *name) in get_map_id() function
82 map_id = get_map_id(obj, "pinmap"); in test_pinning()
99 map_id2 = get_map_id(obj, "pinmap"); in test_pinning()