Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ksmbd/
Dmisc.c264 int *conv_len) in ksmbd_convert_dir_info_name() argument
277 *conv_len = smbConvertToUTF16((__le16 *)conv, d_info->name, in ksmbd_convert_dir_info_name()
279 *conv_len *= 2; in ksmbd_convert_dir_info_name()
282 conv[*conv_len] = 0x00; in ksmbd_convert_dir_info_name()
283 conv[*conv_len + 1] = 0x00; in ksmbd_convert_dir_info_name()
Dauth.c126 int ret, len, conv_len; in calc_ntlmv2_hash() local
159 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()
161 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
169 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
183 conv_len = smb_strtoUTF16((__le16 *)domain, dname, len, in calc_ntlmv2_hash()
185 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
192 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
384 int len, uni_len, conv_len; in ksmbd_build_ntlmssp_challenge_blob() local
416 conv_len = smb_strtoUTF16((__le16 *)name, ksmbd_netbios_name(), len, in ksmbd_build_ntlmssp_challenge_blob()
418 if (conv_len < 0 || conv_len > len) { in ksmbd_build_ntlmssp_challenge_blob()
[all …]
Dmisc.h29 int *conv_len);
Dsmb2pdu.c3385 int conv_len; in smb2_populate_readdir_entry() local
3391 &conv_len); in smb2_populate_readdir_entry()
3396 if (conv_len < 0) { in smb2_populate_readdir_entry()
3402 next_entry_offset = ALIGN(struct_sz - 1 + conv_len, in smb2_populate_readdir_entry()
3421 ffdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3428 memcpy(ffdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3437 fbdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3446 memcpy(fbdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3455 fdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3458 memcpy(fdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
[all …]