Lines Matching defs:wct

275 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
291 tcon, wct);
300 small_smb_init_no_tc(const int smb_command, const int wct,
306 rc = small_smb_init(smb_command, wct, NULL, request_buf);
327 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
343 wct);
353 smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
362 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
366 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon,
372 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
379 /* check for plausible wct */
640 /* Check wct = 1 error case */
642 /* core returns wct = 1, but we do not ask for core - otherwise
643 small wct just comes when dialect index is -1 indicating we
652 /* unknown wct */
656 /* else wct == 17, NTLM or better */
1286 /* BB verify if wct == 15 */
1678 int wct;
1687 wct = 12;
1689 wct = 10; /* old style read */
1696 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **)&smb);
1706 if (wct == 12)
1711 if (wct == 12)
1747 int wct;
1759 wct = 12;
1761 wct = 10; /* old style read */
1769 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **) &pSMB);
1783 if (wct == 12)
1789 if (wct == 12)
1856 int bytes_returned, wct;
1872 wct = 14;
1874 wct = 12;
1881 rc = smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB,
1896 if (wct == 14)
1925 if (wct == 14)
1927 else /* wct == 12 */
1934 if (wct == 14)
2203 int wct;
2209 wct = 14;
2211 wct = 12;
2218 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **)&smb);
2228 if (wct == 14)
2257 if (wct == 14) {
2261 /* wct == 12 */
2289 int wct;
2304 wct = 14;
2306 wct = 12;
2312 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB);
2326 if (wct == 14)
2339 if (wct == 14)
2341 else /* wct == 12 */
2343 if (wct == 14)
2345 else /* wct == 12 */ /* bigger pad, smaller smb hdr, keep offset ok */ {
2351 if (wct == 14)
2353 else /* wct == 12 pad bigger by four bytes */