Lines Matching defs:specs_hash
900 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash,
909 if (hashmap__find(specs_hash, target->spec_str, &tmp)) {
928 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
941 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
963 struct hashmap *specs_hash = NULL;
997 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL);
998 if (IS_ERR(specs_hash)) {
999 err = PTR_ERR(specs_hash);
1044 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new);
1113 hashmap__free(specs_hash);
1125 hashmap__free(specs_hash);