Searched refs:conv_len (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/fs/smb/server/ |
D | misc.c | 315 int *conv_len) in ksmbd_convert_dir_info_name() argument 328 *conv_len = smbConvertToUTF16((__le16 *)conv, d_info->name, in ksmbd_convert_dir_info_name() 330 *conv_len *= 2; in ksmbd_convert_dir_info_name() 333 conv[*conv_len] = 0x00; in ksmbd_convert_dir_info_name() 334 conv[*conv_len + 1] = 0x00; in ksmbd_convert_dir_info_name()
|
D | auth.c | 127 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() 420 int len, uni_len, conv_len; in ksmbd_build_ntlmssp_challenge_blob() local 458 conv_len = smb_strtoUTF16((__le16 *)name, ksmbd_netbios_name(), len, in ksmbd_build_ntlmssp_challenge_blob() 460 if (conv_len < 0 || conv_len > len) { in ksmbd_build_ntlmssp_challenge_blob() [all …]
|
D | misc.h | 31 int *conv_len);
|
D | smb2pdu.c | 3844 int conv_len; in smb2_populate_readdir_entry() local 3850 &conv_len); in smb2_populate_readdir_entry() 3855 if (conv_len < 0) { in smb2_populate_readdir_entry() 3860 struct_sz = readdir_info_level_struct_sz(info_level) + conv_len; in smb2_populate_readdir_entry() 3880 ffdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry() 3887 memcpy(ffdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry() 3896 fbdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry() 3905 memcpy(fbdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry() 3914 fdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry() 3917 memcpy(fdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry() [all …]
|