Lines Matching refs:smb2_command
156 smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon) in smb2_reconnect() argument
171 if (smb2_command == SMB2_TREE_CONNECT) in smb2_reconnect()
180 if ((smb2_command != SMB2_WRITE) && in smb2_reconnect()
181 (smb2_command != SMB2_CREATE) && in smb2_reconnect()
182 (smb2_command != SMB2_TREE_DISCONNECT)) { in smb2_reconnect()
184 smb2_command); in smb2_reconnect()
204 switch (smb2_command) { in smb2_reconnect()
292 if (smb2_command != SMB2_INTERNAL_CMD) in smb2_reconnect()
305 switch (smb2_command) { in smb2_reconnect()
323 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, void *buf, in fill_small_buf() argument
328 __u16 parmsize = smb2_req_struct_sizes[le16_to_cpu(smb2_command)]; in fill_small_buf()
336 smb2_hdr_assemble(&spdu->sync_hdr, smb2_command, tcon); in fill_small_buf()
347 static int __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in __smb2_plain_req_init() argument
351 if (smb2_command == SMB2_SET_INFO) in __smb2_plain_req_init()
360 fill_small_buf(smb2_command, tcon, in __smb2_plain_req_init()
365 uint16_t com_code = le16_to_cpu(smb2_command); in __smb2_plain_req_init()
373 static int smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, in smb2_plain_req_init() argument
378 rc = smb2_reconnect(smb2_command, tcon); in smb2_plain_req_init()
382 return __smb2_plain_req_init(smb2_command, tcon, request_buf, in smb2_plain_req_init()