Home
last modified time | relevance | path

Searched refs:smb_cmd (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c95 __u16 smb_cmd = le16_to_cpu(midEntry->command); in _cifs_mid_q_entry_release() local
118 if (smb_cmd < NUMBER_OF_SMB2_COMMANDS) { in _cifs_mid_q_entry_release()
119 if (atomic_read(&server->num_cmds[smb_cmd]) == 0) { in _cifs_mid_q_entry_release()
120 server->slowest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
121 server->fastest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
123 if (server->slowest_cmd[smb_cmd] < roundtrip_time) in _cifs_mid_q_entry_release()
124 server->slowest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
125 else if (server->fastest_cmd[smb_cmd] > roundtrip_time) in _cifs_mid_q_entry_release()
126 server->fastest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
128 cifs_stats_inc(&server->num_cmds[smb_cmd]); in _cifs_mid_q_entry_release()
[all …]
Dcifsproto.h161 extern int small_smb_init_no_tc(const int smb_cmd, const int wct,