/linux-master/fs/smb/server/ |
H A D | unicode.h | 32 const struct nls_table *codepage); 35 const struct nls_table *codepage);
|
H A D | unicode.c | 17 * cifs_mapchar() - convert a host-endian char to proper char in codepage 20 * @cp: codepage to which character should be converted 98 * @codepage: destination codepage 107 const struct nls_table *codepage) 126 charlen = cifs_mapchar(tmp, ftmp, codepage, 0); 142 * @codepage: codepage to which characters should be converted 146 * in the provided codepage. The tolen and fromlen parameters are to ensure 161 const struct nls_table *codepage, boo 106 smb_utf16_bytes(const __le16 *from, int maxbytes, const struct nls_table *codepage) argument 160 smb_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, const struct nls_table *codepage, bool mapchar) argument 233 smb_strtoUTF16(__le16 *to, const char *from, int len, const struct nls_table *codepage) argument 290 smb_strndup_from_utf16(const char *src, const int maxlen, const bool is_unicode, const struct nls_table *codepage) argument [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_unicode.c | 20 int len, struct nls_table *codepage) 27 if (codepage) { 31 codepage->uni2char(le16_to_cpu(from[i]), 70 struct nls_table *codepage) 75 if (codepage) { 78 charlen = codepage->char2uni(from, len, &to[i]); 83 codepage->charset, *from); 19 jfs_strfromUCS_le(char *to, const __le16 * from, int len, struct nls_table *codepage) argument 69 jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len, struct nls_table *codepage) argument
|
H A D | jfs_dtree.c | 2703 struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab; local 2946 codepage); 2966 len, codepage);
|
/linux-master/arch/s390/include/asm/ |
H A D | ebcdic.h | 23 codepage_convert(const __u8 *codepage, volatile char *addr, unsigned long nr) argument 36 : "a" (codepage) : "cc", "memory", "1");
|
/linux-master/fs/smb/client/ |
H A D | cifs_unicode.c | 107 * cifs_mapchar - convert a host-endian char to proper char in codepage 110 * @cp - codepage to which character should be converted 160 * @codepage - codepage to which characters should be converted 164 * in the provided codepage. The tolen and fromlen parameters are to ensure 178 const struct nls_table *codepage, int map_type) 182 int nullsize = nls_nullsize(codepage); 213 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); 219 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); 249 const struct nls_table *codepage) 177 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, const struct nls_table *codepage, int map_type) argument 248 cifs_strtoUTF16(__le16 *to, const char *from, int len, const struct nls_table *codepage) argument 304 cifs_utf16_bytes(const __le16 *from, int maxbytes, const struct nls_table *codepage) argument 346 cifs_strndup_from_utf16(const char *src, const int maxlen, const bool is_unicode, const struct nls_table *codepage) argument 586 cifs_local_to_utf16_bytes(const char *from, int len, const struct nls_table *codepage) argument [all...] |
H A D | cifs_unicode.h | 61 const struct nls_table *codepage); 65 const struct nls_table *codepage);
|
H A D | smbencrypt.c | 66 const struct nls_table *codepage) 74 len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); 65 E_md4hash(const unsigned char *passwd, unsigned char *p16, const struct nls_table *codepage) argument
|
H A D | dir.c | 829 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; local 836 charlen = codepage->char2uni(&q->name[i], q->len - i, &c); 850 struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls; local 856 * codepage are always the same length as their lowercase counterparts. 865 l1 = codepage->char2uni(&str[i], len - i, &c1); 866 l2 = codepage->char2uni(&name->name[i], name->len - i, &c2);
|
H A D | cifsproto.h | 592 const struct nls_table *codepage);
|
/linux-master/include/linux/ |
H A D | nls.h | 88 * nls_nullsize - return length of null character for codepage 89 * @codepage - codepage for which to return length of NULL terminator 92 * length, we have to check against the codepage. If there's a problem 96 nls_nullsize(const struct nls_table *codepage) argument 101 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
|
/linux-master/fs/fat/ |
H A D | fat.h | 32 unsigned short codepage; /* Codepage for shortname conversions */ member in struct:fat_mount_options
|
H A D | inode.c | 965 seq_printf(m, ",codepage=%s", &sbi->nls_disk->charset[2]); 1065 {Opt_codepage, "codepage=%u"}, 1148 opts->codepage = fat_default_codepage; 1255 opts->codepage = option; 1835 sprintf(buf, "cp%d", sbi->options.codepage); 1838 fat_msg(sb, KERN_ERR, "codepage %s not found", buf);
|