Lines Matching refs:uname
314 wchar_t *uname, int ulen, in vfat_create_shortname() argument
331 ext_start = end = &uname[ulen]; in vfat_create_shortname()
332 while (--ext_start >= uname) { in vfat_create_shortname()
342 if (ext_start == uname - 1) { in vfat_create_shortname()
351 name_start = &uname[0]; in vfat_create_shortname()
358 sz = ext_start - uname; in vfat_create_shortname()
368 for (baselen = i = 0, p = base, ip = uname; i < sz; i++, ip++) { in vfat_create_shortname()
385 if ((chi < chl - 1) || (ip + 1) - uname < sz) in vfat_create_shortname()
589 wchar_t *uname; in vfat_build_slots() local
597 uname = __getname(); in vfat_build_slots()
598 if (!uname) in vfat_build_slots()
601 err = xlate_to_uni(name, len, (unsigned char *)uname, &ulen, &usize, in vfat_build_slots()
606 err = vfat_is_used_badchars(uname, ulen); in vfat_build_slots()
610 err = vfat_create_shortname(dir, sbi->nls_disk, uname, ulen, in vfat_build_slots()
631 fatwchar_to16(ps->name0_4, uname + offset, 5); in vfat_build_slots()
632 fatwchar_to16(ps->name5_10, uname + offset + 5, 6); in vfat_build_slots()
633 fatwchar_to16(ps->name11_12, uname + offset + 11, 2); in vfat_build_slots()
651 __putname(uname); in vfat_build_slots()