Searched refs:timeout (Results 301 - 325 of 2959) sorted by relevance

<<11121314151617181920>>

/linux-master/include/linux/
H A Dwatchdog.h32 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds).
68 * @timeout: The watchdog devices timeout value (in seconds).
70 * @min_timeout:The watchdog devices minimum timeout value (in seconds).
71 * @max_timeout:The watchdog devices maximum timeout value (in seconds)
78 * Hardware limit for maximum timeout, in milli-seconds.
102 unsigned int timeout; member in struct:watchdog_device
167 /* Use the following function to check if a timeout value is invalid */
171 * The timeout is invalid if
175 * - the requested value is smaller than the configured minimum timeout,
[all...]
H A Dkey-type.h177 unsigned timeout,
184 unsigned timeout,
188 return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey);
183 key_negate_and_link(struct key *key, unsigned timeout, struct key *keyring, struct key *authkey) argument
/linux-master/arch/sparc/kernel/
H A Dled.c39 unsigned long timeout = led_blink_timer_timeout; local
44 if (!timeout) { /* blink according to load */
48 led_blink_timer.expires = jiffies + (timeout * HZ);
/linux-master/drivers/gpu/drm/bridge/analogix/
H A Danalogix-i2c-dptx.c38 unsigned long timeout; local
42 timeout = jiffies + msecs_to_jiffies(AUX_WAIT_TIMEOUT_MS) + 1;
45 if (time_after(jiffies, timeout)) {
/linux-master/arch/arm/mach-tegra/
H A Dplatsmp.c73 unsigned long timeout; local
94 timeout = jiffies + msecs_to_jiffies(50);
99 } while (time_before(jiffies, timeout));
/linux-master/drivers/input/joystick/
H A Djoydump.c35 int i, j, t, timeout; local
62 timeout = gameport_time(gameport, 10000); /* 10 ms */
83 while (i < BUF_SIZE && t < timeout) {
/linux-master/drivers/rtc/
H A Drtc-snvs.c68 unsigned int timeout = 100; local
79 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout);
80 if (!timeout)
92 unsigned int timeout = 100; local
99 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout);
100 if (!timeout) {
113 unsigned int timeout = 1000; local
126 } while (elapsed < 3 && --timeout);
127 if (!timeout) {
136 int timeout local
[all...]
H A Drtc-test.c41 ktime_t timeout; local
44 timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds();
45 timeout -= rtd->offset;
49 expires = jiffies + timeout * HZ;
/linux-master/net/netfilter/
H A Dxt_IDLETIMER.c173 msecs_to_jiffies(info->timeout * 1000) + jiffies);
229 tout = ktime_set(info->timeout, 0);
234 msecs_to_jiffies(info->timeout * 1000) + jiffies);
255 pr_debug("resetting timer %s, timeout period %u\n",
256 info->label, info->timeout);
259 msecs_to_jiffies(info->timeout * 1000) + jiffies);
272 pr_debug("resetting timer %s, timeout period %u\n",
273 info->label, info->timeout);
276 ktime_t tout = ktime_set(info->timeout, 0);
280 msecs_to_jiffies(info->timeout * 100
[all...]
H A Dnft_ct.c897 struct nf_ct_timeout *timeout; member in struct:nft_ct_timeout_obj
907 struct nf_conn_timeout *timeout; local
916 timeout = nf_ct_timeout_find(ct);
917 if (!timeout) {
918 timeout = nf_ct_timeout_ext_add(ct, priv->timeout, GFP_ATOMIC);
919 if (!timeout) {
925 rcu_assign_pointer(timeout->timeout, priv->timeout);
941 struct nf_ct_timeout *timeout; local
995 struct nf_ct_timeout *timeout = priv->timeout; local
1006 const struct nf_ct_timeout *timeout = priv->timeout; local
1237 u32 timeout; member in struct:nft_ct_expect_obj
[all...]
/linux-master/drivers/scsi/
H A Dscsi_bsg.c13 bool open_for_write, unsigned int timeout)
32 rq->timeout = timeout;
12 scsi_bsg_sg_io_fn(struct request_queue *q, struct sg_io_v4 *hdr, bool open_for_write, unsigned int timeout) argument
/linux-master/drivers/char/
H A Ddsp56k.c48 #define TIMEOUT 10 /* Host port timeout in number of tries */
60 #define handshake(count, maxio, timeout, ENABLE, f) \
66 for (t = 0; t < timeout && !ENABLE; t++) \
100 long maxio, timeout; member in struct:dsp56k_device
203 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
213 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
220 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
232 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE,
265 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT,
275 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMI
[all...]
/linux-master/net/smc/
H A Dsmc_close.c49 static void smc_close_stream_wait(struct smc_sock *smc, long timeout) argument
54 if (!timeout)
65 while (!signal_pending(current) && timeout) {
68 rc = sk_wait_event(sk, &timeout,
200 long timeout; local
204 timeout = current->flags & PF_EXITING ?
231 smc_close_stream_wait(smc, timeout);
265 smc_close_stream_wait(smc, timeout);
452 long timeout; local
455 timeout
[all...]
/linux-master/drivers/dma-buf/
H A Ddma-fence.c76 * up by timeout and gpu hang recovery code. Minimally that code must prevent
84 * time means. Some hang recovery code uses a fixed timeout, others a mix
86 * Drivers should not try to second guess timeout handling of fences from
210 * and timeout, gpu reset and gpu hang recovery code. Plus for integration
484 * or until timeout elapses
487 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
490 * remaining timeout in jiffies on success. Other error values may be
501 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) argument
505 if (WARN_ON(timeout <
761 dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout) argument
848 dma_fence_wait_any_timeout(struct dma_fence **fences, uint32_t count, bool intr, signed long timeout, uint32_t *idx) argument
[all...]
/linux-master/arch/alpha/kernel/
H A Dsmp.c173 /* Wait until hwrpb->txrdy is clear for cpu. Return -1 on timeout. */
177 unsigned long timeout; local
182 timeout = jiffies + 10*HZ;
183 while (time_before(jiffies, timeout)) {
212 goto timeout;
225 goto timeout;
228 timeout:
294 unsigned long timeout; local
342 timeout = jiffies + 10*HZ;
343 while (time_before(jiffies, timeout)) {
363 unsigned long timeout; local
[all...]
/linux-master/drivers/cdrom/
H A Dgdrom.c135 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; local
137 (time_before(jiffies, timeout)))
139 return time_before(jiffies, timeout + 1);
144 unsigned long timeout; local
146 timeout = jiffies + GDROM_DEFAULT_TIMEOUT;
147 while (!gdrom_is_busy() && time_before(jiffies, timeout))
177 unsigned long timeout; local
193 timeout = jiffies + GDROM_DEFAULT_TIMEOUT;
195 while (!gdrom_data_request() && time_before(jiffies, timeout))
197 if (!time_before(jiffies, timeout
575 unsigned long timeout; local
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_nvm.c48 s32 timeout = IGC_NVM_GRANT_ATTEMPTS; local
55 while (timeout) {
60 timeout--;
63 if (!timeout) {
/linux-master/include/uapi/linux/
H A Dbsg.h46 __u32 timeout; /* [i] units: millisecond */ member in struct:sg_io_v4
/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.h25 * For USB vendor requests we need to pass a timeout time in ms, for this we
84 * @timeout: Operation timeout
95 const int timeout);
127 * @timeout: Operation timeout
135 const u16 buffer_length, const int timeout);
143 * @timeout: Operation timeout
153 const int timeout)
149 rt2x00usb_vendor_request_sw(struct rt2x00_dev *rt2x00dev, const u8 request, const u16 offset, const u16 value, const int timeout) argument
[all...]
/linux-master/drivers/net/wireless/st/cw1200/
H A Dscan.h24 struct delayed_work timeout; member in struct:cw1200_scan
/linux-master/drivers/watchdog/
H A Dmenf21bmc_wdt.c74 menf21bmc_wdt_settimeout(struct watchdog_device *wdt, unsigned int timeout) argument
81 * Watchdog API defines the timeout in seconds, so we have to
85 BMC_CMD_WD_TIME, timeout * 10);
89 wdt->timeout = timeout;
133 * Get the current wdt timeout value from the BMC because
139 dev_err(dev, "failed to get current WDT timeout\n");
H A Dsoftdog.c137 hrtimer_start(&softdog_ticktock, ktime_set(w->timeout, 0),
143 ktime_set(w->timeout - w->pretimeout, 0),
179 .timeout = TIMER_MARGIN,
208 soft_noboot, softdog_dev.timeout, soft_panic, nowayout);
/linux-master/include/linux/greybus/
H A Doperation.h174 unsigned int timeout,
177 unsigned int timeout);
194 unsigned int timeout);
197 unsigned int timeout);
/linux-master/include/uapi/linux/hdlc/
H A Dioctl.h79 unsigned int timeout; member in struct:__anon1693
86 unsigned int t1; /* timeout t1 */
87 unsigned int t2; /* timeout t2 */
/linux-master/tools/perf/python/
H A Dtwatch.py33 evlist.poll(timeout = -1)

Completed in 490 milliseconds

<<11121314151617181920>>