Lines Matching refs:rsp
533 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument
539 int ack_req = le32_to_cpu(rsp->Flags & in smb2_tcon_has_lease()
542 lease_state = le32_to_cpu(rsp->NewLeaseState); in smb2_tcon_has_lease()
548 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
563 cfile->oplock_epoch = le16_to_cpu(rsp->Epoch); in smb2_tcon_has_lease()
575 struct smb2_lease_break *rsp) in smb2_tcon_find_pending_open_lease() argument
577 __u8 lease_state = le32_to_cpu(rsp->NewLeaseState); in smb2_tcon_find_pending_open_lease()
578 int ack_req = le32_to_cpu(rsp->Flags & in smb2_tcon_find_pending_open_lease()
584 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_find_pending_open_lease()
605 struct smb2_lease_break *rsp = (struct smb2_lease_break *)buffer; in smb2_is_valid_lease_break() local
628 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break()
634 rsp); in smb2_is_valid_lease_break()
646 rsp->NewLeaseState); in smb2_is_valid_lease_break()
652 !memcmp(rsp->LeaseKey, in smb2_is_valid_lease_break()
673 struct smb2_oplock_break *rsp = (struct smb2_oplock_break *)buffer; in smb2_is_valid_oplock_break() local
682 if (rsp->sync_hdr.Command != SMB2_OPLOCK_BREAK) in smb2_is_valid_oplock_break()
685 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
687 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
693 cifs_dbg(FYI, "oplock level 0x%x\n", rsp->OplockLevel); in smb2_is_valid_oplock_break()
707 if (rsp->PersistentFid != in smb2_is_valid_oplock_break()
709 rsp->VolatileFid != in smb2_is_valid_oplock_break()
719 rsp->OplockLevel == SMB2_OPLOCK_LEVEL_NONE) in smb2_is_valid_oplock_break()
728 cfile->oplock_level = rsp->OplockLevel; in smb2_is_valid_oplock_break()
835 struct smb2_create_rsp *rsp = mid->resp_buf; in smb2_handle_cancelled_mid() local
851 rsp->PersistentFileId, in smb2_handle_cancelled_mid()
852 rsp->VolatileFileId); in smb2_handle_cancelled_mid()