Searched refs:new_val (Results 1 – 1 of 1) sorted by relevance
215 int new_val = DIV_ROUND_UP(payload_size, SMB2_MAX_BUFFER_SIZE); in smb2_adjust_credits() local217 if (!credits->value || credits->value == new_val) in smb2_adjust_credits()220 if (credits->value < new_val) { in smb2_adjust_credits()222 credits->value, new_val); in smb2_adjust_credits()231 credits->value - new_val); in smb2_adjust_credits()235 server->credits += credits->value - new_val; in smb2_adjust_credits()238 credits->value = new_val; in smb2_adjust_credits()