Lines Matching full:mid
35 check_smb2_hdr(struct smb2_sync_hdr *shdr, __u64 mid) in check_smb2_hdr() argument
44 (mid == wire_mid)) { in check_smb2_hdr()
54 } else { /* bad signature or mid */ in check_smb2_hdr()
58 if (mid != wire_mid) in check_smb2_hdr()
60 mid, wire_mid); in check_smb2_hdr()
62 cifs_dbg(VFS, "Bad SMB detected. The Mid=%llu\n", wire_mid); in check_smb2_hdr()
144 __u64 mid; in smb2_check_message() local
176 mid = le64_to_cpu(shdr->MessageId); in smb2_check_message()
192 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n", in smb2_check_message()
193 mid); in smb2_check_message()
197 if (check_smb2_hdr(shdr, mid)) in smb2_check_message()
236 cifs_dbg(FYI, "Calculated size %u length %u mismatch mid %llu\n", in smb2_check_message()
237 clc_len, len, mid); in smb2_check_message()
266 "srv rsp too short, len %d not %d. cmd:%d mid:%llu\n", in smb2_check_message()
267 len, clc_len, command, mid); in smb2_check_message()
760 if (cancelled->mid) in smb2_cancelled_close_fid()
761 cifs_tcon_dbg(VFS, "Close unmatched open for MID:%llx\n", in smb2_cancelled_close_fid()
762 cancelled->mid); in smb2_cancelled_close_fid()
769 cifs_tcon_dbg(VFS, "Close cancelled mid failed rc:%d\n", rc); in smb2_cancelled_close_fid()
784 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd() argument
797 cancelled->mid = mid; in __smb2_handle_cancelled_cmd()
838 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() argument
840 struct smb2_sync_hdr *sync_hdr = mid->resp_buf; in smb2_handle_cancelled_mid()
841 struct smb2_create_rsp *rsp = mid->resp_buf; in smb2_handle_cancelled_mid()
845 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || sync_hdr->Command != SMB2_CREATE || in smb2_handle_cancelled_mid()