Lines Matching refs:ref

155 	struct probe_trace_arg_ref *ref;  in alloc_trace_arg_ref()  local
156 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
157 if (ref != NULL) in alloc_trace_arg_ref()
158 ref->offset = offs; in alloc_trace_arg_ref()
159 return ref; in alloc_trace_arg_ref()
178 bool ref = false; in convert_variable_location() local
220 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
221 if (tvar->ref == NULL) in convert_variable_location()
230 ref = true; in convert_variable_location()
238 ref = true; in convert_variable_location()
244 ref = true; in convert_variable_location()
267 if (ref) { in convert_variable_location()
268 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
269 if (tvar->ref == NULL) in convert_variable_location()
281 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
385 struct probe_trace_arg_ref *ref = *ref_ptr; in convert_variable_fields() local
411 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
412 if (ref == NULL) in convert_variable_fields()
415 (*ref_ptr)->next = ref; in convert_variable_fields()
417 *ref_ptr = ref; in convert_variable_fields()
419 ref->offset += dwarf_bytesize(&type) * field->index; in convert_variable_fields()
426 if (!field->ref) { in convert_variable_fields()
444 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
445 if (ref == NULL) in convert_variable_fields()
448 (*ref_ptr)->next = ref; in convert_variable_fields()
450 *ref_ptr = ref; in convert_variable_fields()
464 if (field->ref && dwarf_diename(vr_die)) { in convert_variable_fields()
469 if (!ref) { in convert_variable_fields()
493 ref->offset += (long)offs; in convert_variable_fields()
498 &ref, die_mem); in convert_variable_fields()
504 field->next, &ref, die_mem); in convert_variable_fields()
527 pf->pvar->field, &pf->tvar->ref, in convert_variable()