Lines Matching refs:ext_start
332 wchar_t *ip, *ext_start, *end, *name_start; in vfat_create_shortname() local
345 ext_start = end = &uname[ulen]; in vfat_create_shortname()
346 while (--ext_start >= uname) { in vfat_create_shortname()
347 if (*ext_start == 0x002E) { /* is `.' */ in vfat_create_shortname()
348 if (ext_start == end - 1) { in vfat_create_shortname()
350 ext_start = NULL; in vfat_create_shortname()
356 if (ext_start == uname - 1) { in vfat_create_shortname()
358 ext_start = NULL; in vfat_create_shortname()
359 } else if (ext_start) { in vfat_create_shortname()
366 while (name_start < ext_start) { in vfat_create_shortname()
371 if (name_start != ext_start) { in vfat_create_shortname()
372 sz = ext_start - uname; in vfat_create_shortname()
373 ext_start++; in vfat_create_shortname()
376 ext_start = NULL; in vfat_create_shortname()
409 if (ext_start) { in vfat_create_shortname()
410 for (p = ext, ip = ext_start; extlen < 3 && ip < end; ip++) { in vfat_create_shortname()