Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 5 of 5) sorted by relevance

/fs/cifs/
Dsmb2pdu.c299 free_rsp_buf(int resp_buftype, void *rsp) in free_rsp_buf() argument
302 cifs_small_buf_release(rsp); in free_rsp_buf()
304 cifs_buf_release(rsp); in free_rsp_buf()
327 struct smb2_negotiate_rsp *rsp; in SMB2_negotiate() local
384 rsp = (struct smb2_negotiate_rsp *)iov[0].iov_base; in SMB2_negotiate()
392 cifs_dbg(FYI, "mode 0x%x\n", rsp->SecurityMode); in SMB2_negotiate()
396 if (rsp->DialectRevision == cpu_to_le16(SMB20_PROT_ID)) in SMB2_negotiate()
398 else if (rsp->DialectRevision == cpu_to_le16(SMB21_PROT_ID)) in SMB2_negotiate()
400 else if (rsp->DialectRevision == cpu_to_le16(SMB30_PROT_ID)) in SMB2_negotiate()
404 le16_to_cpu(rsp->DialectRevision)); in SMB2_negotiate()
[all …]
Dsmb2misc.c418 struct smb2_lease_break *rsp = (struct smb2_lease_break *)buffer; in smb2_is_valid_lease_break() local
427 int ack_req = le32_to_cpu(rsp->Flags & in smb2_is_valid_lease_break()
435 lw->lease_state = rsp->NewLeaseState; in smb2_is_valid_lease_break()
454 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_is_valid_lease_break()
460 le32_to_cpu(rsp->NewLeaseState)); in smb2_is_valid_lease_break()
463 smb2_map_lease_to_oplock(rsp->NewLeaseState)); in smb2_is_valid_lease_break()
479 if (memcmp(open->lease_key, rsp->LeaseKey, in smb2_is_valid_lease_break()
494 le32_to_cpu(rsp->NewLeaseState)); in smb2_is_valid_lease_break()
497 smb2_map_lease_to_oplock(rsp->NewLeaseState); in smb2_is_valid_lease_break()
516 struct smb2_oplock_break *rsp = (struct smb2_oplock_break *)buffer; in smb2_is_valid_oplock_break() local
[all …]
Dsmb1ops.c84 READ_RSP *rsp = (READ_RSP *)buf; in cifs_read_data_offset() local
85 return le16_to_cpu(rsp->DataOffset); in cifs_read_data_offset()
91 READ_RSP *rsp = (READ_RSP *)buf; in cifs_read_data_length() local
92 return (le16_to_cpu(rsp->DataLengthHigh) << 16) + in cifs_read_data_length()
93 le16_to_cpu(rsp->DataLength); in cifs_read_data_length()
Dsmb2ops.c377 struct smb2_read_rsp *rsp = (struct smb2_read_rsp *)buf; in smb2_read_data_offset() local
378 return rsp->DataOffset; in smb2_read_data_offset()
384 struct smb2_read_rsp *rsp = (struct smb2_read_rsp *)buf; in smb2_read_data_length() local
385 return le32_to_cpu(rsp->DataLength); in smb2_read_data_length()
Dcifssmb.c444 struct lanman_neg_rsp *rsp = (struct lanman_neg_rsp *)pSMBr; in CIFSSMBNegotiate() local
454 server->sec_mode = le16_to_cpu(rsp->SecurityMode); in CIFSSMBNegotiate()
456 le16_to_cpu(rsp->MaxMpxCount), in CIFSSMBNegotiate()
459 server->maxBuf = le16_to_cpu(rsp->MaxBufSize); in CIFSSMBNegotiate()
460 server->max_vcs = le16_to_cpu(rsp->MaxNumberVcs); in CIFSSMBNegotiate()
463 if ((le16_to_cpu(rsp->RawMode) & RAW_ENABLE) == RAW_ENABLE) { in CIFSSMBNegotiate()
470 tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); in CIFSSMBNegotiate()
482 ts = cnvrtDosUnixTm(rsp->SrvTime.Date, in CIFSSMBNegotiate()
483 rsp->SrvTime.Time, 0); in CIFSSMBNegotiate()
506 if (rsp->EncryptionKeyLength == in CIFSSMBNegotiate()
[all …]