Lines Matching defs:spec_id
913 int *spec_id, bool *is_new)
921 *spec_id = tmp;
936 *spec_id = man->free_spec_ids[man->free_spec_cnt - 1];
939 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
949 *spec_id = man->next_free_spec_id;
952 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
960 link->spec_ids[link->spec_cnt] = *spec_id;
1045 int spec_id;
1055 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new);
1059 if (is_new && bpf_map_update_elem(spec_map_fd, &spec_id, &target->spec, BPF_ANY)) {
1062 spec_id, usdt_provider, usdt_name, path, errstr(err));
1066 bpf_map_update_elem(ip_map_fd, &target->abs_ip, &spec_id, BPF_NOEXIST)) {
1070 spec_id, usdt_provider, usdt_name, path);
1073 target->abs_ip, spec_id, usdt_provider, usdt_name,
1082 cookies[i] = spec_id;
1085 opts.bpf_cookie = man->has_bpf_cookie ? spec_id : 0;