Searched refs:chl (Results 1 – 3 of 3) sorted by relevance
/fs/ncpfs/ |
D | ncplib_kernel.c | 1120 int chl; in ncp__io2vol() local 1155 if ( (chl = in->char2uni(iname, iname_end - iname, &ec)) < 0) in ncp__io2vol() 1156 return chl; in ncp__io2vol() 1157 iname += chl; in ncp__io2vol() 1163 chl = out->uni2char(ec, vname, vname_end - vname); in ncp__io2vol() 1164 if (chl < 0) in ncp__io2vol() 1165 return chl; in ncp__io2vol() 1171 for (chi = 0; chi < chl; chi++){ in ncp__io2vol() 1175 vname += chl; in ncp__io2vol() 1215 int chl; in ncp__vol2io() local [all …]
|
/fs/fat/ |
D | namei_vfat.c | 323 int chl, chi; in vfat_create_shortname() local 371 chl = to_shortname_char(nls, charbuf, sizeof(charbuf), in vfat_create_shortname() 373 if (chl == 0) in vfat_create_shortname() 376 if (baselen < 2 && (baselen + chl) > 2) in vfat_create_shortname() 378 if (baselen < 6 && (baselen + chl) > 6) in vfat_create_shortname() 380 for (chi = 0; chi < chl; chi++) { in vfat_create_shortname() 387 if ((chi < chl - 1) || (ip + 1) - uname < sz) in vfat_create_shortname() 399 chl = to_shortname_char(nls, charbuf, sizeof(charbuf), in vfat_create_shortname() 401 if (chl == 0) in vfat_create_shortname() 404 if ((extlen + chl) > 3) { in vfat_create_shortname() [all …]
|
D | dir.c | 366 int chi, chl, i, j, k; in fat_parse_short() local 385 chl = fat_shortname2uni(nls_disk, &work[i], 8 - i, in fat_parse_short() 388 if (chl <= 1) { in fat_parse_short() 399 i += min(chl, 8-i); in fat_parse_short() 401 for (chi = 0; chi < chl && i < 8; chi++, i++) in fat_parse_short() 404 if (chl) in fat_parse_short() 421 chl = fat_shortname2uni(nls_disk, &work[k], MSDOS_NAME - k, in fat_parse_short() 424 if (chl <= 1) { in fat_parse_short() 436 int offset = min(chl, MSDOS_NAME-k); in fat_parse_short() 440 for (chi = 0; chi < chl && k < MSDOS_NAME; in fat_parse_short() [all …]
|