Lines Matching refs:machine
104 void vdso__exit(struct machine *machine) in vdso__exit() argument
106 struct vdso_info *vdso_info = machine->vdso_info; in vdso__exit()
120 zfree(&machine->vdso_info); in vdso__exit()
123 static struct dso *vdso__new(struct machine *machine, const char *short_name, in vdso__new() argument
130 dsos__add(&machine->user_dsos, dso); in vdso__new()
139 static enum dso_type machine__thread_dso_type(struct machine *machine, in machine__thread_dso_type() argument
151 dso_type = dso__type(dso, machine); in machine__thread_dso_type()
233 static struct dso *vdso__findnew_compat(struct machine *machine, in vdso__findnew_compat() argument
239 dso = dsos__find(&machine->user_dsos, vdso_file->dso_name, true); in vdso__findnew_compat()
247 return vdso__new(machine, vdso_file->dso_name, file_name); in vdso__findnew_compat()
250 static int vdso__dso_findnew_compat(struct machine *machine, in vdso__dso_findnew_compat() argument
257 dso_type = machine__thread_dso_type(machine, thread); in vdso__dso_findnew_compat()
270 *dso = vdso__findnew_compat(machine, &vdso_info->vdso32); in vdso__dso_findnew_compat()
273 *dso = vdso__findnew_compat(machine, &vdso_info->vdsox32); in vdso__dso_findnew_compat()
284 struct dso *vdso__dso_findnew(struct machine *machine, in vdso__dso_findnew() argument
290 if (!machine->vdso_info) in vdso__dso_findnew()
291 machine->vdso_info = vdso_info__new(); in vdso__dso_findnew()
293 vdso_info = machine->vdso_info; in vdso__dso_findnew()
298 if (vdso__dso_findnew_compat(machine, thread, vdso_info, &dso)) in vdso__dso_findnew()
302 dso = dsos__find(&machine->user_dsos, DSO__NAME_VDSO, true); in vdso__dso_findnew()
310 dso = vdso__new(machine, DSO__NAME_VDSO, file); in vdso__dso_findnew()