Lines Matching defs:specs_hash
911 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash,
920 if (hashmap__find(specs_hash, target->spec_str, &tmp)) {
939 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
952 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
974 struct hashmap *specs_hash = NULL;
1008 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL);
1009 if (IS_ERR(specs_hash)) {
1010 err = PTR_ERR(specs_hash);
1055 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new);
1124 hashmap__free(specs_hash);
1136 hashmap__free(specs_hash);