Lines Matching refs:streamlen
4906 int nbytes = 0, streamlen, stream_name_len, next, idx = 0; in get_file_stream_info() local
4934 streamlen = strlen(stream_name); in get_file_stream_info()
4935 idx += streamlen + 1; in get_file_stream_info()
4937 ksmbd_debug(SMB, "%s, len %d\n", stream_name, streamlen); in get_file_stream_info()
4943 stream_name_len = streamlen - (XATTR_USER_PREFIX_LEN + in get_file_stream_info()
4945 streamlen = stream_name_len; in get_file_stream_info()
4948 streamlen += 1; in get_file_stream_info()
4949 stream_buf = kmalloc(streamlen + 1, GFP_KERNEL); in get_file_stream_info()
4953 streamlen = snprintf(stream_buf, streamlen + 1, in get_file_stream_info()
4956 next = sizeof(struct smb2_file_stream_info) + streamlen * 2; in get_file_stream_info()
4963 streamlen = smbConvertToUTF16((__le16 *)file_info->StreamName, in get_file_stream_info()
4964 stream_buf, streamlen, in get_file_stream_info()
4966 streamlen *= 2; in get_file_stream_info()
4968 file_info->StreamNameLength = cpu_to_le32(streamlen); in get_file_stream_info()
4982 streamlen = smbConvertToUTF16((__le16 *)file_info->StreamName, in get_file_stream_info()
4984 streamlen *= 2; in get_file_stream_info()
4985 file_info->StreamNameLength = cpu_to_le32(streamlen); in get_file_stream_info()
4988 nbytes += sizeof(struct smb2_file_stream_info) + streamlen; in get_file_stream_info()