Lines Matching refs:bpf_map_hash
90 static struct hashmap *bpf_map_hash; variable
1172 if (IS_ERR_OR_NULL(bpf_map_hash)) in map_priv()
1174 if (!hashmap__find(bpf_map_hash, map, &priv)) in map_priv()
1184 if (IS_ERR_OR_NULL(bpf_map_hash)) in bpf_map_hash_free()
1187 hashmap__for_each_entry(bpf_map_hash, cur, bkt) in bpf_map_hash_free()
1190 hashmap__free(bpf_map_hash); in bpf_map_hash_free()
1191 bpf_map_hash = NULL; in bpf_map_hash_free()
1198 if (WARN_ON_ONCE(IS_ERR(bpf_map_hash))) in map_set_priv()
1201 if (!bpf_map_hash) { in map_set_priv()
1202 bpf_map_hash = hashmap__new(ptr_hash, ptr_equal, NULL); in map_set_priv()
1203 if (IS_ERR(bpf_map_hash)) in map_set_priv()
1204 return PTR_ERR(bpf_map_hash); in map_set_priv()
1210 return hashmap__set(bpf_map_hash, map, priv, NULL, NULL); in map_set_priv()
1212 return hashmap__add(bpf_map_hash, map, priv); in map_set_priv()