Searched refs:max_attempts (Results 1 – 4 of 4) sorted by relevance
204 static const unsigned int max_attempts = 128; in nf_nat_exp_find_port() local211 if (attempts_left > max_attempts) in nf_nat_exp_find_port()212 attempts_left = max_attempts; in nf_nat_exp_find_port()
672 const unsigned int max_attempts = 5; in pseries_suspend() local703 attempt, max_attempts, ret); in pseries_suspend()705 if (attempt == max_attempts) in pseries_suspend()
88 int ret, i, max_attempts = RPM_WAIT_FOR_IDLE_MAX_ATTEMPTS; in venus_sys_error_handler() local95 max_attempts = 0; in venus_sys_error_handler()102 for (i = 0; i < max_attempts; i++) { in venus_sys_error_handler()116 for (i = 0; i < max_attempts; i++) { in venus_sys_error_handler()
44 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument68 } while (ps2dev->nak == PS2_RET_NAK && ++attempt < max_attempts); in ps2_do_sendbyte()