Home
last modified time | relevance | path

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

/linux-5.19.10/fs/cifs/
Dtransport.c82 __u16 smb_cmd = le16_to_cpu(midEntry->command); in _cifs_mid_q_entry_release() local
105 if (smb_cmd < NUMBER_OF_SMB2_COMMANDS) { in _cifs_mid_q_entry_release()
106 if (atomic_read(&server->num_cmds[smb_cmd]) == 0) { in _cifs_mid_q_entry_release()
107 server->slowest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
108 server->fastest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
110 if (server->slowest_cmd[smb_cmd] < roundtrip_time) in _cifs_mid_q_entry_release()
111 server->slowest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
112 else if (server->fastest_cmd[smb_cmd] > roundtrip_time) in _cifs_mid_q_entry_release()
113 server->fastest_cmd[smb_cmd] = roundtrip_time; in _cifs_mid_q_entry_release()
115 cifs_stats_inc(&server->num_cmds[smb_cmd]); in _cifs_mid_q_entry_release()
[all …]
Dcifsproto.h168 extern int small_smb_init_no_tc(const int smb_cmd, const int wct,