Lines Matching refs:rsp_hdr
627 struct smb2_hdr *rsp_hdr;
640 rsp_hdr = smb2_get_msg(work->response_buf);
641 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
642 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER;
643 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE;
644 rsp_hdr->CreditRequest = cpu_to_le16(0);
645 rsp_hdr->Command = SMB2_OPLOCK_BREAK;
646 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR);
647 rsp_hdr->NextCommand = 0;
648 rsp_hdr->MessageId = cpu_to_le64(-1);
649 rsp_hdr->Id.SyncId.ProcessId = 0;
650 rsp_hdr->Id.SyncId.TreeId = 0;
651 rsp_hdr->SessionId = 0;
652 memset(rsp_hdr->Signature, 0, 16);
740 struct smb2_hdr *rsp_hdr;
747 rsp_hdr = smb2_get_msg(work->response_buf);
748 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
749 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER;
750 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE;
751 rsp_hdr->CreditRequest = cpu_to_le16(0);
752 rsp_hdr->Command = SMB2_OPLOCK_BREAK;
753 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR);
754 rsp_hdr->NextCommand = 0;
755 rsp_hdr->MessageId = cpu_to_le64(-1);
756 rsp_hdr->Id.SyncId.ProcessId = 0;
757 rsp_hdr->Id.SyncId.TreeId = 0;
758 rsp_hdr->SessionId = 0;
759 memset(rsp_hdr->Signature, 0, 16);