Home | History | Annotate | Download | only in pxe

Lines Matching defs:fn

437     const char *fn, *sp;
440 fn = http_get_filename(inode, buf);
442 if (!fn)
446 if (strchr(fn, '#'))
448 if (strchr(fn, '?'))
452 sp = strchr(fn, '/');
454 if (sp == fn || sp[1])
457 sp = strchr(fn, '\0');
460 if (sp > fn + NAME_MAX)
465 dirent->d_reclen = offsetof(struct dirent, d_name) + (sp-fn) + 1;
467 memcpy(dirent->d_name, fn, sp-fn);
468 dirent->d_name[sp-fn] = '\0';