Lines Matching refs:fname
83 try_kernel_name (Dwfl *dwfl, char **fname, bool try_debug)
85 if (*fname == NULL)
88 /* Don't bother trying *FNAME itself here if the path will cause it to be
93 : TEMP_FAILURE_RETRY (open64 (*fname, O_RDONLY)));
101 *fname, basename (*fname), 0,
107 *fname, NULL, 0,
109 free (*fname);
110 *fname = debugfname;
127 find_kernel_elf (Dwfl *dwfl, const char *release, char **fname)
130 ? asprintf (fname, "%s/vmlinux", release)
131 : asprintf (fname, "/boot/vmlinux-%s", release)) < 0)
134 int fd = try_kernel_name (dwfl, fname, true);
137 free (*fname);
138 if (asprintf (fname, MODULEDIRFMT "/vmlinux", release) < 0)
140 fd = try_kernel_name (dwfl, fname, true);
173 char *fname;
174 int fd = find_kernel_elf (dwfl, *release, &fname);
186 int want = (*predicate) (KERNEL_MODNAME, fname);
195 fname, fd, 0);
207 free (fname);