Lines Matching defs:cdv
2016 ctf_dwvar_t *cdv;
2060 if ((cdv = ctf_alloc(sizeof (ctf_dwvar_t))) == NULL) {
2065 cdv->cdv_name = name;
2066 cdv->cdv_type = id;
2068 if ((ret = ctf_dwarf_isglobal(cup, die, &cdv->cdv_global)) != 0) {
2069 ctf_free(cdv, sizeof (ctf_dwvar_t));
2074 ctf_list_append(&cup->cu_vars, cdv);
2201 ctf_dwvar_t *cdv;
2208 for (cdv = ctf_list_next(&cup->cu_vars); cdv != NULL;
2209 cdv = ctf_list_next(cdv)) {
2210 if (bind == STB_GLOBAL && cdv->cdv_global == B_FALSE)
2212 if (bind == STB_LOCAL && cdv->cdv_global == B_TRUE)
2214 if (strcmp(name, cdv->cdv_name) != 0)
2218 return (cdv);
2300 ctf_dwvar_t *cdv = ctf_dwarf_match_var(cup, file, name,
2302 ctf_dprintf("match for %s (%d): %p\n", name, idx, cdv);
2303 if (cdv == NULL)
2305 ret = ctf_add_object(cup->cu_ctfp, idx, cdv->cdv_type);
2631 ctf_dwvar_t *cdv, *ndv;
2660 for (cdv = ctf_list_next(&cup->cu_vars); cdv != NULL; cdv = ndv) {
2661 ndv = ctf_list_next(cdv);
2662 ctf_free(cdv->cdv_name, strlen(cdv->cdv_name) + 1);
2663 ctf_free(cdv, sizeof (ctf_dwvar_t));