Home
last modified time | relevance | path

Searched refs:NLS_MAX_CHARSET_SIZE (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.15/fs/ksmbd/
Dunicode.c35 char tmp[NLS_MAX_CHARSET_SIZE]; in smb_utf16_bytes()
43 charlen = codepage->uni2char(ftmp, tmp, NLS_MAX_CHARSET_SIZE); in smb_utf16_bytes()
107 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar()
165 char tmp[NLS_MAX_CHARSET_SIZE]; in smb_from_utf16()
174 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in smb_from_utf16()
/Linux-v5.15/include/linux/
Dnls.h38 #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.15/fs/cifs/
Dcifs_unicode.c134 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar()
185 char tmp[NLS_MAX_CHARSET_SIZE]; in cifs_from_utf16()
194 safelen = tolen - (NLS_MAX_CHARSET_SIZE + nullsize); in cifs_from_utf16()
311 char tmp[NLS_MAX_CHARSET_SIZE]; in cifs_utf16_bytes()
/Linux-v5.15/fs/isofs/
Djoliet.c28 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
/Linux-v5.15/fs/hfsplus/
Dxattr_security.c44 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_initxattrs()
Dxattr.c428 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_setxattr()
582 xattr_name = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + 1, in hfsplus_getxattr()
702 strbuf = kmalloc(NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN + in hfsplus_listxattr()
735 xattr_name_len = NLS_MAX_CHARSET_SIZE * HFSPLUS_ATTR_MAX_STRLEN; in hfsplus_listxattr()
Ddir.c147 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.15/fs/jfs/
Djfs_unicode.c33 NLS_MAX_CHARSET_SIZE); in jfs_strfromUCS_le()
/Linux-v5.15/fs/ntfs/
Dunistr.c338 ns_len = ins_len * NLS_MAX_CHARSET_SIZE; in ntfs_ucstonls()
Ddir.c1037 NTFS_MAX_NAME_LEN * NLS_MAX_CHARSET_SIZE + 1); in ntfs_filldir()
1121 name = kmalloc(NTFS_MAX_NAME_LEN * NLS_MAX_CHARSET_SIZE + 1, GFP_NOFS); in ntfs_readdir()
/Linux-v5.15/fs/udf/
Dunicode.c168 uint8_t ext[EXT_SIZE * NLS_MAX_CHARSET_SIZE + 1]; in udf_name_from_CS0()
/Linux-v5.15/fs/fat/
Ddir.c28 #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()
Dnamei_vfat.c334 unsigned char charbuf[NLS_MAX_CHARSET_SIZE]; in vfat_create_shortname()
Dinode.c842 (sbi->options.isvfat ? FAT_LFN_LEN : 12) * NLS_MAX_CHARSET_SIZE; in fat_statfs()
/Linux-v5.15/fs/ntfs3/
Ddir.c43 if (buf_len < NLS_MAX_CHARSET_SIZE) { in ntfs_utf16_to_nls()
/Linux-v5.15/fs/exfat/
Dsuper.c94 buf->f_namelen = EXFAT_MAX_FILE_LEN * NLS_MAX_CHARSET_SIZE; in exfat_statfs()