Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dusdt.c886 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash, in allocate_spec_id() argument
895 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
914 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
927 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
948 struct hashmap *specs_hash = NULL; in usdt_manager_attach_usdt() local
992 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt()
993 if (IS_ERR(specs_hash)) { in usdt_manager_attach_usdt()
994 err = PTR_ERR(specs_hash); in usdt_manager_attach_usdt()
1028 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new); in usdt_manager_attach_usdt()
1069 hashmap__free(specs_hash); in usdt_manager_attach_usdt()
[all …]