Lines Matching refs:vdso_file

31 struct vdso_file {  struct
40 struct vdso_file vdso; argument
42 struct vdso_file vdso32;
43 struct vdso_file vdsox32;
71 static char *get_file(struct vdso_file *vdso_file) in get_file() argument
79 if (vdso_file->found) in get_file()
80 return vdso_file->temp_file_name; in get_file()
82 if (vdso_file->error || find_map(&start, &end, VDSO__MAP_NAME)) in get_file()
91 fd = mkstemp(vdso_file->temp_file_name); in get_file()
96 vdso = vdso_file->temp_file_name; in get_file()
103 vdso_file->found = (vdso != NULL); in get_file()
104 vdso_file->error = !vdso_file->found; in get_file()
214 static const char *vdso__get_compat_file(struct vdso_file *vdso_file) in vdso__get_compat_file() argument
218 if (vdso_file->found) in vdso__get_compat_file()
219 return vdso_file->temp_file_name; in vdso__get_compat_file()
221 if (vdso_file->error) in vdso__get_compat_file()
224 err = vdso__create_compat_file(vdso_file->read_prog, in vdso__get_compat_file()
225 vdso_file->temp_file_name); in vdso__get_compat_file()
227 pr_err("%s failed, error %d\n", vdso_file->read_prog, err); in vdso__get_compat_file()
228 vdso_file->error = true; in vdso__get_compat_file()
232 vdso_file->found = true; in vdso__get_compat_file()
234 return vdso_file->temp_file_name; in vdso__get_compat_file()
238 struct vdso_file *vdso_file) in __machine__findnew_compat() argument
243 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat()
247 file_name = vdso__get_compat_file(vdso_file); in __machine__findnew_compat()
251 dso = __machine__addnew_vdso(machine, vdso_file->dso_name, file_name); in __machine__findnew_compat()