Lines Matching refs:vdso_file
27 struct vdso_file { struct
36 struct vdso_file vdso; argument
38 struct vdso_file vdso32;
39 struct vdso_file vdsox32;
67 static char *get_file(struct vdso_file *vdso_file) in get_file() argument
75 if (vdso_file->found) in get_file()
76 return vdso_file->temp_file_name; in get_file()
78 if (vdso_file->error || find_vdso_map(&start, &end)) in get_file()
87 fd = mkstemp(vdso_file->temp_file_name); in get_file()
92 vdso = vdso_file->temp_file_name; in get_file()
99 vdso_file->found = (vdso != NULL); in get_file()
100 vdso_file->error = !vdso_file->found; in get_file()
210 static const char *vdso__get_compat_file(struct vdso_file *vdso_file) in vdso__get_compat_file() argument
214 if (vdso_file->found) in vdso__get_compat_file()
215 return vdso_file->temp_file_name; in vdso__get_compat_file()
217 if (vdso_file->error) in vdso__get_compat_file()
220 err = vdso__create_compat_file(vdso_file->read_prog, in vdso__get_compat_file()
221 vdso_file->temp_file_name); in vdso__get_compat_file()
223 pr_err("%s failed, error %d\n", vdso_file->read_prog, err); in vdso__get_compat_file()
224 vdso_file->error = true; in vdso__get_compat_file()
228 vdso_file->found = true; in vdso__get_compat_file()
230 return vdso_file->temp_file_name; in vdso__get_compat_file()
234 struct vdso_file *vdso_file) in __machine__findnew_compat() argument
239 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat()
243 file_name = vdso__get_compat_file(vdso_file); in __machine__findnew_compat()
247 dso = __machine__addnew_vdso(machine, vdso_file->dso_name, file_name); in __machine__findnew_compat()