Home
last modified time | relevance | path

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

1234

/Linux-v6.1/net/netfilter/
Dnf_conntrack_proto_udp.c34 return nf_udp_pernet(net)->timeouts; in udp_get_timeouts()
90 unsigned int *timeouts; in nf_conntrack_udp_packet() local
95 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udp_packet()
96 if (!timeouts) in nf_conntrack_udp_packet()
97 timeouts = udp_get_timeouts(nf_ct_net(ct)); in nf_conntrack_udp_packet()
106 unsigned long extra = timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_udp_packet()
111 extra = timeouts[UDP_CT_REPLIED]; in nf_conntrack_udp_packet()
125 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[UDP_CT_UNREPLIED]); in nf_conntrack_udp_packet()
187 unsigned int *timeouts; in nf_conntrack_udplite_packet() local
192 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udplite_packet()
[all …]
Dnf_conntrack_proto_gre.c198 return gre_pernet(net)->timeouts; in gre_get_timeouts()
209 unsigned int *timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_gre_packet() local
211 if (!timeouts) in nf_conntrack_gre_packet()
212 timeouts = gre_get_timeouts(nf_ct_net(ct)); in nf_conntrack_gre_packet()
216 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet()
217 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet()
243 unsigned int *timeouts = data; in gre_timeout_nlattr_to_obj() local
246 if (!timeouts) in gre_timeout_nlattr_to_obj()
247 timeouts = gre_get_timeouts(net); in gre_timeout_nlattr_to_obj()
249 timeouts[GRE_CT_UNREPLIED] = net_gre->timeouts[GRE_CT_UNREPLIED]; in gre_timeout_nlattr_to_obj()
[all …]
Dnf_conntrack_proto_tcp.c726 const unsigned int *timeouts; in nf_tcp_handle_invalid() local
759 timeouts = nf_ct_timeout_lookup(ct); in nf_tcp_handle_invalid()
760 if (!timeouts) in nf_tcp_handle_invalid()
761 timeouts = tn->timeouts; in nf_tcp_handle_invalid()
763 timeout = READ_ONCE(timeouts[TCP_CONNTRACK_UNACK]); in nf_tcp_handle_invalid()
935 unsigned int index, *timeouts; in nf_conntrack_tcp_packet() local
1232 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_tcp_packet()
1233 if (!timeouts) in nf_conntrack_tcp_packet()
1234 timeouts = tn->timeouts; in nf_conntrack_tcp_packet()
1237 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS]) in nf_conntrack_tcp_packet()
[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()
638 unsigned int *timeouts = data; in sctp_timeout_nlattr_to_obj() local
642 if (!timeouts) in sctp_timeout_nlattr_to_obj()
643 timeouts = sn->timeouts; in sctp_timeout_nlattr_to_obj()
647 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj()
652 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj()
[all …]
Dnfnetlink_cttimeout.c397 const unsigned int *timeouts) in cttimeout_default_fill_info() argument
418 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, timeouts); in cttimeout_default_fill_info()
438 unsigned int *timeouts = NULL; in cttimeout_default_get() local
456 timeouts = &nf_icmp_pernet(info->net)->timeout; in cttimeout_default_get()
459 timeouts = nf_tcp_pernet(info->net)->timeouts; in cttimeout_default_get()
463 timeouts = nf_udp_pernet(info->net)->timeouts; in cttimeout_default_get()
467 timeouts = nf_dccp_pernet(info->net)->dccp_timeout; in cttimeout_default_get()
471 timeouts = &nf_icmpv6_pernet(info->net)->timeout; in cttimeout_default_get()
475 timeouts = nf_sctp_pernet(info->net)->timeouts; in cttimeout_default_get()
480 timeouts = nf_gre_pernet(info->net)->timeouts; in cttimeout_default_get()
[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()
685 unsigned int *timeouts = data; in dccp_timeout_nlattr_to_obj() local
688 if (!timeouts) in dccp_timeout_nlattr_to_obj()
689 timeouts = dn->dccp_timeout; in dccp_timeout_nlattr_to_obj()
693 timeouts[i] = dn->dccp_timeout[i]; in dccp_timeout_nlattr_to_obj()
698 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in dccp_timeout_nlattr_to_obj()
[all …]
Dnf_conntrack_standalone.c992 &(tn)->timeouts[TCP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_tcp_sysctl()
1028 &(sn)->timeouts[SCTP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_sctp_sysctl()
1072 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE].data = &gn->timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_standalone_init_gre_sysctl()
1073 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE_STREAM].data = &gn->timeouts[GRE_CT_REPLIED]; in nf_conntrack_standalone_init_gre_sysctl()
1103 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP].data = &un->timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_standalone_init_sysctl()
1104 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM].data = &un->timeouts[UDP_CT_REPLIED]; in nf_conntrack_standalone_init_sysctl()
/Linux-v6.1/drivers/misc/mei/
Dinit.c402 dev->timeouts.hw_ready = mei_secs_to_jiffies(MEI_HW_READY_TIMEOUT); in mei_device_init()
403 dev->timeouts.connect = MEI_CONNECT_TIMEOUT; in mei_device_init()
404 dev->timeouts.client_init = MEI_CLIENTS_INIT_TIMEOUT; in mei_device_init()
405 dev->timeouts.pgi = mei_secs_to_jiffies(MEI_PGI_TIMEOUT); in mei_device_init()
406 dev->timeouts.d0i3 = mei_secs_to_jiffies(MEI_D0I3_TIMEOUT); in mei_device_init()
408 dev->timeouts.cl_connect = mei_secs_to_jiffies(MEI_CL_CONNECT_TIMEOUT_SLOW); in mei_device_init()
409 dev->timeouts.hbm = mei_secs_to_jiffies(MEI_HBM_TIMEOUT_SLOW); in mei_device_init()
410 dev->timeouts.mkhi_recv = msecs_to_jiffies(MKHI_RCV_TIMEOUT_SLOW); in mei_device_init()
412 dev->timeouts.cl_connect = mei_secs_to_jiffies(MEI_CL_CONNECT_TIMEOUT); in mei_device_init()
413 dev->timeouts.hbm = mei_secs_to_jiffies(MEI_HBM_TIMEOUT); in mei_device_init()
[all …]
Dhw-me.c471 dev->timeouts.hw_ready); in mei_me_hw_ready_wait()
746 dev->timeouts.pgi); in mei_me_pg_legacy_enter_sync()
784 dev->timeouts.pgi); in mei_me_pg_legacy_exit_sync()
801 dev->timeouts.pgi); in mei_me_pg_legacy_exit_sync()
938 dev->timeouts.pgi); in mei_me_d0i3_enter_sync()
959 dev->timeouts.d0i3); in mei_me_d0i3_enter_sync()
1042 dev->timeouts.d0i3); in mei_me_d0i3_exit_sync()
Dhbm.c235 dev->timeouts.hbm); in mei_hbm_start_wait()
278 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_start_req()
319 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_dma_setup_req()
354 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_capabilities_req()
388 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_enum_clients_req()
754 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_prop_req()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dtout.c32 dev->timeouts->to[type] = val; in tout_set()
39 dev->timeouts = kmalloc(sizeof(*dev->timeouts), GFP_KERNEL); in mlx5_tout_init()
40 if (!dev->timeouts) in mlx5_tout_init()
51 kfree(dev->timeouts); in mlx5_tout_cleanup()
102 return dev->timeouts->to[type]; in _mlx5_tout_ms()
/Linux-v6.1/include/net/netns/
Dconntrack.h26 unsigned int timeouts[TCP_CONNTRACK_TIMEOUT_MAX]; member
43 unsigned int timeouts[UDP_CT_MAX]; member
62 unsigned int timeouts[SCTP_CONNTRACK_MAX]; member
75 unsigned int timeouts[GRE_CT_MAX]; member
/Linux-v6.1/drivers/iio/imu/
Dadis.c360 const struct adis_timeout *timeouts = adis->data->timeouts; in __adis_reset() local
369 msleep(timeouts->sw_reset_ms); in __adis_reset()
378 const struct adis_timeout *timeouts = adis->data->timeouts; in adis_self_test() local
388 msleep(timeouts->self_test_ms); in adis_self_test()
417 const struct adis_timeout *timeouts = adis->data->timeouts; in __adis_initial_startup() local
431 msleep(timeouts->reset_ms); in __adis_initial_startup()
529 if (!data || !data->timeouts) { in adis_init()
/Linux-v6.1/drivers/watchdog/
Ddw_wdt.c88 struct dw_wdt_timeout timeouts[DW_WDT_NUM_TOPS]; member
133 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()
140 *top_val = dw_wdt->timeouts[idx].top_val; in dw_wdt_find_best_top()
142 return dw_wdt->timeouts[idx].sec; in dw_wdt_find_best_top()
154 if (dw_wdt->timeouts[idx].sec) in dw_wdt_get_min_timeout()
158 return dw_wdt->timeouts[idx].sec; in dw_wdt_get_min_timeout()
163 struct dw_wdt_timeout *timeout = &dw_wdt->timeouts[DW_WDT_NUM_TOPS - 1]; in dw_wdt_get_max_timeout_ms()
177 if (dw_wdt->timeouts[idx].top_val == top_val) in dw_wdt_get_timeout()
185 return dw_wdt->timeouts[idx].sec * dw_wdt->rmod; in dw_wdt_get_timeout()
447 dst = &dw_wdt->timeouts[tidx]; in dw_wdt_handle_tops()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/include/net/netfilter/
Dnf_conntrack_timeout.h72 unsigned int *timeouts = NULL; in nf_ct_timeout_lookup() local
78 timeouts = nf_ct_timeout_data(timeout_ext); in nf_ct_timeout_lookup()
80 return timeouts; in nf_ct_timeout_lookup()
/Linux-v6.1/net/rxrpc/
Dsendmsg.c574 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg()
576 if (p->call.timeouts.hard > INT_MAX / HZ) in rxrpc_sendmsg_cmsg()
578 if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg()
580 if (p->call.nr_timeouts >= 3 && p->call.timeouts.normal > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg()
726 j = msecs_to_jiffies(p.call.timeouts.normal); in rxrpc_do_sendmsg()
727 if (p.call.timeouts.normal > 0 && j == 0) in rxrpc_do_sendmsg()
732 j = msecs_to_jiffies(p.call.timeouts.idle); in rxrpc_do_sendmsg()
733 if (p.call.timeouts.idle > 0 && j == 0) in rxrpc_do_sendmsg()
738 if (p.call.timeouts.hard > 0) { in rxrpc_do_sendmsg()
739 j = msecs_to_jiffies(p.call.timeouts.hard); in rxrpc_do_sendmsg()
/Linux-v6.1/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()
862 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2()
895 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = in sctp_cmd_new_state()
897 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = in sctp_cmd_new_state()
960 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4()
1090 asoc->timeouts[timer] *= 2; in sctp_cmd_t1_timer_update()
1091 if (asoc->timeouts[timer] > asoc->max_init_timeo) { in sctp_cmd_t1_timer_update()
1092 asoc->timeouts[timer] = asoc->max_init_timeo; in sctp_cmd_t1_timer_update()
1099 asoc->timeouts[timer]); in sctp_cmd_t1_timer_update()
[all …]
/Linux-v6.1/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
/Linux-v6.1/drivers/message/fusion/
Dmptctl.h397 unsigned int timeouts; /* num timeouts */ member
420 unsigned long timeouts; /* num timeouts */ member
/Linux-v6.1/tools/testing/selftests/firmware/
Dsettings5 # Additionally, fw_fallback may take 5 seconds for internal timeouts in each
/Linux-v6.1/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
/Linux-v6.1/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
/Linux-v6.1/net/ipv4/
Dtcp_fastopen.c580 u32 timeouts = inet_csk(sk)->icsk_retransmits; in tcp_fastopen_active_detect_blackhole() local
589 (timeouts == 2 || (timeouts < 2 && expired))) { in tcp_fastopen_active_detect_blackhole()
/Linux-v6.1/Documentation/userspace-api/media/rc/
Dlirc-set-rec-timeout.rst41 If supported by the hardware, setting it to 0 disables all hardware timeouts

1234