Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 3245) sorted by relevance

12345678910>>...130

/openbmc/linux/drivers/watchdog/
H A Dnpcm_wdt.c74 if (wdd->timeout < 2) in npcm_wdt_start()
117 if (timeout < 2) in npcm_wdt_set_timeout()
118 wdd->timeout = 1; in npcm_wdt_set_timeout()
120 wdd->timeout = 2; in npcm_wdt_set_timeout()
122 wdd->timeout = 5; in npcm_wdt_set_timeout()
124 wdd->timeout = 10; in npcm_wdt_set_timeout()
126 wdd->timeout = 21; in npcm_wdt_set_timeout()
128 wdd->timeout = 43; in npcm_wdt_set_timeout()
130 wdd->timeout = 86; in npcm_wdt_set_timeout()
132 wdd->timeout = 172; in npcm_wdt_set_timeout()
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_timeout.c35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout()
37 if (!timeout || t == timeout) in untimeout()
49 .data = timeout, in nf_ct_untimeout()
61 h->timeout_put(timeout); in __nf_ct_timeout_put()
68 struct nf_ct_timeout *timeout; in nf_ct_set_timeout() local
82 if (!timeout) { in nf_ct_set_timeout()
89 if (timeout->l3num != l3num) { in nf_ct_set_timeout()
93 timeout_name, 3, timeout->l3num); in nf_ct_set_timeout()
99 if (timeout->l4proto->l4proto != l4num) { in nf_ct_set_timeout()
116 __nf_ct_timeout_put(timeout); in nf_ct_set_timeout()
[all …]
H A Dnfnetlink_cttimeout.c127 matching = timeout; in cttimeout_new_timeout()
159 if (timeout == NULL) { in cttimeout_new_timeout()
164 ret = ctnl_timeout_parse_policy(&timeout->timeout.data, l4proto, in cttimeout_new_timeout()
170 timeout->timeout.l3num = l3num; in cttimeout_new_timeout()
171 timeout->timeout.l4proto = l4proto; in cttimeout_new_timeout()
178 kfree(timeout); in cttimeout_new_timeout()
189 const struct nf_conntrack_l4proto *l4proto = timeout->timeout.l4proto; in ctnl_timeout_fill_info()
201 htons(timeout->timeout.l3num)) || in ctnl_timeout_fill_info()
211 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, &timeout->timeout.data); in ctnl_timeout_fill_info()
322 nf_ct_untimeout(net, &timeout->timeout); in ctnl_timeout_try_del()
[all …]
H A Dnf_conntrack_proto_generic.c24 unsigned int *timeout = data; in generic_timeout_nlattr_to_obj() local
26 if (!timeout) in generic_timeout_nlattr_to_obj()
27 timeout = &gn->timeout; in generic_timeout_nlattr_to_obj()
30 *timeout = in generic_timeout_nlattr_to_obj()
34 *timeout = gn->timeout; in generic_timeout_nlattr_to_obj()
43 const unsigned int *timeout = data; in generic_timeout_obj_to_nlattr() local
45 if (nla_put_be32(skb, CTA_TIMEOUT_GENERIC_TIMEOUT, htonl(*timeout / HZ))) in generic_timeout_obj_to_nlattr()
64 gn->timeout = nf_ct_generic_timeout; in nf_conntrack_generic_init_net()
/openbmc/linux/Documentation/watchdog/
H A Dwatchdog-parameters.rst43 timeout:
44 Watchdog timeout in seconds. 1<= timeout <=63, default=60.
52 timeout:
61 timeout:
82 timeout:
144 timeout:
159 timeout:
169 timeout:
195 timeout:
230 timeout:
[all …]
/openbmc/u-boot/drivers/misc/
H A Dfsl_sec_mon.c19 int timeout = 10; in set_sec_mon_state_non_sec() local
35 while (timeout) { in set_sec_mon_state_non_sec()
43 timeout--; in set_sec_mon_state_non_sec()
46 if (timeout == 0) { in set_sec_mon_state_non_sec()
64 while (timeout) { in set_sec_mon_state_non_sec()
72 timeout--; in set_sec_mon_state_non_sec()
80 timeout = 10; in set_sec_mon_state_non_sec()
101 timeout--; in set_sec_mon_state_non_sec()
120 int timeout = 10; in set_sec_mon_state_soft_fail() local
128 while (timeout) { in set_sec_mon_state_soft_fail()
[all …]
/openbmc/linux/kernel/sched/
H A Dcompletion.c82 long (*action)(long), long timeout, int state) in do_wait_for_common() argument
89 timeout = -ERESTARTSYS; in do_wait_for_common()
95 timeout = action(timeout); in do_wait_for_common()
97 } while (!x->done && timeout); in do_wait_for_common()
100 return timeout; in do_wait_for_common()
104 return timeout ?: 1; in do_wait_for_common()
109 long (*action)(long), long timeout, int state) in __wait_for_common() argument
116 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
121 return timeout; in __wait_for_common()
237 unsigned long timeout) in wait_for_completion_interruptible_timeout() argument
[all …]
/openbmc/linux/tools/testing/selftests/firmware/
H A Dfw_fallback.sh30 local timeout=10
33 timeout=$(( $timeout - 1 ))
34 if [ "$timeout" -eq 0 ]; then
57 local timeout=10
60 timeout=$(( $timeout - 1 ))
61 if [ "$timeout" -eq 0 ]; then
86 local timeout=10
89 timeout=$(( $timeout - 1 ))
90 if [ "$timeout" -eq 0 ]; then
119 local timeout=10
[all …]
/openbmc/u-boot/board/micronas/vct/
H A Dsmc_eeprom.c75 while (timeout--) { in mac_busy()
152 timeout--; in eeprom_read_location()
155 if (timeout == 0) { in eeprom_read_location()
177 timeout--; in eeprom_enable_erase_and_write()
180 if (timeout == 0) { in eeprom_enable_erase_and_write()
200 timeout--; in eeprom_disable_erase_and_write()
203 if (timeout == 0) { in eeprom_disable_erase_and_write()
229 timeout--; in eeprom_write_location()
253 timeout--; in eeprom_erase_all()
277 timeout--; in eeprom_reload()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch56 struct timeval timeout = { 0, 125000 };
59 /* select() timeout? */
76 + timeout_passed( &state->timeout, &tval )) {
78 devt->timestamp = state->timeout; /* timeout of levt->time? */
84 - state->timeout = levt->time;
87 timeout_add( &state->timeout, &timeout );
105 - state->timeout = levt->time;
108 timeout_add( &state->timeout, &timeout );
118 devt->timestamp = state->timeout; /* timeout of levt->time? */
124 - state->timeout = levt->time;
[all …]
/openbmc/linux/io_uring/
H A Dtimeout.c60 if (!timeout->off || (timeout->repeats && --timeout->repeats)) in io_timeout_finish()
227 timeout->head = NULL; in __io_disarm_linked_timeout()
229 list_del(&timeout->list); in __io_disarm_linked_timeout()
337 prev = timeout->head; in io_link_timeout_fn()
338 timeout->head = NULL; in io_link_timeout_fn()
349 list_del(&timeout->list); in io_link_timeout_fn()
350 timeout->prev = prev; in io_link_timeout_fn()
518 timeout->off = off; in __io_timeout_prep()
525 timeout->repeats = 0; in __io_timeout_prep()
527 timeout->repeats = off; in __io_timeout_prep()
[all …]
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
113 if (timeout != -1) in sigwrap_epoll_wait()
117 Timeout.tv_sec = timeout / 1000; in sigwrap_epoll_wait()
133 if (timeout == -1) in sigwrap_epoll_wait()
148 if (timeout != -1) in sigwrap_epoll_pwait()
168 if (timeout == -1) in sigwrap_epoll_pwait()
294 if (timeout > 0) in sigwrap_poll()
316 else if (timeout == 0) in sigwrap_poll()
346 if (timeout != NULL) in sigwrap_pselect()
349 timeout = &To.Timeout; in sigwrap_pselect()
[all …]
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
114 if (timeout == NULL)
140 if (timeout != -1) in sigwrap_epoll_wait()
160 if (timeout == -1) in sigwrap_epoll_wait()
175 if (timeout != -1) in sigwrap_epoll_pwait()
195 if (timeout == -1) in sigwrap_epoll_pwait()
321 if (timeout > 0) in sigwrap_poll()
343 else if (timeout == 0) in sigwrap_poll()
403 if (timeout != NULL) in sigwrap_pselect()
406 timeout = &To.Timeout; in sigwrap_pselect()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack_timeout.h21 struct nf_ct_timeout __rcu *timeout; member
28 struct nf_ct_timeout *timeout; in nf_ct_timeout_data() local
30 timeout = rcu_dereference(t->timeout); in nf_ct_timeout_data()
31 if (timeout == NULL) in nf_ct_timeout_data()
34 return (unsigned int *)timeout->data; in nf_ct_timeout_data()
52 struct nf_ct_timeout *timeout, in nf_ct_timeout_ext_add() argument
62 rcu_assign_pointer(timeout_ext->timeout, timeout); in nf_ct_timeout_ext_add()
84 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout);
105 void (*timeout_put)(struct nf_ct_timeout *timeout);
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/
H A D0003-support-infinit-timeout.patch4 Subject: [PATCH 03/11] support infinit timeout
21 +# timeout = -1 means infinite timeout, always wait.
22 def timeout_command(argv, timeout, *args, **kwargs):
24 if it doesn't normally exit within timeout seconds and return None"""
25 @@ -182,7 +183,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
29 - if (now - start).seconds> timeout:
30 + if timeout != -1 and (now - start).seconds> timeout:
33 program_log.debug("%d seconds timeout" % timeout)
34 @@ -196,7 +197,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
48 + if timeout != -1:
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py67 def request_login(self, headers, url, credential, timeout=10): argument
137 + str(timeout)
144 url, headers=headers, timeout=timeout, verify=verify
186 + str(timeout)
193 url, headers=headers, data=data, timeout=timeout, verify=verify
235 + str(timeout)
245 timeout=timeout,
293 + str(timeout)
304 timeout=timeout,
349 + str(timeout)
[all …]
/openbmc/sdbusplus/test/event/
H A Devent.cpp17 static constexpr auto timeout = 250ms; in TEST_F() local
20 ev.run_one(timeout); in TEST_F()
23 EXPECT_TRUE(stop - start > timeout); in TEST_F()
24 EXPECT_TRUE(stop - start < timeout * 3); in TEST_F()
29 static constexpr auto timeout = 10s; in TEST_F() local
34 ev.run_one(timeout); in TEST_F()
37 EXPECT_TRUE(stop - start < timeout); in TEST_F()
62 static constexpr auto timeout = 50ms; in TEST_F() local
75 auto c = ev.add_oneshot_timer(handler::_, &ran, timeout); in TEST_F()
80 EXPECT_TRUE(stop - start > timeout); in TEST_F()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_wait.c20 long timeout) in i915_gem_object_wait_fence() argument
25 return timeout; in i915_gem_object_wait_fence()
32 timeout); in i915_gem_object_wait_fence()
69 long timeout) in i915_gem_object_wait_reservation() argument
73 long ret = timeout ?: 1; in i915_gem_object_wait_reservation()
84 if (timeout) in i915_gem_object_wait_reservation()
85 timeout = ret; in i915_gem_object_wait_reservation()
172 long timeout) in i915_gem_object_wait() argument
175 GEM_BUG_ON(timeout < 0); in i915_gem_object_wait()
180 if (timeout < 0) in i915_gem_object_wait()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_mlc.c245 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_hwecc()
285 unsigned int i, status, timeout; in lpc32xx_read_page_raw() local
293 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_raw()
345 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_oob()
387 unsigned int i, status, timeout; in lpc32xx_write_page_hwecc() local
399 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc()
411 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc()
492 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_oob()
516 unsigned int timeout; in lpc32xx_waitfunc() local
518 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_waitfunc()
[all …]
/openbmc/linux/include/linux/
H A Dwait.h417 long __ret = timeout; \
435 long __ret = timeout; \
535 long __ret = timeout; \
539 condition, timeout); \
730 long __ret = timeout; \
767 long __ret = timeout; \
995 long __ret = timeout; \
999 condition, timeout); \
1173 timeout) \
1175 long __ret = timeout; \
[all …]
H A Dswait.h193 #define __swait_event_timeout(wq, condition, timeout) \ argument
195 TASK_UNINTERRUPTIBLE, timeout, \
200 long __ret = timeout; \
202 __ret = __swait_event_timeout(wq, condition, timeout); \
220 TASK_INTERRUPTIBLE, timeout, \
225 long __ret = timeout; \
228 condition, timeout); \
254 #define __swait_event_idle_timeout(wq, condition, timeout) \ argument
256 TASK_IDLE, timeout, \
280 long __ret = timeout; \
[all …]
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_stack_tracer.tc12 timeout=10
13 while [ $timeout -ne 0 ]; do
17 timeout=$((timeout - 1))
28 timeout=10
29 while [ $timeout -ne 0 ]; do
33 timeout=$((timeout - 1))
/openbmc/openbmc/poky/meta/recipes-core/glib-2.0/glib-2.0/
H A Dskip-timeout.patch4 Subject: [PATCH] Skip /timeout/rounding test
6 This test is sensitive to load because it expects certain timeout operations
15 glib/tests/timeout.c | 1 -
18 diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c
20 --- a/glib/tests/timeout.c
21 +++ b/glib/tests/timeout.c
23 g_test_add_func ("/timeout/seconds-once", test_seconds_once);
24 g_test_add_func ("/timeout/weeks-overflow", test_weeks_overflow);
25 g_test_add_func ("/timeout/far-future-ready-time", test_far_future_ready_time);
26 - g_test_add_func ("/timeout/rounding", test_rounding);
/openbmc/linux/block/
H A Dblk-timeout.c109 unsigned long blk_rq_timeout(unsigned long timeout) in blk_rq_timeout() argument
114 if (time_after(timeout, maxt)) in blk_rq_timeout()
115 timeout = maxt; in blk_rq_timeout()
117 return timeout; in blk_rq_timeout()
137 if (!req->timeout) in blk_add_timer()
138 req->timeout = q->rq_timeout; in blk_add_timer()
142 expiry = jiffies + req->timeout; in blk_add_timer()
152 if (!timer_pending(&q->timeout) || in blk_add_timer()
153 time_before(expiry, q->timeout.expires)) { in blk_add_timer()
154 unsigned long diff = q->timeout.expires - expiry; in blk_add_timer()
[all …]
/openbmc/linux/tools/testing/selftests/timens/
H A Dfutex.c23 struct timespec timeout, end; in run_test() local
29 clock_gettime(clockid, &timeout); in run_test()
30 timeout.tv_nsec += NSEC_PER_SEC / 10; // 100ms in run_test()
31 if (timeout.tv_nsec > NSEC_PER_SEC) { in run_test()
32 timeout.tv_sec++; in run_test()
33 timeout.tv_nsec -= NSEC_PER_SEC; in run_test()
37 &timeout, 0, FUTEX_BITSET_MATCH_ANY) >= 0) { in run_test()
50 if (end.tv_sec < timeout.tv_sec || in run_test()
51 (end.tv_sec == timeout.tv_sec && end.tv_nsec < timeout.tv_nsec)) { in run_test()

12345678910>>...130