Searched refs:uniname (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/exfat/ |
| H A D | nls.c | 484 const unsigned short *uniname = p_uniname->name; in exfat_utf16_to_utf8() local 487 len = utf16s_to_utf8s(uniname, MAX_NAME_LENGTH, UTF16_HOST_ENDIAN, in exfat_utf16_to_utf8() 499 unsigned short *uniname = p_uniname->name; in exfat_utf8_to_utf16() local 504 (wchar_t *)uniname, MAX_NAME_LENGTH + 2); in exfat_utf8_to_utf16() 518 if (*uniname < 0x0020 || in exfat_utf8_to_utf16() 519 exfat_wstrchr(bad_uni_chars, *uniname)) in exfat_utf8_to_utf16() 522 upname[i] = cpu_to_le16(exfat_toupper(sb, *uniname)); in exfat_utf8_to_utf16() 523 uniname++; in exfat_utf8_to_utf16() 526 *uniname = '\0'; in exfat_utf8_to_utf16() 546 const unsigned short *uniname = p_uniname->name; in __exfat_utf16_to_nls() local [all …]
|
| H A D | dir.c | 16 unsigned short *uniname) in exfat_extract_uni_name() argument 21 *uniname = le16_to_cpu(ep->dentry.name.unicode_0_14[i]); in exfat_extract_uni_name() 22 if (*uniname == 0x0) in exfat_extract_uni_name() 24 uniname++; in exfat_extract_uni_name() 28 *uniname = 0x0; in exfat_extract_uni_name() 34 struct exfat_chain *p_dir, int entry, unsigned short *uniname) in exfat_get_uniname_from_ext_entry() argument 57 len = exfat_extract_uni_name(ep, uniname); in exfat_get_uniname_from_ext_entry() 61 uniname += EXFAT_FILE_NAME_LEN; in exfat_get_uniname_from_ext_entry() 419 unsigned short *uniname) in exfat_init_name_entry() argument 427 if (*uniname != 0x0) { in exfat_init_name_entry() [all …]
|
| H A D | file.c | 496 struct exfat_uni_name uniname; in exfat_ioctl_get_volume_label() local 498 ret = exfat_read_volume_label(sb, &uniname); in exfat_ioctl_get_volume_label() 502 ret = exfat_utf16_to_nls(sb, &uniname, label, uniname.name_len); in exfat_ioctl_get_volume_label() 517 struct exfat_uni_name uniname; in exfat_ioctl_set_volume_label() local 525 memset(&uniname, 0, sizeof(uniname)); in exfat_ioctl_set_volume_label() 529 &uniname, &lossy); in exfat_ioctl_set_volume_label() 536 uniname.name_len = ret; in exfat_ioctl_set_volume_label() 538 return exfat_write_volume_label(sb, &uniname); in exfat_ioctl_set_volume_label()
|
| H A D | namei.c | 473 struct exfat_uni_name uniname; in exfat_add_entry() local 480 ret = exfat_resolve_path(inode, path, &uniname); in exfat_add_entry() 484 num_entries = exfat_calc_num_entries(&uniname); in exfat_add_entry() 512 exfat_init_ext_entry(&es, num_entries, &uniname); in exfat_add_entry()
|
| H A D | exfat_fs.h | 545 struct exfat_uni_name *uniname, unsigned char *p_cstring, 549 struct exfat_uni_name *uniname, int *p_lossy);
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 80 __le16 *uniname = NULL; in calc_ntlmv2_hash() local 88 uniname = kzalloc(2 + UNICODE_LEN(len), KSMBD_DEFAULT_GFP); in calc_ntlmv2_hash() 89 if (!uniname) { in calc_ntlmv2_hash() 94 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash() 100 UniStrupr(uniname); in calc_ntlmv2_hash() 102 hmac_md5_update(&ctx, (const u8 *)uniname, UNICODE_LEN(conv_len)); in calc_ntlmv2_hash() 123 kfree(uniname); in calc_ntlmv2_hash()
|