tag | line | file | source code |
baselen | 399 | fs/vfat/namei.c | int sz, extlen, baselen, totlen; |
baselen | 469 | fs/vfat/namei.c | for (baselen = i = 0, p = base, ip = name; i < sz && baselen < 8; i++) |
baselen | 478 | fs/vfat/namei.c | p++; baselen++; |
baselen | 482 | fs/vfat/namei.c | if (baselen == 0) { |
baselen | 486 | fs/vfat/namei.c | spaces = 8 - baselen; |
baselen | 506 | fs/vfat/namei.c | base[baselen] = '\0'; |
baselen | 509 | fs/vfat/namei.c | msdos_name[baselen] = '.'; |
baselen | 510 | fs/vfat/namei.c | strcpy(&msdos_name[baselen+1], ext); |
baselen | 512 | fs/vfat/namei.c | totlen = baselen + extlen + (extlen > 0); |
baselen | 525 | fs/vfat/namei.c | baselen = baselen - (sz + 1 - spaces); |
baselen | 529 | fs/vfat/namei.c | strncpy(msdos_name, base, baselen); |
baselen | 530 | fs/vfat/namei.c | msdos_name[baselen] = '~'; |
baselen | 531 | fs/vfat/namei.c | strcpy(&msdos_name[baselen+1], buf); |
baselen | 532 | fs/vfat/namei.c | msdos_name[baselen+sz+1] = '.'; |
baselen | 533 | fs/vfat/namei.c | strcpy(&msdos_name[baselen+sz+2], ext); |
baselen | 535 | fs/vfat/namei.c | totlen = baselen + sz + 1 + extlen + (extlen > 0); |