Searched refs:specs_hash (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | usdt.c | 900 static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash, in allocate_spec_id() argument 909 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id() 928 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 941 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id() 963 struct hashmap *specs_hash = NULL; in usdt_manager_attach_usdt() local 997 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt() 998 if (IS_ERR(specs_hash)) { in usdt_manager_attach_usdt() 999 err = PTR_ERR(specs_hash); in usdt_manager_attach_usdt() 1044 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new); in usdt_manager_attach_usdt() 1113 hashmap__free(specs_hash); in usdt_manager_attach_usdt() [all …]
|