Searched refs:NLS_MAX_CHARSET_SIZE (Results 1 – 13 of 13) sorted by relevance
/linux/include/linux/ |
H A D | nls.h | 38 #define NLS_MAX_CHARSET_SIZE 6 /* for UTF-8 */ macro 99 char tmp[NLS_MAX_CHARSET_SIZE]; in nls_nullsize() 101 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE); in nls_nullsize()
|
/linux/fs/smb/server/ |
H A D | unicode.c | 73 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar() 112 char tmp[NLS_MAX_CHARSET_SIZE]; in smb_utf16_bytes() 167 char tmp[NLS_MAX_CHARSET_SIZE]; in smb_from_utf16() 176 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()
|
/linux/fs/smb/client/ |
H A D | cifs_unicode.c | 133 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar() 184 char tmp[NLS_MAX_CHARSET_SIZE]; in cifs_from_utf16() 193 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16() 310 char tmp[NLS_MAX_CHARSET_SIZE]; in cifs_utf16_bytes()
|
/linux/fs/isofs/ |
H A D | joliet.c | 28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
|
/linux/fs/hfsplus/ |
H A D | xattr_security.c | 44 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_initxattrs()
|
H A D | xattr.c | 426 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_setxattr() 580 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_getxattr() 699 strbuf = kzalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr() 733 xattr_name_len = NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN; in hfsplus_listxattr()
|
H A D | dir.c | 147 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN + 1, GFP_KERNEL); in hfsplus_readdir() 206 len = NLS_MAX_CHARSET_SIZE * HFSPLUS_MAX_STRLEN; in hfsplus_readdir()
|
/linux/fs/jfs/ |
H A D | jfs_unicode.c | 33 NLS_MAX_CHARSET_SIZE); in jfs_strfromUCS_le()
|
/linux/fs/udf/ |
H A D | unicode.c | 164 uint8_t ext[EXT_SIZE * NLS_MAX_CHARSET_SIZE + 1]; in udf_name_from_CS0()
|
/linux/fs/ntfs3/ |
H A D | dir.c | 43 if (buf_len < NLS_MAX_CHARSET_SIZE) { in ntfs_utf16_to_nls()
|
/linux/fs/exfat/ |
H A D | super.c | 86 buf->f_namelen = EXFAT_MAX_FILE_LEN * NLS_MAX_CHARSET_SIZE; in exfat_statfs()
|
/linux/fs/fat/ |
H A D | namei_vfat.c | 334 unsigned char charbuf[NLS_MAX_CHARSET_SIZE]; in vfat_create_shortname()
|
H A D | inode.c | 846 (sbi->options.isvfat ? FAT_LFN_LEN : 12) * NLS_MAX_CHARSET_SIZE; in fat_statfs()
|