Searched refs:max_attempts (Results 1 – 5 of 5) 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()
388 static const unsigned int max_attempts = 128; in nf_nat_l4proto_unique_tuple() local474 if (attempts > max_attempts) in nf_nat_l4proto_unique_tuple()475 attempts = max_attempts; in nf_nat_l4proto_unique_tuple()
676 const unsigned int max_attempts = 5; in pseries_suspend() local707 attempt, max_attempts, ret); in pseries_suspend()709 if (attempt == max_attempts) in pseries_suspend()
87 int ret, i, max_attempts = RPM_WAIT_FOR_IDLE_MAX_ATTEMPTS; in venus_sys_error_handler() local94 max_attempts = 0; in venus_sys_error_handler()101 for (i = 0; i < max_attempts; i++) { in venus_sys_error_handler()115 for (i = 0; i < max_attempts; i++) { in venus_sys_error_handler()
27 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument51 } while (ps2dev->nak == PS2_RET_NAK && ++attempt < max_attempts); in ps2_do_sendbyte()