| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_udp.c | 34 return nf_udp_pernet(net)->timeouts; in udp_get_timeouts() 101 unsigned int *timeouts; in nf_conntrack_udp_packet() local 107 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_udp_packet() 108 if (!timeouts) in nf_conntrack_udp_packet() 109 timeouts = udp_get_timeouts(nf_ct_net(ct)); in nf_conntrack_udp_packet() 119 unsigned long extra = timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_udp_packet() 124 extra = timeouts[UDP_CT_REPLIED]; in nf_conntrack_udp_packet() 138 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[UDP_CT_UNREPLIED]); in nf_conntrack_udp_packet() 151 unsigned int *timeouts = data; in udp_timeout_nlattr_to_obj() local 154 if (!timeouts) in udp_timeout_nlattr_to_obj() [all …]
|
| H A D | nf_conntrack_proto_tcp.c | 767 const unsigned int *timeouts; in nf_tcp_handle_invalid() local 800 timeouts = nf_ct_timeout_lookup(ct); in nf_tcp_handle_invalid() 801 if (!timeouts) in nf_tcp_handle_invalid() 802 timeouts = tn->timeouts; in nf_tcp_handle_invalid() 804 timeout = READ_ONCE(timeouts[TCP_CONNTRACK_UNACK]); in nf_tcp_handle_invalid() 958 const unsigned int *timeouts; in nf_conntrack_tcp_set_closing() local 974 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_tcp_set_closing() 975 if (!timeouts) { in nf_conntrack_tcp_set_closing() 979 timeouts = tn->timeouts; in nf_conntrack_tcp_set_closing() 982 timeout = timeouts[TCP_CONNTRACK_CLOSE]; in nf_conntrack_tcp_set_closing() [all …]
|
| H A D | nfnetlink_cttimeout.c | 395 const unsigned int *timeouts) in cttimeout_default_fill_info() 416 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, timeouts); in cttimeout_default_fill_info() 436 unsigned int *timeouts = NULL; in cttimeout_default_get() 454 timeouts = &nf_icmp_pernet(info->net)->timeout; in cttimeout_default_get() 457 timeouts = nf_tcp_pernet(info->net)->timeouts; in cttimeout_default_get() 460 timeouts = nf_udp_pernet(info->net)->timeouts; in cttimeout_default_get() 463 timeouts = &nf_icmpv6_pernet(info->net)->timeout; in cttimeout_default_get() 467 timeouts in cttimeout_default_get() 393 cttimeout_default_fill_info(struct net * net,struct sk_buff * skb,u32 portid,u32 seq,u32 type,int event,u16 l3num,const struct nf_conntrack_l4proto * l4proto,const unsigned int * timeouts) cttimeout_default_fill_info() argument 434 unsigned int *timeouts = NULL; cttimeout_default_get() local [all...] |
| H A D | nf_conntrack_proto_sctp.c | 341 unsigned int *timeouts; in nf_conntrack_sctp_packet() local 522 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_sctp_packet() 523 if (!timeouts) in nf_conntrack_sctp_packet() 524 timeouts = nf_sctp_pernet(nf_ct_net(ct))->timeouts; in nf_conntrack_sctp_packet() 526 nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]); in nf_conntrack_sctp_packet() 644 unsigned int *timeouts = data; in sctp_timeout_nlattr_to_obj() local 648 if (!timeouts) in sctp_timeout_nlattr_to_obj() 649 timeouts = sn->timeouts; in sctp_timeout_nlattr_to_obj() 653 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj() 658 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj() [all …]
|
| H A D | nf_conntrack_standalone.c | 942 &(tn)->timeouts[TCP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_tcp_sysctl() 978 &(sn)->timeouts[SCTP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_sctp_sysctl() 998 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE].data = &gn->timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_standalone_init_gre_sysctl() 999 table[NF_SYSCTL_CT_PROTO_TIMEOUT_GRE_STREAM].data = &gn->timeouts[GRE_CT_REPLIED]; in nf_conntrack_standalone_init_gre_sysctl() 1029 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP].data = &un->timeouts[UDP_CT_UNREPLIED]; in nf_conntrack_standalone_init_sysctl() 1030 table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM].data = &un->timeouts[UDP_CT_REPLIED]; in nf_conntrack_standalone_init_sysctl()
|
| /linux/drivers/misc/mei/ |
| H A D | init.c | 396 * @slow_fw: configure longer timeouts as FW is slow in mei_device_init() 444 dev->timeouts.hw_ready = mei_secs_to_jiffies(MEI_HW_READY_TIMEOUT); 445 dev->timeouts.connect = MEI_CONNECT_TIMEOUT; 446 dev->timeouts.client_init = MEI_CLIENTS_INIT_TIMEOUT; 447 dev->timeouts.pgi = mei_secs_to_jiffies(MEI_PGI_TIMEOUT); 448 dev->timeouts.d0i3 = mei_secs_to_jiffies(MEI_D0I3_TIMEOUT); 450 dev->timeouts.cl_connect = mei_secs_to_jiffies(MEI_CL_CONNECT_TIMEOUT_SLOW); 451 dev->timeouts.hbm = mei_secs_to_jiffies(MEI_HBM_TIMEOUT_SLOW); 452 dev->timeouts.mkhi_recv = msecs_to_jiffies(MKHI_RCV_TIMEOUT_SLOW); 454 dev->timeouts [all...] |
| H A D | hbm.c | 237 dev->timeouts.hbm); in mei_hbm_start_wait() 279 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() 357 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_capabilities_req() 390 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_enum_clients_req() 755 dev->init_clients_timer = dev->timeouts.client_init; in mei_hbm_prop_req()
|
| H A D | client.c | 856 cl->timer_count = dev->timeouts.connect; in mei_cl_send_disconnect() 931 dev->timeouts.cl_connect); in __mei_cl_disconnect() 1050 cl->timer_count = dev->timeouts.connect; in mei_cl_send_connect() 1149 dev->timeouts.cl_connect); in mei_cl_connect() 1549 dev->timeouts.cl_connect); in mei_cl_notify_request() 2353 dev->timeouts.cl_connect); in mei_cl_dma_alloc_and_map() 2431 dev->timeouts.cl_connect); in mei_cl_dma_unmap()
|
| /linux/include/net/netns/ |
| H A D | conntrack.h | 23 unsigned int timeouts[TCP_CONNTRACK_TIMEOUT_MAX]; member 40 unsigned int timeouts[UDP_CT_MAX]; member 52 unsigned int timeouts[SCTP_CONNTRACK_MAX]; member 65 unsigned int timeouts[GRE_CT_MAX]; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | tout.c | 33 dev->timeouts->to[type] = val; in tout_set() 40 dev->timeouts = kmalloc_obj(*dev->timeouts); in mlx5_tout_init() 41 if (!dev->timeouts) in mlx5_tout_init() 52 kfree(dev->timeouts); in mlx5_tout_cleanup() 103 return dev->timeouts->to[type]; in _mlx5_tout_ms()
|
| /linux/drivers/iio/imu/ |
| H A D | adis.c | 343 const struct adis_timeout *timeouts = adis->data->timeouts; in __adis_reset() local 352 msleep(timeouts->sw_reset_ms); in __adis_reset() 361 const struct adis_timeout *timeouts = adis->data->timeouts; in adis_self_test() local 371 msleep(timeouts->self_test_ms); in adis_self_test() 400 const struct adis_timeout *timeouts = adis->data->timeouts; in __adis_initial_startup() local 414 msleep(timeouts->reset_ms); in __adis_initial_startup() 515 if (!data || !data->timeouts) { in adis_init()
|
| /linux/drivers/accessibility/speakup/ |
| H A D | serialio.c | 13 static int timeouts; 57 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_serial_init() 58 pr_warn("%s: too many timeouts, deactivating speakup\n", in spk_serial_init() 66 timeouts = 0; in spk_serial_init() 73 timeouts++; in spk_serial_init() 82 timeouts++; in spk_serial_init() 87 timeouts = 0; in spk_serial_init() 27 static int timeouts; global() variable
|
| /linux/net/rxrpc/ |
| H A D | sendmsg.c | 582 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg() 584 if (p->call.timeouts.hard > INT_MAX / HZ) in rxrpc_sendmsg_cmsg() 586 if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg() 588 if (p->call.nr_timeouts >= 3 && p->call.timeouts.normal > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg() 741 WRITE_ONCE(call->next_rx_timo, p.call.timeouts.normal); in rxrpc_do_sendmsg() 744 WRITE_ONCE(call->next_req_timo, p.call.timeouts.idle); in rxrpc_do_sendmsg() 747 if (p.call.timeouts.hard > 0) { in rxrpc_do_sendmsg() 748 ktime_t delay = ms_to_ktime(p.call.timeouts.hard * MSEC_PER_SEC); in rxrpc_do_sendmsg() 751 ktime_add(p.call.timeouts.hard, in rxrpc_do_sendmsg()
|
| H A D | call_object.c | 224 if (p->timeouts.normal) in rxrpc_alloc_client_call() 225 call->next_rx_timo = umin(p->timeouts.normal, 1); in rxrpc_alloc_client_call() 226 if (p->timeouts.idle) in rxrpc_alloc_client_call() 227 call->next_req_timo = umin(p->timeouts.idle, 1); in rxrpc_alloc_client_call() 228 if (p->timeouts.hard) in rxrpc_alloc_client_call() 229 call->hard_timo = p->timeouts.hard; in rxrpc_alloc_client_call()
|
| /linux/net/sctp/ |
| H A D | sm_sideeffect.c | 188 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack() 195 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = in sctp_gen_sack() 875 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2() 908 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = in sctp_cmd_new_state() 910 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = in sctp_cmd_new_state() 973 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4() 1102 asoc->timeouts[timer] *= 2; in sctp_cmd_t1_timer_update() 1103 if (asoc->timeouts[timer] > asoc->max_init_timeo) { in sctp_cmd_t1_timer_update() 1104 asoc->timeouts[timer] = asoc->max_init_timeo; in sctp_cmd_t1_timer_update() 1111 asoc->timeouts[timer]); in sctp_cmd_t1_timer_update() [all …]
|
| H A D | associola.c | 128 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = asoc->rto_initial; in sctp_association_init() 129 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = asoc->rto_initial; in sctp_association_init() 130 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = asoc->rto_initial; in sctp_association_init() 136 asoc->timeouts[SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD] in sctp_association_init() 139 asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = asoc->sackdelay; in sctp_association_init() 140 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = in sctp_association_init()
|
| /linux/Documentation/driver-api/soundwire/ |
| H A D | error_handling.rst | 45 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/drivers/message/fusion/ |
| H A D | mptctl.h | 397 unsigned int timeouts; /* num timeouts */ member 420 unsigned long timeouts; /* num timeouts */ member
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-platform-dell-laptop | 55 The timeouts are expressed in seconds, minutes, hours and 71 Also note that only some timeouts are supported and that
|
| /linux/tools/testing/selftests/firmware/ |
| H A D | settings | 5 # Additionally, fw_fallback may take 5 seconds for internal timeouts in each
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-class-tpm | 170 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/Documentation/timers/ |
| H A D | hrtimers.rst | 44 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
|
| /linux/net/ipv4/ |
| H A D | tcp_fastopen.c | 680 u32 timeouts = inet_csk(sk)->icsk_retransmits; in tcp_fastopen_active_detect_blackhole() 689 (timeouts == 2 || (timeouts < 2 && expired))) { in tcp_fastopen_active_detect_blackhole() 676 u32 timeouts = inet_csk(sk)->icsk_retransmits; tcp_fastopen_active_detect_blackhole() local
|
| /linux/Documentation/userspace-api/media/rc/ |
| H A D | lirc-set-rec-timeout.rst | 41 If supported by the hardware, setting it to 0 disables all hardware timeouts
|
| /linux/drivers/ata/ |
| H A D | libata-eh.c | 124 const unsigned int *timeouts; member 127 /* The following table determines timeouts to use for EH internal 143 .timeouts = ata_eh_identify_timeouts, }, 145 .timeouts = ata_eh_revalidate_timeouts, }, 147 .timeouts = ata_eh_other_timeouts, }, 149 .timeouts = ata_eh_other_timeouts, }, 151 .timeouts = ata_eh_other_timeouts, }, 153 .timeouts = ata_eh_other_timeouts, }, 155 .timeouts = ata_eh_flush_timeouts }, 157 .timeouts [all...] |