Lines Matching defs:smb_command
129 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command)
153 if (smb_command != SMB_COM_WRITE_ANDX &&
154 smb_command != SMB_COM_OPEN_ANDX &&
155 smb_command != SMB_COM_TREE_DISCONNECT) {
157 smb_command);
258 switch (smb_command) {
275 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
280 rc = cifs_reconnect_tcon(tcon, smb_command);
290 header_assemble((struct smb_hdr *) *request_buf, smb_command,
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,
342 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon,
353 smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
358 rc = cifs_reconnect_tcon(tcon, smb_command);
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);