Home
last modified time | relevance | path

Searched refs:codepage (Results 1 – 13 of 13) sorted by relevance

/fs/ksmbd/
Dunicode.c108 const struct nls_table *codepage) in smb_utf16_bytes() argument
127 charlen = cifs_mapchar(tmp, ftmp, codepage, 0); in smb_utf16_bytes()
162 const struct nls_table *codepage, bool mapchar) in smb_from_utf16() argument
166 int nullsize = nls_nullsize(codepage); in smb_from_utf16()
195 charlen = cifs_mapchar(tmp, ftmp, codepage, mapchar); in smb_from_utf16()
201 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16()
235 const struct nls_table *codepage) in smb_strtoUTF16() argument
242 if (!strcmp(codepage->charset, "utf8")) { in smb_strtoUTF16()
263 charlen = codepage->char2uni(from, len, &wchar_to); in smb_strtoUTF16()
293 const struct nls_table *codepage) in smb_strndup_from_utf16() argument
[all …]
Dunicode.h67 const struct nls_table *codepage);
70 const struct nls_table *codepage);
/fs/cifs/
Dcifs_unicode.c179 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()
220 charlen = cifs_mapchar(&to[outlen], 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
327 charlen = cifs_mapchar(tmp, ftmp, codepage, NO_MAP_UNI_RSVD); in cifs_utf16_bytes()
348 const bool is_unicode, const struct nls_table *codepage) in cifs_strndup_from_utf16() argument
[all …]
Dsmbencrypt.c73 const struct nls_table *codepage) in E_md4hash() argument
81 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); in E_md4hash()
Ddir.c791 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash() local
798 charlen = codepage->char2uni(&q->name[i], q->len - i, &c); in cifs_ci_hash()
812 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_compare() local
827 l1 = codepage->char2uni(&str[i], len - i, &c1); in cifs_ci_compare()
828 l2 = codepage->char2uni(&name->name[i], name->len - i, &c2); in cifs_ci_compare()
Dcifs_unicode.h96 const struct nls_table *codepage);
100 const struct nls_table *codepage);
Dcifsproto.h546 const struct nls_table *codepage);
/fs/nls/
DKconfig46 codepage if you want to be able to read/write these filenames on
49 say Y here if you want to include the DOS codepage that is used in
58 codepage if you want to be able to read/write these filenames on
61 say Y here if you want to include the DOS codepage that is used for
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
86 say Y here if you want to include the DOS codepage that is used for
89 languages that are not part of the US codepage 437.
99 codepage if you want to be able to read/write these filenames on
[all …]
/fs/jfs/
Djfs_unicode.c20 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()
Djfs_dtree.c3001 struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab; in jfs_readdir() local
3244 codepage); in jfs_readdir()
3264 len, codepage); in jfs_readdir()
/fs/fat/
DKconfig79 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.
Dfat.h32 unsigned short codepage; /* Codepage for shortname conversions */ member
Dinode.c1141 opts->codepage = fat_default_codepage; in parse_options()
1248 opts->codepage = option; in parse_options()
1828 sprintf(buf, "cp%d", sbi->options.codepage); in fat_fill_super()