Lines Matching defs:mid
35 check_smb2_hdr(struct smb2_sync_hdr *shdr, __u64 mid)
44 (mid == wire_mid)) {
54 } else { /* bad signature or mid */
58 if (mid != wire_mid)
60 mid, wire_mid);
144 __u64 mid;
176 mid = le64_to_cpu(shdr->MessageId);
192 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n",
193 mid);
197 if (check_smb2_hdr(shdr, mid))
236 cifs_dbg(FYI, "Calculated size %u length %u mismatch mid %llu\n",
237 clc_len, len, mid);
266 "srv rsp too short, len %d not %d. cmd:%d mid:%llu\n",
267 len, clc_len, command, mid);
754 if (cancelled->mid)
756 cancelled->mid);
763 cifs_tcon_dbg(VFS, "Close cancelled mid failed rc:%d\n", rc);
778 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid,
791 cancelled->mid = mid;
832 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server)
834 struct smb2_sync_hdr *sync_hdr = mid->resp_buf;
835 struct smb2_create_rsp *rsp = mid->resp_buf;
839 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || sync_hdr->Command != SMB2_CREATE ||