Home
last modified time | relevance | path

Searched refs:timeouts (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_proto_udp.c34 return nf_udp_pernet(net)->timeouts; in udp_get_timeouts()
91 unsigned int *timeouts; in nf_conntrack_udp_packet() local
96 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udp_packet()
97 if (!timeouts) in nf_conntrack_udp_packet()
98 timeouts = udp_get_timeouts(nf_ct_net(ct)); in nf_conntrack_udp_packet()
107 unsigned long extra = timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_udp_packet()
112 extra = timeouts[UDP_CT_REPLIED]; in nf_conntrack_udp_packet()
126 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[UDP_CT_UNREPLIED]); in nf_conntrack_udp_packet()
189 unsigned int *timeouts; in nf_conntrack_udplite_packet() local
194 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udplite_packet()
[all …]
Dnf_conntrack_proto_gre.c211 return gre_pernet(net)->timeouts; in gre_get_timeouts()
222 unsigned int *timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_gre_packet() local
224 if (!timeouts) in nf_conntrack_gre_packet()
225 timeouts = gre_get_timeouts(nf_ct_net(ct)); in nf_conntrack_gre_packet()
229 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet()
230 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet()
256 unsigned int *timeouts = data; in gre_timeout_nlattr_to_obj() local
259 if (!timeouts) in gre_timeout_nlattr_to_obj()
260 timeouts = gre_get_timeouts(net); in gre_timeout_nlattr_to_obj()
262 timeouts[GRE_CT_UNREPLIED] = net_gre->timeouts[GRE_CT_UNREPLIED]; in gre_timeout_nlattr_to_obj()
[all …]
Dnf_conntrack_proto_tcp.c864 unsigned int index, *timeouts; in nf_conntrack_tcp_packet() local
1129 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_tcp_packet()
1130 if (!timeouts) in nf_conntrack_tcp_packet()
1131 timeouts = tn->timeouts; in nf_conntrack_tcp_packet()
1134 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet()
1135 timeout = timeouts[TCP_CONNTRACK_RETRANS]; in nf_conntrack_tcp_packet()
1137 timeout = timeouts[TCP_CONNTRACK_CLOSE]; in nf_conntrack_tcp_packet()
1140 timeouts[new_state] > timeouts[TCP_CONNTRACK_UNACK]) in nf_conntrack_tcp_packet()
1141 timeout = timeouts[TCP_CONNTRACK_UNACK]; in nf_conntrack_tcp_packet()
1143 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet()
[all …]
Dnfnetlink_cttimeout.c377 const unsigned int *timeouts) in cttimeout_default_fill_info() argument
398 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, timeouts); in cttimeout_default_fill_info()
420 unsigned int *timeouts = NULL; in cttimeout_default_get() local
439 timeouts = &nf_icmp_pernet(net)->timeout; in cttimeout_default_get()
442 timeouts = nf_tcp_pernet(net)->timeouts; in cttimeout_default_get()
446 timeouts = nf_udp_pernet(net)->timeouts; in cttimeout_default_get()
450 timeouts = nf_dccp_pernet(net)->dccp_timeout; in cttimeout_default_get()
454 timeouts = &nf_icmpv6_pernet(net)->timeout; in cttimeout_default_get()
458 timeouts = nf_sctp_pernet(net)->timeouts; in cttimeout_default_get()
463 timeouts = nf_gre_pernet(net)->timeouts; in cttimeout_default_get()
[all …]
Dnf_conntrack_proto_sctp.c372 unsigned int *timeouts; in nf_conntrack_sctp_packet() local
513 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_sctp_packet()
514 if (!timeouts) in nf_conntrack_sctp_packet()
515 timeouts = nf_sctp_pernet(nf_ct_net(ct))->timeouts; in nf_conntrack_sctp_packet()
517 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_sctp_packet()
633 unsigned int *timeouts = data; in sctp_timeout_nlattr_to_obj() local
637 if (!timeouts) in sctp_timeout_nlattr_to_obj()
638 timeouts = sn->timeouts; in sctp_timeout_nlattr_to_obj()
642 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj()
647 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj()
[all …]
Dnf_conntrack_proto_dccp.c481 unsigned int *timeouts; in nf_conntrack_dccp_packet() local
562 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_dccp_packet()
563 if (!timeouts) in nf_conntrack_dccp_packet()
564 timeouts = nf_dccp_pernet(nf_ct_net(ct))->dccp_timeout; in nf_conntrack_dccp_packet()
565 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_dccp_packet()
678 unsigned int *timeouts = data; in dccp_timeout_nlattr_to_obj() local
681 if (!timeouts) in dccp_timeout_nlattr_to_obj()
682 timeouts = dn->dccp_timeout; in dccp_timeout_nlattr_to_obj()
686 timeouts[i] = dn->dccp_timeout[i]; in dccp_timeout_nlattr_to_obj()
691 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in dccp_timeout_nlattr_to_obj()
[all …]
Dnf_conntrack_standalone.c950 &(tn)->timeouts[TCP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_tcp_sysctl()
980 &(sn)->timeouts[SCTP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_sctp_sysctl()
1024 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE].data = &gn->timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_standalone_init_gre_sysctl()
1025 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE_STREAM].data = &gn->timeouts[GRE_CT_REPLIED]; in nf_conntrack_standalone_init_gre_sysctl()
1055 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP].data = &un->timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_standalone_init_sysctl()
1056 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM].data = &un->timeouts[UDP_CT_REPLIED]; in nf_conntrack_standalone_init_sysctl()
/kernel/linux/linux-5.10/include/net/netns/
Dconntrack.h26 unsigned int timeouts[TCP_CONNTRACK_TIMEOUT_MAX]; member
39 unsigned int timeouts[UDP_CT_MAX]; member
55 unsigned int timeouts[SCTP_CONNTRACK_MAX]; member
68 unsigned int timeouts[GRE_CT_MAX]; member
/kernel/linux/linux-5.10/drivers/iio/imu/
Dadis.c356 const struct adis_timeout *timeouts = adis->data->timeouts; in __adis_reset() local
365 msleep(timeouts->sw_reset_ms); in __adis_reset()
374 const struct adis_timeout *timeouts = adis->data->timeouts; in adis_self_test() local
384 msleep(timeouts->self_test_ms); in adis_self_test()
413 const struct adis_timeout *timeouts = adis->data->timeouts; in __adis_initial_startup() local
427 msleep(timeouts->reset_ms); in __adis_initial_startup()
525 if (!data || !data->timeouts) { in adis_init()
/kernel/linux/linux-5.10/drivers/watchdog/
Ddw_wdt.c89 struct dw_wdt_timeout timeouts[DW_WDT_NUM_TOPS]; member
134 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()
141 *top_val = dw_wdt->timeouts[idx].top_val; in dw_wdt_find_best_top()
143 return dw_wdt->timeouts[idx].sec; in dw_wdt_find_best_top()
155 if (dw_wdt->timeouts[idx].sec) in dw_wdt_get_min_timeout()
159 return dw_wdt->timeouts[idx].sec; in dw_wdt_get_min_timeout()
164 struct dw_wdt_timeout *timeout = &dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1]; in dw_wdt_get_max_timeout_ms()
178 if (dw_wdt->timeouts[idx].top_val == top_val) in dw_wdt_get_timeout()
186 return dw_wdt->timeouts[idx].sec * dw_wdt->rmod; in dw_wdt_get_timeout()
450 dst = &dw_wdt->timeouts[tidx]; in dw_wdt_handle_tops()
[all …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dserialio.c27 static int timeouts; variable
220 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_serial_wait_for_xmitr()
229 timeouts = 0; in spk_serial_wait_for_xmitr()
236 timeouts++; in spk_serial_wait_for_xmitr()
245 timeouts++; in spk_serial_wait_for_xmitr()
250 timeouts = 0; in spk_serial_wait_for_xmitr()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_timeout.h80 unsigned int *timeouts = NULL; in nf_ct_timeout_lookup() local
86 timeouts = nf_ct_timeout_data(timeout_ext); in nf_ct_timeout_lookup()
88 return timeouts; in nf_ct_timeout_lookup()
/kernel/linux/linux-5.10/net/rxrpc/
Dsendmsg.c591 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg()
593 if (p->call.timeouts.hard > INT_MAX / HZ) in rxrpc_sendmsg_cmsg()
595 if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg()
597 if (p->call.nr_timeouts >= 3 && p->call.timeouts.normal > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg()
743 j = msecs_to_jiffies(p.call.timeouts.normal); in rxrpc_do_sendmsg()
744 if (p.call.timeouts.normal > 0 && j == 0) in rxrpc_do_sendmsg()
749 j = msecs_to_jiffies(p.call.timeouts.idle); in rxrpc_do_sendmsg()
750 if (p.call.timeouts.idle > 0 && j == 0) in rxrpc_do_sendmsg()
755 if (p.call.timeouts.hard > 0) { in rxrpc_do_sendmsg()
756 j = msecs_to_jiffies(p.call.timeouts.hard); in rxrpc_do_sendmsg()
/kernel/linux/linux-5.10/net/sctp/
Dsm_sideeffect.c188 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack()
195 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack()
830 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2()
885 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = in sctp_cmd_new_state()
887 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = in sctp_cmd_new_state()
950 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4()
1080 asoc->timeouts[timer] *= 2; in sctp_cmd_t1_timer_update()
1081 if (asoc->timeouts[timer] > asoc->max_init_timeo) { in sctp_cmd_t1_timer_update()
1082 asoc->timeouts[timer] = asoc->max_init_timeo; in sctp_cmd_t1_timer_update()
1089 asoc->timeouts[timer]); in sctp_cmd_t1_timer_update()
[all …]
Dassociola.c125 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = asoc->rto_initial; in sctp_association_init()
126 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = asoc->rto_initial; in sctp_association_init()
127 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = asoc->rto_initial; in sctp_association_init()
133 asoc->timeouts[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD] in sctp_association_init()
136 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = asoc->sackdelay; in sctp_association_init()
137 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; in sctp_association_init()
/kernel/linux/linux-5.10/Documentation/driver-api/soundwire/
Derror_handling.rst45 does not define timeouts but the MIPI SoundWire DisCo document adds
46 recommendation on timeouts. If such configurations do not complete, the
47 driver will return a -ETIMEOUT. Such timeouts are symptoms of a faulty
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptctl.h397 unsigned int timeouts; /* num timeouts */ member
420 unsigned long timeouts; /* num timeouts */ member
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
Dsettings5 # Additionally, fw_fallback may take 5 seconds for internal timeouts in each
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-platform-dell-laptop55 The timeouts are expressed in seconds, minutes, hours and
71 Also note that only some timeouts are supported and that
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-tpm170 What: /sys/class/tpm/tpmX/device/timeouts
174 Description: The "timeouts" property shows the 4 vendor-specific values
175 for the TPM's interface spec timeouts. The use of these
176 timeouts is defined by the TPM interface spec that the chip
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_fastopen.c596 u32 timeouts = inet_csk(sk)->icsk_retransmits; in tcp_fastopen_active_detect_blackhole() local
605 (timeouts == 2 || (timeouts < 2 && expired))) { in tcp_fastopen_active_detect_blackhole()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
Dlirc-set-rec-timeout.rst41 If supported by the hardware, setting it to 0 disables all hardware timeouts
/kernel/linux/linux-5.10/Documentation/timers/
Dhrtimers.rst44 identified as "timeouts". Such timeouts are usually set up to cover
49 them becomes necessary. Thus the users of these timeouts can accept
55 (because most of the timeouts are deleted before completion), which
/kernel/linux/linux-5.10/net/decnet/
DTODO4 o Proper timeouts on each neighbour (in routing mode) rather than
/kernel/linux/linux-5.10/Documentation/networking/
Dproc_net_tcp.rst27 | | | | |--> number of unrecovered RTO timeouts

1234