Lines Matching refs:rsp_hdr
641 struct smb2_hdr *rsp_hdr;
654 rsp_hdr = smb2_get_msg(work->response_buf);
655 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
656 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER;
657 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE;
658 rsp_hdr->CreditRequest = cpu_to_le16(0);
659 rsp_hdr->Command = SMB2_OPLOCK_BREAK;
660 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR);
661 rsp_hdr->NextCommand = 0;
662 rsp_hdr->MessageId = cpu_to_le64(-1);
663 rsp_hdr->Id.SyncId.ProcessId = 0;
664 rsp_hdr->Id.SyncId.TreeId = 0;
665 rsp_hdr->SessionId = 0;
666 memset(rsp_hdr->Signature, 0, 16);
751 struct smb2_hdr *rsp_hdr;
758 rsp_hdr = smb2_get_msg(work->response_buf);
759 memset(rsp_hdr, 0, sizeof(struct smb2_hdr) + 2);
760 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER;
761 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE;
762 rsp_hdr->CreditRequest = cpu_to_le16(0);
763 rsp_hdr->Command = SMB2_OPLOCK_BREAK;
764 rsp_hdr->Flags = (SMB2_FLAGS_SERVER_TO_REDIR);
765 rsp_hdr->NextCommand = 0;
766 rsp_hdr->MessageId = cpu_to_le64(-1);
767 rsp_hdr->Id.SyncId.ProcessId = 0;
768 rsp_hdr->Id.SyncId.TreeId = 0;
769 rsp_hdr->SessionId = 0;
770 memset(rsp_hdr->Signature, 0, 16);