Lines Matching refs:smb_command
129 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument
153 if (smb_command != SMB_COM_WRITE_ANDX && in cifs_reconnect_tcon()
154 smb_command != SMB_COM_OPEN_ANDX && in cifs_reconnect_tcon()
155 smb_command != SMB_COM_TREE_DISCONNECT) { in cifs_reconnect_tcon()
157 smb_command); in cifs_reconnect_tcon()
258 switch (smb_command) { in cifs_reconnect_tcon()
275 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in small_smb_init() argument
280 rc = cifs_reconnect_tcon(tcon, smb_command); in small_smb_init()
290 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
300 small_smb_init_no_tc(const int smb_command, const int wct, in small_smb_init_no_tc() argument
306 rc = small_smb_init(smb_command, wct, NULL, request_buf); in small_smb_init_no_tc()
327 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in __smb_init() argument
342 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon, in __smb_init()
353 smb_init(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init() argument
358 rc = cifs_reconnect_tcon(tcon, smb_command); in smb_init()
362 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init()
366 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon, in smb_init_no_reconnect() argument
372 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init_no_reconnect()