Lines Matching refs:conv_len

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()
3926 fninfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3927 memcpy(fninfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3936 dinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3945 memcpy(dinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
3954 fibdinfo->FileNameLength = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
3965 memcpy(fibdinfo->FileName, conv_name, conv_len); in smb2_populate_readdir_entry()
4003 memcpy(posix_info->name, conv_name, conv_len); in smb2_populate_readdir_entry()
4004 posix_info->name_len = cpu_to_le32(conv_len); in smb2_populate_readdir_entry()
4109 int conv_len; in reserve_populate_dentry() local
4116 conv_len = (d_info->name_len + 1) * 2; in reserve_populate_dentry()
4117 next_entry_offset = ALIGN(struct_sz + conv_len, in reserve_populate_dentry()
4817 int conv_len; in get_file_all_info() local
4864 conv_len = smbConvertToUTF16((__le16 *)file_info->FileName, filename, in get_file_all_info()
4866 conv_len *= 2; in get_file_all_info()
4867 file_info->FileNameLength = cpu_to_le32(conv_len); in get_file_all_info()
4869 cpu_to_le32(sizeof(struct smb2_file_all_info) + conv_len - 1); in get_file_all_info()
4882 int conv_len; in get_file_alternate_info() local
4886 conv_len = ksmbd_extract_shortname(conn, in get_file_alternate_info()
4890 file_info->FileNameLength = cpu_to_le32(conv_len); in get_file_alternate_info()
4892 cpu_to_le32(struct_size(file_info, FileName, conv_len)); in get_file_alternate_info()