Lines Matching refs:rsp
526 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument
532 int ack_req = le32_to_cpu(rsp->Flags & in smb2_tcon_has_lease()
535 lease_state = le32_to_cpu(rsp->NewLeaseState); in smb2_tcon_has_lease()
541 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
556 cfile->oplock_epoch = le16_to_cpu(rsp->Epoch); in smb2_tcon_has_lease()
568 struct smb2_lease_break *rsp) in smb2_tcon_find_pending_open_lease() argument
570 __u8 lease_state = le32_to_cpu(rsp->NewLeaseState); in smb2_tcon_find_pending_open_lease()
571 int ack_req = le32_to_cpu(rsp->Flags & in smb2_tcon_find_pending_open_lease()
577 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
598 struct smb2_lease_break *rsp = (struct smb2_lease_break *)buffer; in smb2_is_valid_lease_break() local
621 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break()
627 rsp); in smb2_is_valid_lease_break()
639 rsp->NewLeaseState); in smb2_is_valid_lease_break()
645 !memcmp(rsp->LeaseKey, in smb2_is_valid_lease_break()
666 struct smb2_oplock_break *rsp = (struct smb2_oplock_break *)buffer; in smb2_is_valid_oplock_break() local
675 if (rsp->sync_hdr.Command != SMB2_OPLOCK_BREAK) in smb2_is_valid_oplock_break()
678 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
680 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
686 cifs_dbg(FYI, "oplock level 0x%x\n", rsp->OplockLevel); in smb2_is_valid_oplock_break()
700 if (rsp->PersistentFid != in smb2_is_valid_oplock_break()
702 rsp->VolatileFid != in smb2_is_valid_oplock_break()
712 rsp->OplockLevel == SMB2_OPLOCK_LEVEL_NONE) in smb2_is_valid_oplock_break()
721 cfile->oplock_level = rsp->OplockLevel; in smb2_is_valid_oplock_break()
795 struct smb2_create_rsp *rsp = (struct smb2_create_rsp *)buffer; in smb2_handle_cancelled_mid() local
808 rc = __smb2_handle_cancelled_close(tcon, rsp->PersistentFileId, in smb2_handle_cancelled_mid()
809 rsp->VolatileFileId); in smb2_handle_cancelled_mid()