Lines Matching refs:fn
28 char *fn;
84 zfree(&sf->fn);
89 static struct srcfile *find_srcfile(char *fn)
95 unsigned hval = shash((unsigned char *)fn) % SRC_HTAB_SZ;
98 if (!strcmp(fn, h->fn)) {
113 fd = open(fn, O_RDONLY);
115 pr_debug("cannot open source file %s\n", fn);
123 h->fn = strdup(fn);
124 if (!h->fn)
132 pr_debug("cannot mmap source file %s\n", fn);
149 zfree(&h->fn);
156 char *find_sourceline(char *fn, unsigned line, int *lenp)
159 struct srcfile *sf = find_srcfile(fn);