• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/

Lines Matching defs:in_buf

289 static int allocate_mid(struct cifsSesInfo *ses, struct smb_hdr *in_buf,
303 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) &&
304 (in_buf->Command != SMB_COM_NEGOTIATE))
308 *ppmidQ = AllocMidQEntry(in_buf, ses->server);
370 struct smb_hdr *in_buf, int flags)
376 iov[0].iov_base = (char *)in_buf;
377 iov[0].iov_len = in_buf->smb_buf_length + 4;
395 struct smb_hdr *in_buf = iov[0].iov_base;
402 cifs_small_buf_release(in_buf);
408 cifs_small_buf_release(in_buf);
418 cifs_small_buf_release(in_buf);
428 rc = allocate_mid(ses, in_buf, &midQ);
431 cifs_small_buf_release(in_buf);
440 cifs_small_buf_release(in_buf);
455 cifs_small_buf_release(in_buf);
582 struct smb_hdr *in_buf, struct smb_hdr *out_buf,
606 if (in_buf->smb_buf_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
608 in_buf->smb_buf_length);
622 rc = allocate_mid(ses, in_buf, &midQ);
631 rc = cifs_sign_smb(in_buf, ses->server, &midQ->sequence_number);
641 rc = smb_send(ses->server, in_buf, in_buf->smb_buf_length);
766 send_nt_cancel(struct cifsTconInfo *tcon, struct smb_hdr *in_buf,
771 __u16 mid = in_buf->Mid;
773 header_assemble(in_buf, SMB_COM_NT_CANCEL, tcon, 0);
774 in_buf->Mid = mid;
776 rc = cifs_sign_smb(in_buf, ses->server, &midQ->sequence_number);
781 rc = smb_send(ses->server, in_buf, in_buf->smb_buf_length);
791 struct smb_hdr *in_buf,
796 LOCK_REQ *pSMB = (LOCK_REQ *)in_buf;
798 /* We just modify the current in_buf to change
807 return SendReceive(xid, ses, in_buf, out_buf,
813 struct smb_hdr *in_buf, struct smb_hdr *out_buf,
840 if (in_buf->smb_buf_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
842 in_buf->smb_buf_length);
856 rc = allocate_mid(ses, in_buf, &midQ);
862 rc = cifs_sign_smb(in_buf, ses->server, &midQ->sequence_number);
873 rc = smb_send(ses->server, in_buf, in_buf->smb_buf_length);
897 if (in_buf->Command == SMB_COM_TRANSACTION2) {
901 rc = send_nt_cancel(tcon, in_buf, midQ);
910 rc = send_lock_cancel(xid, tcon, in_buf, out_buf);