| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_gre.c | 200 return gre_pernet(net)->timeouts; in gre_get_timeouts() 213 unsigned int *timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_gre_packet() local 215 if (!timeouts) in nf_conntrack_gre_packet() 216 timeouts = gre_get_timeouts(nf_ct_net(ct)); in nf_conntrack_gre_packet() 220 ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED]; in nf_conntrack_gre_packet() 221 ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED]; in nf_conntrack_gre_packet() 253 unsigned int *timeouts = data; in gre_timeout_nlattr_to_obj() local 256 if (!timeouts) in gre_timeout_nlattr_to_obj() 257 timeouts = gre_get_timeouts(net); in gre_timeout_nlattr_to_obj() 259 timeouts[GRE_CT_UNREPLIED] = net_gre->timeouts[GRE_CT_UNREPLIED]; in gre_timeout_nlattr_to_obj() [all …]
|
| H A D | nf_conntrack_proto_tcp.c | 728 const unsigned int *timeouts; in nf_tcp_handle_invalid() local 761 timeouts = nf_ct_timeout_lookup(ct); in nf_tcp_handle_invalid() 762 if (!timeouts) in nf_tcp_handle_invalid() 763 timeouts = tn->timeouts; in nf_tcp_handle_invalid() 765 timeout = READ_ONCE(timeouts[TCP_CONNTRACK_UNACK]); in nf_tcp_handle_invalid() 920 const unsigned int *timeouts; in nf_conntrack_tcp_set_closing() local 936 timeouts = nf_ct_timeout_lookup(ct); in nf_conntrack_tcp_set_closing() 937 if (!timeouts) { in nf_conntrack_tcp_set_closing() 941 timeouts = tn->timeouts; in nf_conntrack_tcp_set_closing() 944 timeout = timeouts[TCP_CONNTRACK_CLOSE]; in nf_conntrack_tcp_set_closing() [all …]
|
| H A D | nf_conntrack_proto_sctp.c | 340 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() 640 unsigned int *timeouts = data; in sctp_timeout_nlattr_to_obj() local 644 if (!timeouts) in sctp_timeout_nlattr_to_obj() 645 timeouts = sn->timeouts; in sctp_timeout_nlattr_to_obj() 649 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj() 654 timeouts[i] = ntohl(nla_get_be32(tb[i])) * HZ; in sctp_timeout_nlattr_to_obj() [all …]
|
| /linux/drivers/misc/mei/ |
| H A D | init.c | 417 dev->timeouts.hw_ready = mei_secs_to_jiffies(MEI_HW_READY_TIMEOUT); in mei_device_init() 418 dev->timeouts.connect = MEI_CONNECT_TIMEOUT; in mei_device_init() 419 dev->timeouts.client_init = MEI_CLIENTS_INIT_TIMEOUT; in mei_device_init() 420 dev->timeouts.pgi = mei_secs_to_jiffies(MEI_PGI_TIMEOUT); in mei_device_init() 421 dev->timeouts.d0i3 = mei_secs_to_jiffies(MEI_D0I3_TIMEOUT); in mei_device_init() 423 dev->timeouts.cl_connect = mei_secs_to_jiffies(MEI_CL_CONNECT_TIMEOUT_SLOW); in mei_device_init() 424 dev->timeouts.hbm = mei_secs_to_jiffies(MEI_HBM_TIMEOUT_SLOW); in mei_device_init() 425 dev->timeouts.mkhi_recv = msecs_to_jiffies(MKHI_RCV_TIMEOUT_SLOW); in mei_device_init() 427 dev->timeouts.cl_connect = mei_secs_to_jiffies(MEI_CL_CONNECT_TIMEOUT); in mei_device_init() 428 dev->timeouts.hbm = mei_secs_to_jiffies(MEI_HBM_TIMEOUT); in mei_device_init() [all …]
|
| H A D | hw-me.c | 486 dev->timeouts.hw_ready); in mei_me_hw_ready_wait() 769 dev->timeouts.pgi); in mei_me_pg_legacy_enter_sync() 807 dev->timeouts.pgi); in mei_me_pg_legacy_exit_sync() 824 dev->timeouts.pgi); in mei_me_pg_legacy_exit_sync() 961 dev->timeouts.pgi); in mei_me_d0i3_enter_sync() 982 dev->timeouts.d0i3); in mei_me_d0i3_enter_sync() 1065 dev->timeouts.d0i3); in mei_me_d0i3_exit_sync()
|
| 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 | 852 cl->timer_count = dev->timeouts.connect; in mei_cl_send_disconnect() 927 dev->timeouts.cl_connect); in __mei_cl_disconnect() 1046 cl->timer_count = dev->timeouts.connect; in mei_cl_send_connect() 1145 dev->timeouts.cl_connect); in mei_cl_connect() 1544 dev->timeouts.cl_connect); in mei_cl_notify_request() 2348 dev->timeouts.cl_connect); in mei_cl_dma_alloc_and_map() 2426 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/watchdog/ |
| H A D | dw_wdt.c | 88 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/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 | 27 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/include/net/netfilter/ |
| H A D | nf_conntrack_timeout.h | 73 unsigned int *timeouts = NULL; in nf_ct_timeout_lookup() local 79 timeouts = nf_ct_timeout_data(timeout_ext); in nf_ct_timeout_lookup() 81 return timeouts; in nf_ct_timeout_lookup()
|
| /linux/net/rxrpc/ |
| H A D | sendmsg.c | 579 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg() 581 if (p->call.timeouts.hard > INT_MAX / HZ) in rxrpc_sendmsg_cmsg() 583 if (p->call.nr_timeouts >= 2 && p->call.timeouts.idle > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg() 585 if (p->call.nr_timeouts >= 3 && p->call.timeouts.normal > 60 * 60 * 1000) in rxrpc_sendmsg_cmsg() 739 WRITE_ONCE(call->next_rx_timo, p.call.timeouts.normal); in rxrpc_do_sendmsg() 742 WRITE_ONCE(call->next_req_timo, p.call.timeouts.idle); in rxrpc_do_sendmsg() 745 if (p.call.timeouts.hard > 0) { in rxrpc_do_sendmsg() 746 ktime_t delay = ms_to_ktime(p.call.timeouts.hard * MSEC_PER_SEC); in rxrpc_do_sendmsg() 749 ktime_add(p.call.timeouts.hard, in rxrpc_do_sendmsg()
|
| H A D | call_object.c | 222 if (p->timeouts.normal) in rxrpc_alloc_client_call() 223 call->next_rx_timo = umin(p->timeouts.normal, 1); in rxrpc_alloc_client_call() 224 if (p->timeouts.idle) in rxrpc_alloc_client_call() 225 call->next_req_timo = umin(p->timeouts.idle, 1); in rxrpc_alloc_client_call() 226 if (p->timeouts.hard) in rxrpc_alloc_client_call() 227 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() 868 asoc->timeouts[SCTP_EVENT_TIMEOUT_T2_SHUTDOWN] = t->rto; in sctp_cmd_setup_t2() 901 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_INIT] = in sctp_cmd_new_state() 903 asoc->timeouts[SCTP_EVENT_TIMEOUT_T1_COOKIE] = in sctp_cmd_new_state() 966 asoc->timeouts[SCTP_EVENT_TIMEOUT_T4_RTO] = t->rto; in sctp_cmd_setup_t4() 1095 asoc->timeouts[timer] *= 2; in sctp_cmd_t1_timer_update() 1096 if (asoc->timeouts[timer] > asoc->max_init_timeo) { in sctp_cmd_t1_timer_update() 1097 asoc->timeouts[timer] = asoc->max_init_timeo; in sctp_cmd_t1_timer_update() 1104 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 | 676 u32 timeouts = inet_csk(sk)->icsk_retransmits; in tcp_fastopen_active_detect_blackhole() local 685 (timeouts == 2 || (timeouts < 2 && expired))) { in tcp_fastopen_active_detect_blackhole()
|
| /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
|