Home
last modified time | relevance | path

Searched refs:n_retries (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/basic/
Dfileio.c408 int n_retries; in read_virtual_file_fd() local
428 n_retries = 3; in read_virtual_file_fd()
441 if (st.st_size > 0 && n_retries > 1) { in read_virtual_file_fd()
458 n_retries--; in read_virtual_file_fd()
459 } else if (n_retries > 1) { in read_virtual_file_fd()
463 n_retries = 1; in read_virtual_file_fd()
466 n_retries = 0; in read_virtual_file_fd()
509 if (n_retries <= 0) in read_virtual_file_fd()
/systemd-251/src/network/netdev/
Dwireguard.c324 usec = (2 << MIN(peer->n_retries, 7U)) * 100 * USEC_PER_MSEC; in peer_next_resolve_usec()
350 peer->n_retries++; in wireguard_peer_resolve_handler()
363 peer->n_retries = 0; in wireguard_peer_resolve_handler()
371 peer->n_retries++; in wireguard_peer_resolve_handler()
375 if (peer->n_retries > 0) { in wireguard_peer_resolve_handler()
Dwireguard.h39 unsigned n_retries; member