Searched refs:Command (Results 1 – 19 of 19) sorted by relevance
/fs/cifs/ |
D | smb2transport.c | 623 is_binding = shdr->Command == SMB2_SESSION_SETUP && in smb2_sign_rqst() 649 if ((shdr->Command == SMB2_NEGOTIATE) || in smb2_verify_signature() 650 (shdr->Command == SMB2_SESSION_SETUP) || in smb2_verify_signature() 651 (shdr->Command == SMB2_OPLOCK_BREAK) || in smb2_verify_signature() 664 shdr->Command); in smb2_verify_signature() 681 shdr->Command, shdr->MessageId); in smb2_verify_signature() 721 temp->command = shdr->Command; /* Always LE */ in smb2_mid_entry_alloc() 737 le16_to_cpu(shdr->Command), temp->mid); in smb2_mid_entry_alloc() 754 shdr->Command != SMB2_NEGOTIATE) in smb2_get_mid_entry() 758 if ((shdr->Command != SMB2_SESSION_SETUP) && in smb2_get_mid_entry() [all …]
|
D | smb2misc.c | 36 if (shdr->Command == SMB2_OPLOCK_BREAK) in check_smb2_hdr() 199 command = le16_to_cpu(shdr->Command); in smb2_check_message() 225 if (shdr->Command == SMB2_NEGOTIATE) in smb2_check_message() 318 switch (shdr->Command) { in smb2_get_data_area_len() 367 cifs_dbg(VFS, "no length check for command %d\n", le16_to_cpu(shdr->Command)); in smb2_get_data_area_len() 411 if (has_smb2_data_area[le16_to_cpu(shdr->Command)] == false) in smb2_calc_size() 666 if (rsp->sync_hdr.Command != SMB2_OPLOCK_BREAK) in smb2_is_valid_oplock_break() 818 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || sync_hdr->Command != SMB2_CREATE || in smb2_handle_cancelled_mid() 828 le16_to_cpu(sync_hdr->Command), in smb2_handle_cancelled_mid() 858 if (hdr->Command == SMB2_NEGOTIATE) in smb311_update_preauth_hash() [all …]
|
D | transport.c | 55 temp->command = cpu_to_le16(smb_buffer->Command); in AllocMidQEntry() 56 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in AllocMidQEntry() 737 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) && in allocate_mid() 738 (in_buf->Command != SMB_COM_NEGOTIATE)) in allocate_mid() 745 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) in allocate_mid() 1554 if (in_buf->Command == SMB_COM_TRANSACTION2) { in SendReceiveBlockingLock()
|
D | misc.c | 250 buffer->Command = smb_command; in header_assemble() 297 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr() 405 if ((pSMB->hdr.Command == SMB_COM_NT_TRANSACT) && in is_valid_oplock_break() 437 if (pSMB->hdr.Command != SMB_COM_LOCKING_ANDX) in is_valid_oplock_break()
|
D | cifsencrypt.c | 212 if (cifs_pdu->Command == SMB_COM_LOCKING_ANDX) { in cifs_verify_signature() 225 cifs_pdu->Command); in cifs_verify_signature()
|
D | smb1ops.c | 36 in_buf->Command = SMB_COM_NT_CANCEL; in send_nt_cancel() 98 le16_to_cpu(mid->command) == buf->Command) { in cifs_find_mid() 245 if (pSMB->Command != SMB_COM_TRANSACTION2) in check2ndT2()
|
D | smb2maperror.c | 2449 le16_to_cpu(shdr->Command), le64_to_cpu(shdr->MessageId)); in map_smb2_to_linux_error() 2474 le16_to_cpu(shdr->Command), in map_smb2_to_linux_error()
|
D | cifs_debug.c | 42 smb->Command, smb->Status.CifsError, in cifs_dump_detail()
|
D | smb2pdu.h | 99 __le16 Command; member
|
D | smb2ops.c | 341 (mid->command == shdr->Command)) { in __smb2_find_mid() 374 shdr->Command, shdr->Status, shdr->Flags, shdr->MessageId, in smb2_dump_detail() 2523 le16_to_cpu(shdr->Command), in smb2_is_session_expired() 4825 if (shdr->Command != SMB2_READ) { in handle_read_data()
|
D | cifspdu.h | 397 __u8 Command; member
|
D | smb2pdu.c | 93 shdr->Command = smb2_cmd; in smb2_hdr_assemble()
|
/fs/ksmbd/ |
D | smb2misc.c | 99 switch (hdr->Command) { in smb2_get_data_area_len() 218 if (hdr->Command == SMB2_LOCK) in smb2_calc_size() 221 if (has_smb2_data_area[le16_to_cpu(hdr->Command)] == false) in smb2_calc_size() 298 switch (hdr->Command) { in smb2_validate_credit_charge() 386 command = le16_to_cpu(hdr->Command); in ksmbd_smb2_check_message()
|
D | smb_common.c | 145 hdr->Command == SMB_COM_NEGOTIATE) { in ksmbd_verify_smb_message() 326 rsp_hdr->Command = SMB_COM_NEGOTIATE; in init_smb1_rsp_hdr()
|
D | smb2pdu.c | 91 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_get_ksmbd_tcon() 181 if (hdr->Command != SMB2_NEGOTIATE) in is_smb2_neg_cmd() 222 return le16_to_cpu(rcv_hdr->Command); in get_smb2_cmd_val() 262 rsp_hdr->Command = SMB2_NEGOTIATE; in init_smb2_neg_rsp() 350 if (hdr->Command == SMB2_NEGOTIATE) in smb2_set_rsp_credits() 390 if (req->Command == SMB2_CREATE && rsp->Status == STATUS_SUCCESS) { in init_chained_smb2_rsp() 423 rsp_hdr->Command = rcv_hdr->Command; in init_chained_smb2_rsp() 503 rsp_hdr->Command = rcv_hdr->Command; in init_smb2_rsp_hdr() 531 int cmd = le16_to_cpu(hdr->Command); in smb2_allocate_rsp_buf() 569 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_check_user_session() [all …]
|
D | smb_common.h | 220 __u8 Command; member
|
D | oplock.c | 659 rsp_hdr->Command = SMB2_OPLOCK_BREAK; in __smb2_oplock_break_noti() 763 rsp_hdr->Command = SMB2_OPLOCK_BREAK; in __smb2_lease_break_noti()
|
D | smb2pdu.h | 139 __le16 Command; member
|
D | transport_rdma.c | 504 hdr->ProtocolId, hdr->Command); in smb_direct_check_recvmsg()
|