Home
last modified time | relevance | path

Searched refs:Command (Results 1 – 11 of 11) sorted by relevance

/fs/cifs/
Dsmb2transport.c470 if ((smb2_pdu->Command == SMB2_NEGOTIATE) || in smb2_verify_signature()
471 (smb2_pdu->Command == SMB2_SESSION_SETUP) || in smb2_verify_signature()
472 (smb2_pdu->Command == SMB2_OPLOCK_BREAK) || in smb2_verify_signature()
484 smb2_pdu->Command); in smb2_verify_signature()
541 temp->command = smb_buffer->Command; /* Always LE */ in smb2_mid_entry_alloc()
571 if ((buf->Command != SMB2_SESSION_SETUP) && in smb2_get_mid_entry()
572 (buf->Command != SMB2_NEGOTIATE)) in smb2_get_mid_entry()
578 if (buf->Command != SMB2_LOGOFF) in smb2_get_mid_entry()
Dsmb2misc.c47 if (hdr->Command == SMB2_OPLOCK_BREAK) in check_smb2_hdr()
142 command = le16_to_cpu(hdr->Command); in smb2_check_message()
261 switch (hdr->Command) { in smb2_get_data_area_len()
357 if (has_smb2_data_area[le16_to_cpu(hdr->Command)] == false) in smb2_calc_size()
568 if (rsp->hdr.Command != SMB2_OPLOCK_BREAK) in smb2_is_valid_oplock_break()
662 if (hdr->Command != SMB2_CREATE || hdr->Status != STATUS_SUCCESS) in smb2_handle_cancelled_mid()
Dmisc.c253 buffer->Command = smb_command; in header_assemble()
299 if (smb->Command == SMB_COM_LOCKING_ANDX) in check_smb_hdr()
403 if ((pSMB->hdr.Command == SMB_COM_NT_TRANSACT) && in is_valid_oplock_break()
435 if (pSMB->hdr.Command != SMB_COM_LOCKING_ANDX) in is_valid_oplock_break()
Dtransport.c63 temp->command = cpu_to_le16(smb_buffer->Command); in AllocMidQEntry()
64 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in AllocMidQEntry()
473 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) && in allocate_mid()
474 (in_buf->Command != SMB_COM_NEGOTIATE)) in allocate_mid()
481 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) in allocate_mid()
1061 if (in_buf->Command == SMB_COM_TRANSACTION2) { in SendReceiveBlockingLock()
Dsmb1ops.c47 in_buf->Command = SMB_COM_NT_CANCEL; in send_nt_cancel()
107 le16_to_cpu(mid->command) == buf->Command) { in cifs_find_mid()
253 if (pSMB->Command != SMB_COM_TRANSACTION2) in check2ndT2()
Dcifsencrypt.c224 if (cifs_pdu->Command == SMB_COM_LOCKING_ANDX) { in cifs_verify_signature()
237 cifs_pdu->Command); in cifs_verify_signature()
Dcifs_debug.c65 smb->Command, smb->Status.CifsError, in cifs_dump_detail()
Dsmb2pdu.h109 __le16 Command; member
Dsmb2ops.c189 (mid->command == hdr->Command)) { in smb2_find_mid()
205 smb->Command, smb->Status, smb->Flags, smb->MessageId, in smb2_dump_detail()
Dcifspdu.h408 __u8 Command; member
Dsmb2pdu.c105 hdr->Command = smb2_cmd; in smb2_hdr_assemble()