Searched refs:NLS_MAX_CHARSET_SIZE (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.4/include/linux/ |
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-v5.4/fs/cifs/ |
D | cifs_unicode.c | 135 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar() 186 char tmp[NLS_MAX_CHARSET_SIZE]; in cifs_from_utf16() 195 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16() 312 char tmp[NLS_MAX_CHARSET_SIZE]; in cifs_utf16_bytes()
|
/Linux-v5.4/fs/isofs/ |
D | joliet.c | 28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
|
/Linux-v5.4/fs/hfsplus/ |
D | xattr_security.c | 43 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_initxattrs()
|
D | xattr.c | 429 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_setxattr() 583 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_getxattr() 703 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr() 736 xattr_name_len = NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN; in hfsplus_listxattr()
|
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-v5.4/fs/jfs/ |
D | jfs_unicode.c | 33 NLS_MAX_CHARSET_SIZE); in jfs_strfromUCS_le()
|
/Linux-v5.4/drivers/staging/exfat/ |
D | exfat_nls.c | 36 len = nls->char2uni(ch, NLS_MAX_CHARSET_SIZE, uni); in convert_ch_to_uni() 64 len = nls->uni2char(uni, ch, NLS_MAX_CHARSET_SIZE); in convert_uni_to_ch()
|
/Linux-v5.4/fs/ntfs/ |
D | unistr.c | 338 ns_len = ins_len * NLS_MAX_CHARSET_SIZE; in ntfs_ucstonls()
|
D | dir.c | 1036 NTFS_MAX_NAME_LEN * NLS_MAX_CHARSET_SIZE + 1); in ntfs_filldir() 1120 name = kmalloc(NTFS_MAX_NAME_LEN * NLS_MAX_CHARSET_SIZE + 1, GFP_NOFS); in ntfs_readdir()
|
/Linux-v5.4/fs/udf/ |
D | unicode.c | 168 uint8_t ext[EXT_SIZE * NLS_MAX_CHARSET_SIZE + 1]; in udf_name_from_CS0()
|
/Linux-v5.4/fs/fat/ |
D | dir.c | 28 #define FAT_MAX_SHORT_SIZE ((MSDOS_NAME + 1) * NLS_MAX_CHARSET_SIZE + 1) 153 while (*ip && ((len - NLS_MAX_CHARSET_SIZE) > 0)) { in uni16_to_x8() 155 charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
|
D | namei_vfat.c | 334 unsigned char charbuf[NLS_MAX_CHARSET_SIZE]; in vfat_create_shortname()
|
D | inode.c | 835 (sbi->options.isvfat ? FAT_LFN_LEN : 12) * NLS_MAX_CHARSET_SIZE; in fat_statfs()
|