Searched refs:chl (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/fs/fat/ |
D | namei_vfat.c | 334 int chl, chi; in vfat_create_shortname() local 382 chl = to_shortname_char(nls, charbuf, sizeof(charbuf), in vfat_create_shortname() 384 if (chl == 0) in vfat_create_shortname() 387 if (baselen < 2 && (baselen + chl) > 2) in vfat_create_shortname() 389 if (baselen < 6 && (baselen + chl) > 6) in vfat_create_shortname() 391 for (chi = 0; chi < chl; chi++) { in vfat_create_shortname() 398 if ((chi < chl - 1) || (ip + 1) - uname < sz) in vfat_create_shortname() 410 chl = to_shortname_char(nls, charbuf, sizeof(charbuf), in vfat_create_shortname() 412 if (chl == 0) in vfat_create_shortname() 415 if ((extlen + chl) > 3) { in vfat_create_shortname() [all …]
|
D | dir.c | 362 int chi, chl, i, j, k; in fat_parse_short() local 381 chl = fat_shortname2uni(nls_disk, &work[i], 8 - i, in fat_parse_short() 384 if (chl <= 1) { in fat_parse_short() 395 i += min(chl, 8-i); in fat_parse_short() 397 for (chi = 0; chi < chl && i < 8; chi++, i++) in fat_parse_short() 400 if (chl) in fat_parse_short() 417 chl = fat_shortname2uni(nls_disk, &work[k], MSDOS_NAME - k, in fat_parse_short() 420 if (chl <= 1) { in fat_parse_short() 432 int offset = min(chl, MSDOS_NAME-k); in fat_parse_short() 436 for (chi = 0; chi < chl && k < MSDOS_NAME; in fat_parse_short() [all …]
|