Lines Matching refs:ref
162 struct probe_trace_arg_ref *ref; in alloc_trace_arg_ref() local
163 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
164 if (ref != NULL) in alloc_trace_arg_ref()
165 ref->offset = offs; in alloc_trace_arg_ref()
166 return ref; in alloc_trace_arg_ref()
186 bool ref = false; in convert_variable_location() local
238 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
239 if (tvar->ref == NULL) in convert_variable_location()
248 ref = true; in convert_variable_location()
256 ref = true; in convert_variable_location()
262 ref = true; in convert_variable_location()
285 if (ref) { in convert_variable_location()
286 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
287 if (tvar->ref == NULL) in convert_variable_location()
299 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
416 struct probe_trace_arg_ref *ref = *ref_ptr; in convert_variable_fields() local
442 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
443 if (ref == NULL) in convert_variable_fields()
446 (*ref_ptr)->next = ref; in convert_variable_fields()
448 *ref_ptr = ref; in convert_variable_fields()
450 ref->offset += dwarf_bytesize(&type) * field->index; in convert_variable_fields()
457 if (!field->ref) { in convert_variable_fields()
475 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
476 if (ref == NULL) in convert_variable_fields()
479 (*ref_ptr)->next = ref; in convert_variable_fields()
481 *ref_ptr = ref; in convert_variable_fields()
495 if (field->ref && dwarf_diename(vr_die)) { in convert_variable_fields()
500 if (!ref) { in convert_variable_fields()
524 ref->offset += (long)offs; in convert_variable_fields()
529 &ref, die_mem); in convert_variable_fields()
535 field->next, &ref, die_mem); in convert_variable_fields()
560 pf->pvar->field, &pf->tvar->ref, in convert_variable()