Lines Matching defs:wct

210 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
226 tcon, wct);
235 small_smb_init_no_tc(const int smb_command, const int wct,
241 rc = small_smb_init(smb_command, wct, NULL, request_buf);
262 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
278 wct);
288 smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
297 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
301 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon,
312 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
319 /* check for plausible wct */
452 /* Check wct = 1 error case */
454 /* core returns wct = 1, but we do not ask for core - otherwise
455 small wct just comes when dialect index is -1 indicating we
460 /* unknown wct */
464 /* else wct == 17, NTLM or better */
1106 /* BB verify if wct == 15 */
1319 int wct;
1328 wct = 12;
1330 wct = 10; /* old style read */
1337 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **)&smb);
1347 if (wct == 12)
1352 if (wct == 12)
1388 int wct;
1400 wct = 12;
1402 wct = 10; /* old style read */
1410 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **) &pSMB);
1424 if (wct == 12)
1430 if (wct == 12)
1497 int bytes_returned, wct;
1513 wct = 14;
1515 wct = 12;
1522 rc = smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB,
1537 if (wct == 14)
1566 if (wct == 14)
1568 else /* wct == 12 */
1575 if (wct == 14)
1668 int wct;
1674 wct = 14;
1676 wct = 12;
1683 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **)&smb);
1693 if (wct == 14)
1719 if (wct == 14) {
1723 /* wct == 12 */
1751 int wct;
1766 wct = 14;
1768 wct = 12;
1774 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB);
1788 if (wct == 14)
1801 if (wct == 14)
1803 else /* wct == 12 */
1805 if (wct == 14)
1807 else /* wct == 12 */ /* bigger pad, smaller smb hdr, keep offset ok */ {
1813 if (wct == 14)
1815 else /* wct == 12 pad bigger by four bytes */