Searched refs:Command (Results 1 – 19 of 19) sorted by relevance
/fs/smb/client/ |
D | smb2transport.c | 641 is_binding = shdr->Command == SMB2_SESSION_SETUP && in smb2_sign_rqst() 672 if ((shdr->Command == SMB2_NEGOTIATE) || in smb2_verify_signature() 673 (shdr->Command == SMB2_SESSION_SETUP) || in smb2_verify_signature() 674 (shdr->Command == SMB2_OPLOCK_BREAK) || in smb2_verify_signature() 687 shdr->Command); in smb2_verify_signature() 704 shdr->Command, shdr->MessageId); in smb2_verify_signature() 744 temp->command = shdr->Command; /* Always LE */ in smb2_mid_entry_alloc() 761 le16_to_cpu(shdr->Command), temp->mid); in smb2_mid_entry_alloc() 782 shdr->Command != SMB2_NEGOTIATE) { in smb2_get_mid_entry() 790 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() 185 command = le16_to_cpu(shdr->Command); in smb2_check_message() 333 switch (shdr->Command) { in smb2_get_data_area_len() 382 cifs_dbg(VFS, "no length check for command %d\n", le16_to_cpu(shdr->Command)); in smb2_get_data_area_len() 426 if (has_smb2_data_area[le16_to_cpu(shdr->Command)] == false) in smb2_calc_size() 681 if (rsp->hdr.Command != SMB2_OPLOCK_BREAK) in smb2_is_valid_oplock_break() 840 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || hdr->Command != SMB2_CREATE || in smb2_handle_cancelled_mid() 850 le16_to_cpu(hdr->Command), in smb2_handle_cancelled_mid() 881 if (hdr->Command == SMB2_NEGOTIATE) in smb311_update_preauth_hash() 892 if (hdr->Command != SMB2_SESSION_SETUP) in smb311_update_preauth_hash()
|
D | transport.c | 58 temp->command = cpu_to_le16(smb_buffer->Command); in alloc_mid() 59 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in alloc_mid() 730 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) && in allocate_mid() 731 (in_buf->Command != SMB_COM_NEGOTIATE)) { in allocate_mid() 740 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) { in allocate_mid() 1579 if (in_buf->Command == SMB_COM_TRANSACTION2) { in SendReceiveBlockingLock()
|
D | misc.c | 260 buffer->Command = smb_command; in header_assemble() 307 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr() 415 if ((pSMB->hdr.Command == SMB_COM_NT_TRANSACT) && in is_valid_oplock_break() 447 if (pSMB->hdr.Command != SMB_COM_LOCKING_ANDX) in is_valid_oplock_break()
|
D | cifsencrypt.c | 213 if (cifs_pdu->Command == SMB_COM_LOCKING_ANDX) { in cifs_verify_signature() 226 cifs_pdu->Command); in cifs_verify_signature()
|
D | smb1ops.c | 37 in_buf->Command = SMB_COM_NT_CANCEL; in send_nt_cancel() 99 le16_to_cpu(mid->command) == buf->Command) { in cifs_find_mid() 251 if (pSMB->Command != SMB_COM_TRANSACTION2) in check2ndT2()
|
D | smb2inode.c | 568 if (rc == -EOPNOTSUPP && hdr->Command == SMB2_CREATE && in smb2_query_path_info() 632 ((struct smb2_hdr *)err_iov[0].iov_base)->Command == SMB2_CREATE && in smb311_posix_query_path_info()
|
D | smb2maperror.c | 2450 le16_to_cpu(shdr->Command), in map_smb2_to_linux_error() 2477 le16_to_cpu(shdr->Command), in map_smb2_to_linux_error()
|
D | cifs_debug.c | 42 smb->Command, smb->Status.CifsError, smb->Flags, in cifs_dump_detail()
|
D | smb2ops.c | 366 (mid->command == shdr->Command)) { in __smb2_find_mid() 399 shdr->Command, shdr->Status, shdr->Flags, shdr->MessageId, in smb2_dump_detail() 2405 le16_to_cpu(shdr->Command), in smb2_is_session_expired() 4759 if (shdr->Command != SMB2_READ) { in handle_read_data()
|
D | cifspdu.h | 385 __u8 Command; member
|
D | smb2pdu.c | 94 shdr->Command = smb2_cmd; in smb2_hdr_assemble()
|
/fs/smb/server/ |
D | smb2misc.c | 98 switch (hdr->Command) { in smb2_get_data_area_len() 217 if (hdr->Command == SMB2_LOCK) in smb2_calc_size() 220 if (has_smb2_data_area[le16_to_cpu(hdr->Command)] == false) in smb2_calc_size() 297 switch (hdr->Command) { in smb2_validate_credit_charge() 385 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 | 90 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_get_ksmbd_tcon() 180 if (hdr->Command != SMB2_NEGOTIATE) in is_smb2_neg_cmd() 221 return le16_to_cpu(rcv_hdr->Command); in get_smb2_cmd_val() 261 rsp_hdr->Command = SMB2_NEGOTIATE; in init_smb2_neg_rsp() 348 if (hdr->Command == SMB2_NEGOTIATE) in smb2_set_rsp_credits() 388 if (req->Command == SMB2_CREATE && rsp->Status == STATUS_SUCCESS) { in init_chained_smb2_rsp() 421 rsp_hdr->Command = rcv_hdr->Command; in init_chained_smb2_rsp() 501 rsp_hdr->Command = rcv_hdr->Command; in init_smb2_rsp_hdr() 529 int cmd = le16_to_cpu(hdr->Command); in smb2_allocate_rsp_buf() 567 unsigned int cmd = le16_to_cpu(req_hdr->Command); in smb2_check_user_session() [all …]
|
D | smb_common.h | 173 __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 | transport_rdma.c | 504 hdr->ProtocolId, hdr->Command); in smb_direct_check_recvmsg()
|
/fs/smb/common/ |
D | smb2pdu.h | 140 __le16 Command; member 162 __le16 Command; member
|