Lines Matching defs:wct
108 small_smb_init(int smb_command, int wct, struct cifsTconInfo *tcon,
209 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon,wct);
218 small_smb_init_no_tc(const int smb_command, const int wct,
224 rc = small_smb_init(smb_command, wct, NULL, request_buf);
245 smb_init(int smb_command, int wct, struct cifsTconInfo *tcon,
356 wct /*wct */ );
370 /* check for plausible wct, bcc and t2 data and parm sizes */
450 /* Check wct = 1 error case */
452 /* core returns wct = 1, but we do not ask for core - otherwise
453 small wct just comes when dialect index is -1 indicating we
544 /* unknown wct */
548 /* else wct == 17 NTLM */
1142 /* BB verify if wct == 15 */
1286 int wct;
1292 wct = 12;
1294 wct = 10; /* old style read */
1297 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **) &pSMB);
1308 if(wct == 12)
1316 if(wct == 12)
1388 int bytes_returned, wct;
1397 wct = 14;
1399 wct = 12;
1401 rc = smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB,
1412 if(wct == 14)
1448 if(wct == 14)
1450 else /* wct == 12 */ {
1457 if(wct == 14)
1493 int wct;
1500 wct = 14;
1502 wct = 12;
1503 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB);
1513 if(wct == 14)
1527 if(wct == 14)
1529 else /* wct == 12 */
1531 if(wct == 14)
1533 else /* wct == 12 */ /* bigger pad, smaller smb hdr, keep offset ok */ {
1539 if(wct == 14)
1541 else /* wct == 12 pad bigger by four bytes */