• Home
  • Raw
  • Download

Lines Matching refs:rsp

513 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp,  in smb2_tcon_has_lease()  argument
522 int ack_req = le32_to_cpu(rsp->Flags & in smb2_tcon_has_lease()
525 lease_state = le32_to_cpu(rsp->NewLeaseState); in smb2_tcon_has_lease()
531 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
537 le32_to_cpu(rsp->NewLeaseState)); in smb2_tcon_has_lease()
565 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
579 le32_to_cpu(rsp->NewLeaseState)); in smb2_tcon_has_lease()
590 struct smb2_lease_break *rsp = (struct smb2_lease_break *)buffer; in smb2_is_valid_lease_break() local
602 lw->lease_state = rsp->NewLeaseState; in smb2_is_valid_lease_break()
620 if (smb2_tcon_has_lease(tcon, rsp, lw)) { in smb2_is_valid_lease_break()
628 !memcmp(rsp->LeaseKey, in smb2_is_valid_lease_break()
650 struct smb2_oplock_break *rsp = (struct smb2_oplock_break *)buffer; in smb2_is_valid_oplock_break() local
659 if (rsp->sync_hdr.Command != SMB2_OPLOCK_BREAK) in smb2_is_valid_oplock_break()
662 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
664 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
670 cifs_dbg(FYI, "oplock level 0x%x\n", rsp->OplockLevel); in smb2_is_valid_oplock_break()
684 if (rsp->PersistentFid != in smb2_is_valid_oplock_break()
686 rsp->VolatileFid != in smb2_is_valid_oplock_break()
696 rsp->OplockLevel == SMB2_OPLOCK_LEVEL_NONE) in smb2_is_valid_oplock_break()
708 if (rsp->OplockLevel) in smb2_is_valid_oplock_break()
788 struct smb2_create_rsp *rsp = (struct smb2_create_rsp *)buffer; in smb2_handle_cancelled_mid() local
801 rc = __smb2_handle_cancelled_close(tcon, rsp->PersistentFileId, in smb2_handle_cancelled_mid()
802 rsp->VolatileFileId); in smb2_handle_cancelled_mid()