Lines Matching full:mid
22 check_smb2_hdr(struct smb2_hdr *shdr, __u64 mid) in check_smb2_hdr() argument
31 (mid == wire_mid)) { in check_smb2_hdr()
41 } else { /* bad signature or mid */ in check_smb2_hdr()
45 if (mid != wire_mid) in check_smb2_hdr()
47 mid, wire_mid); in check_smb2_hdr()
49 cifs_dbg(VFS, "Bad SMB detected. The Mid=%llu\n", wire_mid); in check_smb2_hdr()
145 __u64 mid; in smb2_check_message() local
175 mid = le64_to_cpu(shdr->MessageId); in smb2_check_message()
176 if (check_smb2_hdr(shdr, mid)) in smb2_check_message()
206 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n", in smb2_check_message()
207 mid); in smb2_check_message()
270 "length %u doesn't match read length %u (cmd=%d, mid=%llu)\n", in smb2_check_message()
271 calc_len, len, command, mid); in smb2_check_message()
274 "%u doesn't match read length %u (cmd=%d, mid=%llu)\n", in smb2_check_message()
275 calc_len, len, command, mid); in smb2_check_message()
759 if (cancelled->mid) in smb2_cancelled_close_fid()
760 cifs_tcon_dbg(VFS, "Close unmatched open for MID:%llu\n", in smb2_cancelled_close_fid()
761 cancelled->mid); in smb2_cancelled_close_fid()
768 cifs_tcon_dbg(VFS, "Close cancelled mid failed rc:%d\n", rc); in smb2_cancelled_close_fid()
783 __smb2_handle_cancelled_cmd(struct cifs_tcon *tcon, __u16 cmd, __u64 mid, in __smb2_handle_cancelled_cmd() argument
796 cancelled->mid = mid; in __smb2_handle_cancelled_cmd()
841 smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *server) in smb2_handle_cancelled_mid() argument
843 struct smb2_hdr *hdr = mid->resp_buf; in smb2_handle_cancelled_mid()
844 struct smb2_create_rsp *rsp = mid->resp_buf; in smb2_handle_cancelled_mid()
848 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || hdr->Command != SMB2_CREATE || in smb2_handle_cancelled_mid()