Lines Matching refs:scredits

69 	int scredits, in_flight;  in smb2_add_credits()  local
110 scredits = *val; in smb2_add_credits()
117 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits()
125 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits()
127 optype, scredits, add); in smb2_add_credits()
157 server->conn_id, server->hostname, scredits, add, in_flight); in smb2_add_credits()
158 cifs_dbg(FYI, "%s: added %u credits total=%d\n", __func__, add, scredits); in smb2_add_credits()
164 int scredits, in_flight; in smb2_set_credits() local
170 scredits = server->credits; in smb2_set_credits()
175 server->conn_id, server->hostname, scredits, val, in_flight); in smb2_set_credits()
207 unsigned int scredits, in_flight; in smb2_wait_mtu_credits() local
230 scredits = server->credits; in smb2_wait_mtu_credits()
232 if (scredits <= 8) { in smb2_wait_mtu_credits()
240 scredits -= 8; in smb2_wait_mtu_credits()
242 scredits * SMB2_MAX_BUFFER_SIZE); in smb2_wait_mtu_credits()
254 scredits = server->credits; in smb2_wait_mtu_credits()
259 server->conn_id, server->hostname, scredits, -(credits->value), in_flight); in smb2_wait_mtu_credits()
261 __func__, credits->value, scredits); in smb2_wait_mtu_credits()
272 int scredits, in_flight; in smb2_adjust_credits() local
289 scredits = server->credits; in smb2_adjust_credits()
294 server->conn_id, server->hostname, scredits, in smb2_adjust_credits()
302 scredits = server->credits; in smb2_adjust_credits()
308 server->conn_id, server->hostname, scredits, in smb2_adjust_credits()
311 __func__, credits->value - new_val, scredits); in smb2_adjust_credits()
2274 int scredits, in_flight; in smb2_is_status_pending() local
2282 scredits = server->credits; in smb2_is_status_pending()
2288 server->conn_id, server->hostname, scredits, in smb2_is_status_pending()
2291 __func__, le16_to_cpu(shdr->CreditRequest), scredits); in smb2_is_status_pending()