Home
last modified time | relevance | path

Searched refs:conv_len (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dmisc.c314 int *conv_len) in ksmbd_convert_dir_info_name() argument
327 *conv_len = smbConvertToUTF16((__le16 *)conv, d_info->name, in ksmbd_convert_dir_info_name()
329 *conv_len *= 2; in ksmbd_convert_dir_info_name()
332 conv[*conv_len] = 0x00; in ksmbd_convert_dir_info_name()
333 conv[*conv_len + 1] = 0x00; in ksmbd_convert_dir_info_name()
Dauth.c127 int ret, len, conv_len; in calc_ntlmv2_hash() local
160 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()
162 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
170 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
184 conv_len = smb_strtoUTF16((__le16 *)domain, dname, len, in calc_ntlmv2_hash()
186 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
193 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
412 int len, uni_len, conv_len; in ksmbd_build_ntlmssp_challenge_blob() local
450 conv_len = smb_strtoUTF16((__le16 *)name, ksmbd_netbios_name(), len, in ksmbd_build_ntlmssp_challenge_blob()
452 if (conv_len < 0 || conv_len > len) { in ksmbd_build_ntlmssp_challenge_blob()
[all …]
Dmisc.h31 int *conv_len);
Dsmb2pdu.c3428 int conv_len; in smb2_populate_readdir_entry() local
3434 &conv_len); in smb2_populate_readdir_entry()
3439 if (conv_len < 0) { in smb2_populate_readdir_entry()
3444 struct_sz = readdir_info_level_struct_sz(info_level) - 1 + conv_len; in smb2_populate_readdir_entry()
3464 ffdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3471 memcpy(ffdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3480 fbdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3489 memcpy(fbdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3498 fdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3501 memcpy(fdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
[all …]