Lines Matching refs:streamlen
4500 int nbytes = 0, streamlen, stream_name_len, next, idx = 0; in get_file_stream_info() local
4524 streamlen = strlen(stream_name); in get_file_stream_info()
4525 idx += streamlen + 1; in get_file_stream_info()
4527 ksmbd_debug(SMB, "%s, len %d\n", stream_name, streamlen); in get_file_stream_info()
4533 stream_name_len = streamlen - (XATTR_USER_PREFIX_LEN + in get_file_stream_info()
4535 streamlen = stream_name_len; in get_file_stream_info()
4538 streamlen += 1; in get_file_stream_info()
4539 stream_buf = kmalloc(streamlen + 1, GFP_KERNEL); in get_file_stream_info()
4543 streamlen = snprintf(stream_buf, streamlen + 1, in get_file_stream_info()
4546 next = sizeof(struct smb2_file_stream_info) + streamlen * 2; in get_file_stream_info()
4553 streamlen = smbConvertToUTF16((__le16 *)file_info->StreamName, in get_file_stream_info()
4554 stream_buf, streamlen, in get_file_stream_info()
4556 streamlen *= 2; in get_file_stream_info()
4558 file_info->StreamNameLength = cpu_to_le32(streamlen); in get_file_stream_info()
4572 streamlen = smbConvertToUTF16((__le16 *)file_info->StreamName, in get_file_stream_info()
4574 streamlen *= 2; in get_file_stream_info()
4575 file_info->StreamNameLength = cpu_to_le32(streamlen); in get_file_stream_info()
4578 nbytes += sizeof(struct smb2_file_stream_info) + streamlen; in get_file_stream_info()