Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dnf_nat_core.c388 static const unsigned int max_attempts = 128; in nf_nat_l4proto_unique_tuple() local
474 if (attempts > max_attempts) in nf_nat_l4proto_unique_tuple()
475 attempts = max_attempts; in nf_nat_l4proto_unique_tuple()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dmobility.c676 const unsigned int max_attempts = 5; in pseries_suspend() local
707 attempt, max_attempts, ret); in pseries_suspend()
709 if (attempt == max_attempts) in pseries_suspend()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dcore.c87 int ret, i, max_attempts = RPM_WAIT_FOR_IDLE_MAX_ATTEMPTS; in venus_sys_error_handler() local
94 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()
/linux-6.1.9/drivers/input/serio/
Dlibps2.c27 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument
51 } while (ps2dev->nak == PS2_RET_NAK && ++attempt < max_attempts); in ps2_do_sendbyte()