Home
last modified time | relevance | path

Searched refs:nls_table (Results 1 – 97 of 97) sorted by relevance

/linux-4.4.14/include/linux/
Dnls.h24 struct nls_table { struct
33 struct nls_table *next; argument
47 extern int __register_nls(struct nls_table *, struct module *);
48 extern int unregister_nls(struct nls_table *);
49 extern struct nls_table *load_nls(char *);
50 extern void unload_nls(struct nls_table *);
51 extern struct nls_table *load_nls_default(void);
61 static inline unsigned char nls_tolower(struct nls_table *t, unsigned char c) in nls_tolower()
68 static inline unsigned char nls_toupper(struct nls_table *t, unsigned char c) in nls_toupper()
75 static inline int nls_strnicmp(struct nls_table *t, const unsigned char *s1, in nls_strnicmp()
[all …]
/linux-4.4.14/fs/cifs/
Dcifsproto.h128 const struct nls_table *nls_cp);
225 struct nls_table *nls_info);
231 const struct nls_table *);
251 const struct nls_table *nls_codepage, int remap);
254 const struct nls_table *nls_codepage, int remap);
262 const struct nls_table *nls_codepage, int remap);
268 const struct nls_table *nls_codepage, int remap);
272 const struct nls_table *nls_codepage,
294 const struct nls_table *nls_codepage,
306 const struct nls_table *nls_codepage);
[all …]
Dcifs_unicode.c123 cifs_mapchar(char *target, const __u16 *from, const struct nls_table *cp, in cifs_mapchar()
183 const struct nls_table *codepage, int map_type) in cifs_from_utf16()
254 const struct nls_table *codepage) in cifs_strtoUTF16()
310 const struct nls_table *codepage) in cifs_utf16_bytes()
352 const bool is_unicode, const struct nls_table *codepage) in cifs_strndup_from_utf16()
445 const struct nls_table *cp, int map_chars) in cifsConvertToUTF16()
566 const struct nls_table *codepage) in cifs_local_to_utf16_bytes()
595 const struct nls_table *cp, int remap) in cifs_strndup_to_utf16()
Dcifs_unicode.h106 const struct nls_table *cp, int map_type);
108 const struct nls_table *codepage);
109 int cifs_strtoUTF16(__le16 *, const char *, int, const struct nls_table *);
112 const struct nls_table *codepage);
114 const struct nls_table *cp, int mapChars);
118 int *utf16_len, const struct nls_table *cp,
Dsess.c81 unicode_oslm_strings(char **pbcc_area, const struct nls_table *nls_cp) in unicode_oslm_strings()
104 const struct nls_table *nls_cp) in unicode_domain_string()
127 const struct nls_table *nls_cp) in unicode_ssetup_strings()
159 const struct nls_table *nls_cp) in ascii_ssetup_strings()
198 const struct nls_table *nls_cp) in decode_unicode_ssetup()
232 const struct nls_table *nls_cp) in decode_ascii_ssetup()
373 const struct nls_table *nls_cp) in build_ntlmssp_auth_blob()
535 struct nls_table *nls_cp;
1431 const struct nls_table *nls_cp) in CIFS_SessSetup()
1452 sess_data->nls_cp = (struct nls_table *) nls_cp; in CIFS_SessSetup()
Dsmbencrypt.c209 const struct nls_table *codepage) in E_md4hash()
232 const struct nls_table *codepage) in SMBNTencrypt()
Dcifs_fs_sb.h54 struct nls_table *local_nls;
Dcifsencrypt.c265 int setup_ntlm_response(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlm_response()
347 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) in build_avpair_blob()
402 find_domain_name(struct cifs_ses *ses, const struct nls_table *nls_cp) in find_domain_name()
490 const struct nls_table *nls_cp) in calc_ntlmv2_hash()
678 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlmv2_rsp()
Dsmb2proto.h105 const struct nls_table *nls_cp);
109 const struct nls_table *);
Dcifsglob.h245 const struct nls_table *);
250 struct cifs_tcon *, const struct nls_table *);
256 unsigned int *, const struct nls_table *, int);
401 size_t, const struct nls_table *, int);
404 const struct nls_table *, int);
509 struct nls_table *local_nls;
Dntlmssp.h138 const struct nls_table *nls_cp);
Dcifssmb.c121 struct nls_table *nls_codepage; in cifs_reconnect_tcon()
789 const struct nls_table *nls_codepage, int remap) in CIFSPOSIXDelFile()
1002 const char *name, const struct nls_table *nls_codepage, in CIFSPOSIXCreate()
1170 const struct nls_table *nls_codepage, int remap) in SMBLegacyOpen()
1285 const struct nls_table *nls = cifs_sb->local_nls; in CIFS_open()
2657 const struct nls_table *nls_codepage, int remap) in CIFSSMBRenameOpenFile()
2740 const int flags, const struct nls_table *nls_codepage, int remap) in CIFSSMBCopy()
2808 const struct nls_table *nls_codepage, int remap) in CIFSUnixCreateSymLink()
2898 const struct nls_table *nls_codepage, int remap) in CIFSUnixCreateHardLink()
3058 const struct nls_table *nls_codepage, int remap) in CIFSSMBUnixQuerySymLink()
[all …]
Ddir.c854 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; in cifs_ci_hash()
875 struct nls_table *codepage = CIFS_SB(parent->d_sb)->local_nls; in cifs_ci_compare()
Dcifsfs.c376 cifs_show_nls(struct seq_file *s, struct nls_table *cur) in cifs_show_nls()
378 struct nls_table *def; in cifs_show_nls()
Dreaddir.c712 struct nls_table *nlt = cifs_sb->local_nls; in cifs_filldir()
Dsmb2pdu.c148 struct nls_table *nls_codepage; in smb2_reconnect()
582 const struct nls_table *nls_cp) in SMB2_sess_setup()
904 struct cifs_tcon *tcon, const struct nls_table *cp) in SMB2_tcon()
Dconnect.c2854 const struct nls_table *nls_codepage, unsigned int *num_referrals, in get_dfs_path()
3734 const struct nls_table *nls_codepage) in CIFSTCon()
3957 struct nls_table *nls_info) in cifs_setup_session()
Dsmb1ops.c924 const struct nls_table *nls_codepage) in cifs_unix_dfs_readlink()
/linux-4.4.14/fs/nls/
Dnls_base.c20 static struct nls_table default_table;
21 static struct nls_table *tables = &default_table;
235 int __register_nls(struct nls_table *nls, struct module *owner) in __register_nls()
237 struct nls_table ** tmp = &tables; in __register_nls()
258 int unregister_nls(struct nls_table * nls) in unregister_nls()
260 struct nls_table ** tmp = &tables; in unregister_nls()
275 static struct nls_table *find_nls(char *charset) in find_nls()
277 struct nls_table *nls; in find_nls()
291 struct nls_table *load_nls(char *charset) in load_nls()
296 void unload_nls(struct nls_table *nls) in unload_nls()
[all …]
Dnls_koi8-ru.c14 static struct nls_table *p_nls;
54 static struct nls_table table = {
Dnls_ascii.c145 static struct nls_table table = {
Dnls_iso8859-1.c236 static struct nls_table table = {
Dnls_iso8859-6.c242 static struct nls_table table = {
Dnls_utf8.c43 static struct nls_table table = {
Dnls_iso8859-9.c251 static struct nls_table table = {
Dnls_iso8859-3.c287 static struct nls_table table = {
Dnls_iso8859-2.c287 static struct nls_table table = {
Dnls_iso8859-4.c287 static struct nls_table table = {
Dnls_iso8859-13.c264 static struct nls_table table = {
Dnls_cp1255.c361 static struct nls_table table = {
Dnls_cp1251.c280 static struct nls_table table = {
Dnls_cp1250.c326 static struct nls_table table = {
Dnls_cp860.c343 static struct nls_table table = {
Dnls_cp874.c252 static struct nls_table table = {
Dnls_cp852.c316 static struct nls_table table = {
Dnls_cp861.c366 static struct nls_table table = {
Dnls_cp775.c298 static struct nls_table table = {
Dnls_iso8859-5.c251 static struct nls_table table = {
Dnls_cp862.c400 static struct nls_table table = {
Dnls_cp855.c278 static struct nls_table table = {
Dnls_cp737.c329 static struct nls_table table = {
Dnls_koi8-u.c309 static struct nls_table table = {
Dnls_cp437.c366 static struct nls_table table = {
Dnls_cp850.c294 static struct nls_table table = {
Dnls_cp865.c366 static struct nls_table table = {
Dnls_cp866.c284 static struct nls_table table = {
Dnls_cp863.c360 static struct nls_table table = {
Dnls_iso8859-7.c296 static struct nls_table table = {
Dnls_cp857.c280 static struct nls_table table = {
Dnls_cp869.c294 static struct nls_table table = {
Dnls_koi8-r.c302 static struct nls_table table = {
Dnls_iso8859-15.c286 static struct nls_table table = {
Dnls_iso8859-14.c320 static struct nls_table table = {
Dnls_euc-jp.c15 static struct nls_table *p_nls;
552 static struct nls_table table = {
Dmac-iceland.c580 static struct nls_table table = {
Dmac-greek.c475 static struct nls_table table = {
Dnls_cp864.c386 static struct nls_table table = {
Dmac-gaelic.c545 static struct nls_table table = {
Dmac-centeuro.c510 static struct nls_table table = {
Dmac-croatian.c580 static struct nls_table table = {
Dmac-cyrillic.c475 static struct nls_table table = {
Dmac-romanian.c580 static struct nls_table table = {
Dmac-celtic.c580 static struct nls_table table = {
Dmac-roman.c615 static struct nls_table table = {
Dmac-inuit.c510 static struct nls_table table = {
Dmac-turkish.c580 static struct nls_table table = {
Dnls_cp932.c7910 static struct nls_table table = {
Dnls_cp950.c9459 static struct nls_table table = {
Dnls_cp949.c13923 static struct nls_table table = {
Dnls_cp936.c11088 static struct nls_table table = {
/linux-4.4.14/fs/hfs/
Dtrans.c35 struct nls_table *nls_disk = HFS_SB(sb)->nls_disk; in hfs_mac2asc()
36 struct nls_table *nls_io = HFS_SB(sb)->nls_io; in hfs_mac2asc()
99 struct nls_table *nls_disk = HFS_SB(sb)->nls_disk; in hfs_asc2mac()
100 struct nls_table *nls_io = HFS_SB(sb)->nls_io; in hfs_asc2mac()
Dhfs_fs.h157 struct nls_table *nls_io, *nls_disk;
/linux-4.4.14/fs/jfs/
Djfs_unicode.c33 int len, struct nls_table *codepage) in jfs_strfromUCS_le()
83 struct nls_table *codepage) in jfs_strtoUCS()
117 struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab; in get_UCSname()
Djfs_unicode.h35 extern int jfs_strfromUCS_le(char *, const __le16 *, int, struct nls_table *);
Djfs_incore.h193 struct nls_table *nls_tab; /* current codepage */
Djfs_dtree.c3008 struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab; in jfs_readdir()
/linux-4.4.14/fs/isofs/
Djoliet.c17 uni16_to_x8(unsigned char *ascii, __be16 *uni, int len, struct nls_table *nls) in uni16_to_x8()
44 struct nls_table *nls; in get_joliet_filename()
Disofs.h57 struct nls_table *s_nls_iocharset; /* Native language support table */
/linux-4.4.14/fs/ncpfs/
Dncp_fs_sb.h101 struct nls_table *nls_vol;
102 struct nls_table *nls_io;
Dioctl.c163 struct nls_table *codepage; in ncp_set_charsets()
164 struct nls_table *iocharset; in ncp_set_charsets()
165 struct nls_table *oldset_io; in ncp_set_charsets()
166 struct nls_table *oldset_cp; in ncp_set_charsets()
Dncplib_kernel.c1109 struct nls_table *in = server->nls_io; in ncp__io2vol()
1110 struct nls_table *out = server->nls_vol; in ncp__io2vol()
1187 struct nls_table *in = server->nls_vol; in ncp__vol2io()
1188 struct nls_table *out = server->nls_io; in ncp__vol2io()
Dncplib_kernel.h158 static inline int ncp_strnicmp(const struct nls_table *t, in ncp_strnicmp()
Ddir.c137 struct nls_table *t; in ncp_hash_dentry()
/linux-4.4.14/fs/ntfs/
Dunistr.c262 struct nls_table *nls = vol->nls_map; in ntfs_nlstoucs()
339 struct nls_table *nls = vol->nls_map; in ntfs_ucstonls()
Dvolume.h132 struct nls_table *nls_map;
Dsuper.c111 struct nls_table *nls_map = NULL, *old_nls; in parse_options()
/linux-4.4.14/fs/fat/
Dnamei_vfat.c122 struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io; in vfat_hashi()
144 struct nls_table *t = MSDOS_SB(parent->d_sb)->nls_io; in vfat_cmpi()
263 static inline int to_shortname_char(struct nls_table *nls, in to_shortname_char()
313 static int vfat_create_shortname(struct inode *dir, struct nls_table *nls, in vfat_create_shortname()
499 struct nls_table *nls) in xlate_to_uni()
Dfat.h82 struct nls_table *nls_disk; /* Codepage used on disk */
83 struct nls_table *nls_io; /* Charset used for input and display */
Ddir.c142 const wchar_t *uni, int len, struct nls_table *nls) in uni16_to_x8()
193 fat_short2uni(struct nls_table *t, unsigned char *c, int clen, wchar_t *uni) in fat_short2uni()
206 fat_short2lower_uni(struct nls_table *t, unsigned char *c, in fat_short2lower_uni()
234 fat_shortname2uni(struct nls_table *nls, unsigned char *buf, int buf_size, in fat_shortname2uni()
358 struct nls_table *nls_disk = sbi->nls_disk; in fat_parse_short()
/linux-4.4.14/fs/befs/
Dbefs.h56 struct nls_table *nls;
Dlinuxvfs.c505 struct nls_table *nls = BEFS_SB(sb)->nls; in befs_utf2nls()
585 struct nls_table *nls = BEFS_SB(sb)->nls; in befs_nls2utf()
/linux-4.4.14/fs/udf/
Dudf_sb.h150 struct nls_table *s_nls_map;
Dunicode.c259 static int udf_CS0toNLS(struct nls_table *nls, struct ustr *utf_o, in udf_CS0toNLS()
302 static int udf_NLStoCS0(struct nls_table *nls, dstring *ocu, struct ustr *uni, in udf_NLStoCS0()
Dsuper.c228 struct nls_table *nls_map;
/linux-4.4.14/fs/hfsplus/
Dunicode.c126 struct nls_table *nls = HFSPLUS_SB(sb)->nls; in hfsplus_uni2asc()
Dhfsplus_fs.h155 struct nls_table *nls;
Dsuper.c379 struct nls_table *nls = NULL; in hfsplus_fill_super()