/linux-master/drivers/scsi/ |
H A D | sr_vendor.c | 154 cgc.timeout = VENDOR_TIMEOUT; 202 cgc.timeout = VENDOR_TIMEOUT; 229 cgc.timeout = VENDOR_TIMEOUT; 258 cgc.timeout = VENDOR_TIMEOUT; 286 cgc.timeout = VENDOR_TIMEOUT; 304 cgc.timeout = VENDOR_TIMEOUT;
|
/linux-master/arch/arm/mach-meson/ |
H A D | platsmp.c | 136 unsigned long timeout; local 138 timeout = jiffies + (10 * HZ); 140 if (!time_before(jiffies, timeout)) { 313 unsigned long timeout; local 315 timeout = jiffies + (50 * HZ); 323 } while (time_before(jiffies, timeout));
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_linecard.sh | 48 local timeout=$3 # ms 50 busywait "$timeout" until_lc_state_is_not "$state" lc_state_get "$lc" 57 local timeout=$3 # ms 59 busywait "$timeout" until_lc_state_is "$state" lc_state_get "$lc" 82 local timeout=$3 # ms 84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc" 116 check_err $? "Failed to unprovision linecard $lc (timeout)" 135 check_err $? "Failed to provision linecard $lc (timeout)" 287 check_err $? "Failed to get linecard $lc activated (timeout)"
|
/linux-master/drivers/watchdog/ |
H A D | tegra_wdt.c | 14 /* minimum and maximum watchdog trigger timeout, in seconds */ 101 (wdd->timeout << WDT_CFG_PERIOD_SHIFT) | 131 unsigned int timeout) 133 wdd->timeout = timeout; 152 /* Current countdown (from timeout) */ 162 return (((3 - exp) * wdd->timeout) + count) / 4; 209 wdd->timeout = heartbeat; 130 tegra_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
|
H A D | bcm7038_wdt.c | 60 u32 timeout; local 62 timeout = wdt->rate * wdog->timeout; 64 bcm7038_wdt_write(timeout, wdt->base + WDT_TIMEOUT_REG); 98 /* Can't modify timeout value if watchdog timer is running */ 100 wdog->timeout = t; 166 wdt->wdd.timeout = WDT_DEFAULT_TIMEOUT;
|
H A D | geodewdt.c | 33 static int timeout = WATCHDOG_TIMEOUT; variable 34 module_param(timeout, int, 0); 35 MODULE_PARM_DESC(timeout, 36 "Watchdog timeout in seconds. 1<= timeout <=131, default=" 78 timeout = val; 188 return put_user(timeout, p); 231 /* Set up the initial timeout */ 234 timeout * GEODEWDT_HZ);
|
H A D | stm32_iwdg.c | 50 /* set timeout to 100000 us */ 96 tout = clamp_t(unsigned int, wdd->timeout, 142 unsigned int timeout) 144 dev_dbg(wdd->parent, "%s timeout: %d sec\n", __func__, timeout); 146 wdd->timeout = timeout; 253 wdd->timeout = DEFAULT_TIMEOUT; 141 stm32_iwdg_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
|
H A D | imx2_wdt.c | 84 static unsigned timeout; variable 85 module_param(timeout, uint, 0); 86 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 153 val |= WDOG_SEC_TO_COUNT(wdog->timeout); 199 wdog->timeout = new_timeout; 237 imx2_wdt_set_timeout(wdog, wdog->timeout); 301 wdog->timeout = IMX2_WDT_DEFAULT_TIME; 346 watchdog_init_timeout(wdog, timeout, dev); 351 imx2_wdt_set_timeout(wdog, wdog->timeout); [all...] |
/linux-master/drivers/fsi/ |
H A D | fsi-sbefifo.c | 106 /* Reset request timeout in ms */ 153 static DEVICE_ATTR_RO(timeout); 451 u32 *status, unsigned long timeout) 463 end_time = jiffies + timeout; 483 up ? "UP" : "DOWN", jiffies_to_msecs(timeout), sts); 499 unsigned long timeout; local 507 timeout = msecs_to_jiffies(SBEFIFO_TIMEOUT_START_CMD); 510 rc = sbefifo_wait(sbefifo, true, &status, timeout); 513 timeout = msecs_to_jiffies(sbefifo->timeout_in_cmd_ms); 535 rc = sbefifo_wait(sbefifo, true, &status, timeout); 450 sbefifo_wait(struct sbefifo *sbefifo, bool up, u32 *status, unsigned long timeout) argument 551 unsigned long timeout; local 948 u32 timeout; local 967 u32 timeout; local [all...] |
/linux-master/drivers/net/ethernet/intel/igbvf/ |
H A D | mbx.c | 16 int countdown = mbx->timeout; 28 mbx->timeout = 0; 42 int countdown = mbx->timeout; 54 mbx->timeout = 0; 92 * received an ack to that message within delay * timeout period 99 /* exit if we either can't write or there isn't a defined timeout */ 100 if (!mbx->ops.write || !mbx->timeout) 314 /* start mailbox as timed out and let the reset_hw call set the timeout 317 mbx->timeout = 0;
|
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | connect-deny.c | 40 time_t timeout; local 54 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; 55 err = test_wait_fd(lsk, timeout, 0); 165 time_t timeout; local 180 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; 181 ret = _test_connect_socket(sk, this_ip_dest, port, timeout);
|
H A D | restore.c | 23 time_t timeout; local 54 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; 55 bytes = test_server_run(sk, quota, timeout); 144 time_t timeout; local 167 timeout = fault(TIMEOUT) ? TEST_RETRANSMIT_SEC : TEST_TIMEOUT_SEC; 168 if (test_client_verify(sk, msg_len, nr_packets, timeout)) {
|
/linux-master/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 160 printf("usage: ksm_tests [-h] <test type> [-a prot] [-p page_count] [-l timeout]\n" 218 static int ksm_do_scan(int scan_count, struct timespec start_time, int timeout) argument 234 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) { 244 struct timespec start_time, int timeout) 262 if (ksm_do_scan(2, start_time, timeout)) 269 struct timespec start_time, int timeout) 348 long page_count, int timeout, size_t page_size) 363 if (ksm_merge_pages(merge_type, map_ptr, page_size * page_count, start_time, timeout)) 381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) argument 397 if (ksm_merge_pages(merge_type, map_ptr, page_size * page_count, start_time, timeout)) 243 ksm_merge_pages(int merge_type, void *addr, size_t size, struct timespec start_time, int timeout) argument 268 ksm_unmerge_pages(void *addr, size_t size, struct timespec start_time, int timeout) argument 347 check_ksm_merge(int merge_type, int mapping, int prot, long page_count, int timeout, size_t page_size) argument 421 check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, int timeout, bool use_zero_pages, size_t page_size) argument 486 check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, bool merge_across_nodes, size_t page_size) argument 550 ksm_merge_hugepages_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) argument 618 ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) argument 659 ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) argument 706 ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) argument [all...] |
/linux-master/include/net/bluetooth/ |
H A D | hci_sync.h | 28 const void *param, u32 timeout); 30 const void *param, u32 timeout); 32 const void *param, u8 event, u32 timeout); 34 const void *param, u8 event, u32 timeout, 37 const void *param, u32 timeout); 39 const void *param, u8 event, u32 timeout,
|
/linux-master/include/trace/events/ |
H A D | scmi.h | 65 u32 timeout, bool poll), 66 TP_ARGS(transfer_id, msg_id, protocol_id, seq, timeout, poll), 73 __field(u32, timeout) 82 __entry->timeout = timeout; 88 __entry->transfer_id, __entry->timeout, __entry->poll)
|
/linux-master/arch/riscv/kernel/ |
H A D | smp.c | 240 unsigned long timeout; local 254 timeout = USEC_PER_SEC; 255 while (num_online_cpus() > 1 && timeout--) 279 unsigned long timeout; local 306 timeout = USEC_PER_SEC; 307 while ((atomic_read(&waiting_for_crash_ipi) > 0) && timeout--)
|
/linux-master/io_uring/ |
H A D | napi.c | 15 unsigned long timeout; member in struct:io_napi_entry 29 e->timeout = jiffies + NAPI_TIMEOUT; 58 e->timeout = jiffies + NAPI_TIMEOUT; 69 e->timeout = jiffies + NAPI_TIMEOUT; 90 if (time_after(jiffies, e->timeout)) { 147 if (time_after(jiffies, e->timeout)) 244 * Unregister napi. If arg has been specified copy the busy poll timeout and 264 * __io_napi_adjust_timeout() - adjust busy loop timeout 269 * Adjust the busy loop timeout according to timespec and busy poll timeout [all...] |
/linux-master/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-spi.c | 100 * @timeout: Timeout to wait for clock synchronization in seconds 105 int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, argument 121 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); 124 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); 128 timeout); 146 * @timeout: Timeout to wait for clock synchronization in seconds 150 int cvmx_spi_restart_interface(int interface, cvmx_spi_mode_t mode, int timeout) argument 166 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); 169 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); 173 timeout); 430 cvmx_spi_clock_detect_cb(int interface, cvmx_spi_mode_t mode, int timeout) argument 508 cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout) argument 577 cvmx_spi_calendar_sync_cb(int interface, cvmx_spi_mode_t mode, int timeout) argument [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_timer.c | 44 return 1; /* user timeout has passed; fire ASAP */ 92 * to prevent DoS attacks. It is called when a retransmission timeout 93 * or zero probe timeout occurs on orphaned socket. 194 unsigned int linear_backoff_thresh, timeout; local 198 timeout = ((2 << boundary) - 1) * rto_base; 200 timeout = ((2 << linear_backoff_thresh) - 1) * rto_base + 202 return jiffies_to_msecs(timeout); 208 * @timeout: A custom timeout value. 209 * If set to 0 the default timeout i 217 retransmits_timed_out(struct sock *sk, unsigned int boundary, unsigned int timeout) argument 487 const int timeout = TCP_RTO_MAX * 2; local [all...] |
/linux-master/drivers/hwmon/ |
H A D | ftsteutates.c | 252 static int fts_wd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument 259 /* switch watchdog resolution to minutes if timeout does not fit 262 if (timeout > 0xFF) { 263 timeout = DIV_ROUND_UP(timeout, 60) * 60; 271 wdd->timeout = timeout; 280 wdd->timeout / (u8)data->resolution); 305 int timeout, ret; local 309 timeout [all...] |
/linux-master/drivers/nfc/ |
H A D | nfcsim.c | 128 int timeout, u8 rf_tech, u8 mode) 135 msecs_to_jiffies(timeout)); 202 u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) 212 dev->recv_timeout = timeout; 280 struct sk_buff *skb, u16 timeout, 283 return nfcsim_send(ddev, skb, timeout, cb, arg); 310 struct sk_buff *skb, u16 timeout, 313 return nfcsim_send(ddev, skb, timeout, cb, arg); 316 static int nfcsim_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, argument 319 return nfcsim_send(ddev, NULL, timeout, c 127 nfcsim_link_recv_skb(struct nfcsim_link *link, int timeout, u8 rf_tech, u8 mode) argument 201 nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb, u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) argument 279 nfcsim_in_send_cmd(struct nfc_digital_dev *ddev, struct sk_buff *skb, u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) argument 309 nfcsim_tg_send_cmd(struct nfc_digital_dev *ddev, struct sk_buff *skb, u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) argument [all...] |
/linux-master/drivers/net/ethernet/freescale/ |
H A D | xgmac_mdio.c | 88 unsigned int timeout; local 91 timeout = TIMEOUT; 93 MDIO_STAT_BSY) && timeout) { 95 timeout--; 98 if (!timeout) { 99 dev_err(dev, "timeout waiting for bus to be free\n"); 113 unsigned int timeout; local 116 timeout = TIMEOUT; 118 MDIO_STAT_BSY) && timeout) { 120 timeout [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_i225.c | 43 s32 timeout = hw->nvm.word_size + 1; local 48 while (i < timeout) { 57 if (i == timeout) { 64 for (i = 0; i < timeout; i++) { 74 if (i == timeout) { 81 for (i = 0; i < timeout; i++) { 92 if (i == timeout) { 112 s32 i = 0, timeout = 200; local 118 while (i < timeout) { 134 if (i == timeout) { [all...] |
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | e1000_i210.c | 25 s32 timeout = hw->nvm.word_size + 1; local 29 while (i < timeout) { 38 if (i == timeout) { 45 for (i = 0; i < timeout; i++) { 55 if (i == timeout) { 62 for (i = 0; i < timeout; i++) { 73 if (i == timeout) { 123 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ local 125 while (i < timeout) { 141 if (i == timeout) { 899 s32 timeout = PHY_CFG_TIMEOUT; local [all...] |
/linux-master/drivers/virt/vboxguest/ |
H A D | vboxguest_utils.c | 482 long timeout; local 502 timeout = MAX_SCHEDULE_TIMEOUT; 504 timeout = msecs_to_jiffies(timeout_ms); 507 timeout = wait_event_interruptible_timeout(gdev->hgcm_wq, 509 timeout); 511 timeout = wait_event_timeout(gdev->hgcm_wq, 513 timeout); 516 /* timeout > 0 means hgcm_req_done has returned true, so success */ 517 if (timeout > 0) 520 if (timeout [all...] |