Lines Matching refs:ref

158 	struct probe_trace_arg_ref *ref;  in alloc_trace_arg_ref()  local
159 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
160 if (ref != NULL) in alloc_trace_arg_ref()
161 ref->offset = offs; in alloc_trace_arg_ref()
162 return ref; in alloc_trace_arg_ref()
181 bool ref = false; in convert_variable_location() local
233 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
234 if (tvar->ref == NULL) in convert_variable_location()
243 ref = true; in convert_variable_location()
251 ref = true; in convert_variable_location()
257 ref = true; in convert_variable_location()
280 if (ref) { in convert_variable_location()
281 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
282 if (tvar->ref == NULL) in convert_variable_location()
294 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
398 struct probe_trace_arg_ref *ref = *ref_ptr; in convert_variable_fields() local
424 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
425 if (ref == NULL) in convert_variable_fields()
428 (*ref_ptr)->next = ref; in convert_variable_fields()
430 *ref_ptr = ref; in convert_variable_fields()
432 ref->offset += dwarf_bytesize(&type) * field->index; in convert_variable_fields()
439 if (!field->ref) { in convert_variable_fields()
457 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
458 if (ref == NULL) in convert_variable_fields()
461 (*ref_ptr)->next = ref; in convert_variable_fields()
463 *ref_ptr = ref; in convert_variable_fields()
477 if (field->ref && dwarf_diename(vr_die)) { in convert_variable_fields()
482 if (!ref) { in convert_variable_fields()
506 ref->offset += (long)offs; in convert_variable_fields()
511 &ref, die_mem); in convert_variable_fields()
517 field->next, &ref, die_mem); in convert_variable_fields()
542 pf->pvar->field, &pf->tvar->ref, in convert_variable()