Lines Matching refs:smb2_command
156 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_reconnect() argument
172 if (smb2_command == SMB2_TREE_CONNECT) in smb2_reconnect()
181 if ((smb2_command != SMB2_WRITE) && in smb2_reconnect()
182 (smb2_command != SMB2_CREATE) && in smb2_reconnect()
183 (smb2_command != SMB2_TREE_DISCONNECT)) { in smb2_reconnect()
185 smb2_command); in smb2_reconnect()
206 switch (smb2_command) { in smb2_reconnect()
314 if (smb2_command != SMB2_INTERNAL_CMD) in smb2_reconnect()
327 switch (smb2_command) { in smb2_reconnect()
345 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, in fill_small_buf() argument
352 __u16 parmsize = smb2_req_struct_sizes[le16_to_cpu(smb2_command)]; in fill_small_buf()
360 smb2_hdr_assemble(&spdu->sync_hdr, smb2_command, tcon, server); in fill_small_buf()
371 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init() argument
376 if (smb2_command == SMB2_SET_INFO) in __smb2_plain_req_init()
385 fill_small_buf(smb2_command, tcon, server, in __smb2_plain_req_init()
390 uint16_t com_code = le16_to_cpu(smb2_command); in __smb2_plain_req_init()
398 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init() argument
404 rc = smb2_reconnect(smb2_command, tcon, server); in smb2_plain_req_init()
408 return __smb2_plain_req_init(smb2_command, tcon, server, request_buf, in smb2_plain_req_init()