/linux/fs/ksmbd/ |
A D | unicode.c | 30 const struct nls_table *codepage) in smb_utf16_bytes() argument 43 charlen = codepage->uni2char(ftmp, tmp, NLS_MAX_CHARSET_SIZE); in smb_utf16_bytes() 159 const struct nls_table *codepage, bool mapchar) in smb_from_utf16() argument 163 int nullsize = nls_nullsize(codepage); in smb_from_utf16() 186 charlen = cifs_mapchar(tmp, ftmp, codepage, mapchar); in smb_from_utf16() 213 const struct nls_table *codepage) in smb_strtoUTF16() argument 220 if (!strcmp(codepage->charset, "utf8")) { in smb_strtoUTF16() 241 charlen = codepage->char2uni(from, len, &wchar_to); in smb_strtoUTF16() 271 const struct nls_table *codepage) in smb_strndup_from_utf16() argument 277 len = smb_utf16_bytes((__le16 *)src, maxlen, codepage); in smb_strndup_from_utf16() [all …]
|
A D | unicode.h | 66 const struct nls_table *codepage); 69 const struct nls_table *codepage);
|
/linux/fs/cifs/ |
A D | cifs_unicode.c | 179 const struct nls_table *codepage, int map_type) in cifs_from_utf16() argument 183 int nullsize = nls_nullsize(codepage); in cifs_from_utf16() 214 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); in cifs_from_utf16() 250 const struct nls_table *codepage) in cifs_strtoUTF16() argument 257 if (!strcmp(codepage->charset, "utf8")) { in cifs_strtoUTF16() 278 charlen = codepage->char2uni(from, len, &wchar_to); in cifs_strtoUTF16() 306 const struct nls_table *codepage) in cifs_utf16_bytes() argument 348 const bool is_unicode, const struct nls_table *codepage) in cifs_strndup_from_utf16() argument 355 len += nls_nullsize(codepage); in cifs_strndup_from_utf16() 588 const struct nls_table *codepage) in cifs_local_to_utf16_bytes() argument [all …]
|
A D | smbencrypt.c | 73 const struct nls_table *codepage) in E_md4hash() argument 81 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); in E_md4hash()
|
A D | dir.c | 789 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash() local 796 charlen = codepage->char2uni(&q->name[i], q->len - i, &c); in cifs_ci_hash() 810 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_compare() local 825 l1 = codepage->char2uni(&str[i], len - i, &c1); in cifs_ci_compare() 826 l2 = codepage->char2uni(&name->name[i], name->len - i, &c2); in cifs_ci_compare()
|
A D | cifs_unicode.h | 96 const struct nls_table *codepage); 100 const struct nls_table *codepage);
|
A D | cifsproto.h | 547 const struct nls_table *codepage);
|
/linux/fs/jfs/ |
A D | jfs_unicode.c | 20 int len, struct nls_table *codepage) in jfs_strfromUCS_le() argument 27 if (codepage) { in jfs_strfromUCS_le() 31 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le() 70 struct nls_table *codepage) in jfs_strtoUCS() argument 75 if (codepage) { in jfs_strtoUCS() 78 charlen = codepage->char2uni(from, len, &to[i]); in jfs_strtoUCS() 83 codepage->charset, *from); in jfs_strtoUCS()
|
A D | jfs_dtree.c | 2996 struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab; in jfs_readdir() local 3239 codepage); in jfs_readdir() 3259 len, codepage); in jfs_readdir()
|
/linux/fs/nls/ |
A D | Kconfig | 46 codepage if you want to be able to read/write these filenames on 58 codepage if you want to be able to read/write these filenames on 70 codepage if you want to be able to read/write these filenames on 73 say Y here if you want to include the DOS codepage that is used 83 codepage if you want to be able to read/write these filenames on 89 languages that are not part of the US codepage 437. 161 say Y here if you want to include the DOS codepage for Hebrew. 207 say Y here if you want to include the DOS codepage for 219 say Y here if you want to include the DOS codepage for Greek. 267 say Y here if you want to include the DOS codepage for UHC. [all …]
|
/linux/arch/s390/include/asm/ |
A D | ebcdic.h | 23 codepage_convert(const __u8 *codepage, volatile char *addr, unsigned long nr) in codepage_convert() argument 36 : "a" (codepage) : "cc", "memory", "1"); in codepage_convert()
|
/linux/include/linux/ |
A D | nls.h | 96 nls_nullsize(const struct nls_table *codepage) in nls_nullsize() argument 101 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE); in nls_nullsize()
|
/linux/fs/fat/ |
A D | Kconfig | 79 int "Default codepage for FAT" 83 This option should be set to the codepage of your FAT filesystems. 84 It can be overridden with the "codepage" mount option.
|
A D | fat.h | 32 unsigned short codepage; /* Codepage for shortname conversions */ member
|
A D | inode.c | 1141 opts->codepage = fat_default_codepage; in parse_options() 1248 opts->codepage = option; in parse_options() 1825 sprintf(buf, "cp%d", sbi->options.codepage); in fat_fill_super()
|
/linux/Documentation/filesystems/ |
A D | hpfs.rst | 118 file has a pointer to codepage its name is in. However OS/2 was created in 120 support is quite buggy. I have Czech OS/2 working in codepage 852 on my disk. 122 partition. It marked file name codepage as 850 - good. But when I again booted 135 OK, I could implement complex codepage support to this driver but I think it 137 So this driver simply uses first codepage it finds for uppercasing and 138 lowercasing no matter what's file codepage index. Usually all file names are in 139 this codepage - if you don't try to do what I described above :-)
|
A D | ntfs3.rst | 42 default codepage will be used (CONFIG_NLS_DEFAULT).
|
A D | vfat.rst | 56 **codepage=###** 57 Sets the codepage number for converting to shortname
|
/linux/drivers/s390/char/ |
A D | defkeymap.map | 2 # Default keymap for 3270 (ebcdic codepage 037).
|