Home
last modified time | relevance | path

Searched refs:max_attempts (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/net/netfilter/
Dnf_nat_helper.c204 static const unsigned int max_attempts = 128; in nf_nat_exp_find_port() local
211 if (attempts_left > max_attempts) in nf_nat_exp_find_port()
212 attempts_left = max_attempts; in nf_nat_exp_find_port()
/Linux-v6.6/arch/powerpc/platforms/pseries/
Dmobility.c672 const unsigned int max_attempts = 5; in pseries_suspend() local
703 attempt, max_attempts, ret); in pseries_suspend()
705 if (attempt == max_attempts) in pseries_suspend()
/Linux-v6.6/drivers/media/platform/qcom/venus/
Dcore.c88 int ret, i, max_attempts = RPM_WAIT_FOR_IDLE_MAX_ATTEMPTS; in venus_sys_error_handler() local
95 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()
/Linux-v6.6/drivers/input/serio/
Dlibps2.c44 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument
68 } while (ps2dev->nak == PS2_RET_NAK && ++attempt < max_attempts); in ps2_do_sendbyte()