Lines Matching refs:smb_command
123 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument
146 if (smb_command != SMB_COM_WRITE_ANDX && in cifs_reconnect_tcon()
147 smb_command != SMB_COM_OPEN_ANDX && in cifs_reconnect_tcon()
148 smb_command != SMB_COM_TREE_DISCONNECT) { in cifs_reconnect_tcon()
150 smb_command); in cifs_reconnect_tcon()
244 switch (smb_command) { in cifs_reconnect_tcon()
261 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init() argument
266 rc = cifs_reconnect_tcon(tcon, smb_command); in small_smb_init()
276 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
286 small_smb_init_no_tc(const int smb_command, const int wct, in small_smb_init_no_tc() argument
292 rc = small_smb_init(smb_command, wct, NULL, request_buf); in small_smb_init_no_tc()
313 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init() argument
328 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon, in __smb_init()
339 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init() argument
344 rc = cifs_reconnect_tcon(tcon, smb_command); in smb_init()
348 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init()
352 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect() argument
358 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init_no_reconnect()