Lines Matching refs:in_buf
690 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid() argument
703 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) && in allocate_mid()
704 (in_buf->Command != SMB_COM_NEGOTIATE)) in allocate_mid()
711 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) in allocate_mid()
716 *ppmidQ = AllocMidQEntry(in_buf, ses->server); in allocate_mid()
859 char *in_buf, int flags) in SendReceiveNoRsp() argument
866 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
867 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp()
1299 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() argument
1304 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceive()
1305 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceive()
1343 rc = allocate_mid(ses, in_buf, &midQ); in SendReceive()
1351 rc = cifs_sign_smb(in_buf, server, &midQ->sequence_number); in SendReceive()
1360 rc = smb_send(server, in_buf, len); in SendReceive()
1414 struct smb_hdr *in_buf, in send_lock_cancel() argument
1419 LOCK_REQ *pSMB = (LOCK_REQ *)in_buf; in send_lock_cancel()
1430 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
1436 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceiveBlockingLock() argument
1443 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceiveBlockingLock()
1444 struct kvec iov = { .iov_base = in_buf, .iov_len = len }; in SendReceiveBlockingLock()
1484 rc = allocate_mid(ses, in_buf, &midQ); in SendReceiveBlockingLock()
1490 rc = cifs_sign_smb(in_buf, server, &midQ->sequence_number); in SendReceiveBlockingLock()
1499 rc = smb_send(server, in_buf, len); in SendReceiveBlockingLock()
1525 if (in_buf->Command == SMB_COM_TRANSACTION2) { in SendReceiveBlockingLock()
1537 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()