Lines Matching refs:ref

57 	struct probe_trace_arg_ref *ref;  in alloc_trace_arg_ref()  local
58 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
59 if (ref != NULL) in alloc_trace_arg_ref()
60 ref->offset = offs; in alloc_trace_arg_ref()
61 return ref; in alloc_trace_arg_ref()
81 bool ref = false; in convert_variable_location() local
147 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
148 if (tvar->ref == NULL) in convert_variable_location()
157 ref = true; in convert_variable_location()
165 ref = true; in convert_variable_location()
171 ref = true; in convert_variable_location()
194 if (ref) { in convert_variable_location()
195 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
196 if (tvar->ref == NULL) in convert_variable_location()
206 struct probe_trace_arg_ref **ref_ptr = &tvar->ref; in convert_variable_type()
326 struct probe_trace_arg_ref *ref = *ref_ptr; in convert_variable_fields() local
352 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
353 if (ref == NULL) in convert_variable_fields()
356 (*ref_ptr)->next = ref; in convert_variable_fields()
358 *ref_ptr = ref; in convert_variable_fields()
360 ref->offset += dwarf_bytesize(&type) * field->index; in convert_variable_fields()
361 ref->user_access = user_access; in convert_variable_fields()
365 if (!field->ref) { in convert_variable_fields()
383 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
384 if (ref == NULL) in convert_variable_fields()
387 (*ref_ptr)->next = ref; in convert_variable_fields()
389 *ref_ptr = ref; in convert_variable_fields()
403 if (field->ref && dwarf_diename(vr_die)) { in convert_variable_fields()
408 if (!ref) { in convert_variable_fields()
432 ref->offset += (long)offs; in convert_variable_fields()
433 ref->user_access = user_access; in convert_variable_fields()
438 &ref, die_mem, user_access); in convert_variable_fields()
444 field->next, &ref, die_mem, user_access); in convert_variable_fields()
477 pf->pvar->field, &pf->tvar->ref, in convert_variable()