| /OK3568_Linux_fs/kernel/Documentation/watchdog/ |
| H A D | watchdog-parameters.rst | 21 timeout. Setting this to a non-zero value can be useful to ensure that 43 timeout: 44 Watchdog timeout in seconds. 1<= timeout <=63, default=60. 52 timeout: 53 Watchdog timeout in seconds. (0 < timeout < 18000, default=60 61 timeout: 62 Watchdog timeout in seconds. (1<=timeout<=3600, default=30 82 timeout: 83 Watchdog timeout in seconds. (default=120) 135 Default watchdog0 timeout in 1/10secs [all …]
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | npcm_wdt.c | 69 if (wdd->timeout < 2) in npcm_wdt_start() 71 else if (wdd->timeout < 3) in npcm_wdt_start() 73 else if (wdd->timeout < 6) in npcm_wdt_start() 75 else if (wdd->timeout < 11) in npcm_wdt_start() 77 else if (wdd->timeout < 22) in npcm_wdt_start() 79 else if (wdd->timeout < 44) in npcm_wdt_start() 81 else if (wdd->timeout < 87) in npcm_wdt_start() 83 else if (wdd->timeout < 173) in npcm_wdt_start() 85 else if (wdd->timeout < 688) in npcm_wdt_start() 107 unsigned int timeout) in npcm_wdt_set_timeout() argument [all …]
|
| H A D | da9063_wdt.c | 69 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 87 regval = da9063_wdt_timeout_to_sel(timeout); in da9063_wdt_update_timeout() 98 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() 134 unsigned int timeout) in da9063_wdt_set_timeout() argument 150 ret = da9063_wdt_update_timeout(da9063, timeout); in da9063_wdt_set_timeout() 156 wdd->timeout = wdt_timeout[da9063_wdt_timeout_to_sel(timeout)]; in da9063_wdt_set_timeout() 195 unsigned int timeout; in da9063_wdt_probe() local 219 wdd->timeout = DA9063_WDG_TIMEOUT; in da9063_wdt_probe() 222 timeout = da9063_wdt_read_timeout(da9063); in da9063_wdt_probe() 223 if (timeout) in da9063_wdt_probe() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_conntrack_timeout.c | 29 void (*nf_ct_timeout_put_hook)(struct nf_ct_timeout *timeout) __read_mostly; 32 static int untimeout(struct nf_conn *ct, void *timeout) in untimeout() argument 36 if (timeout_ext && (!timeout || timeout_ext->timeout == timeout)) in untimeout() 37 RCU_INIT_POINTER(timeout_ext->timeout, NULL); in untimeout() 43 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout) in nf_ct_untimeout() argument 45 nf_ct_iterate_cleanup_net(net, untimeout, timeout, 0, 0); in nf_ct_untimeout() 49 static void __nf_ct_timeout_put(struct nf_ct_timeout *timeout) in __nf_ct_timeout_put() argument 55 timeout_put(timeout); in __nf_ct_timeout_put() 62 struct nf_ct_timeout *timeout; in nf_ct_set_timeout() local 75 timeout = timeout_find_get(net, timeout_name); in nf_ct_set_timeout() [all …]
|
| H A D | nfnetlink_cttimeout.c | 46 ctnl_timeout_parse_policy(void *timeout, in ctnl_timeout_parse_policy() argument 67 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); in ctnl_timeout_parse_policy() 83 struct ctnl_timeout *timeout, *matching = NULL; in cttimeout_new_timeout() local 97 list_for_each_entry(timeout, &net->nfct_timeout_list, head) { in cttimeout_new_timeout() 98 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_new_timeout() 104 matching = timeout; in cttimeout_new_timeout() 113 if (matching->timeout.l3num != l3num || in cttimeout_new_timeout() 114 matching->timeout.l4proto->l4proto != l4num) in cttimeout_new_timeout() 117 return ctnl_timeout_parse_policy(&matching->timeout.data, in cttimeout_new_timeout() 118 matching->timeout.l4proto, in cttimeout_new_timeout() [all …]
|
| H A D | nf_conntrack_proto_generic.c | 24 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()
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | WaitFor.c | 130 int timeout = timer->expires - now; in check_timers() local 132 if (timeout <= 0) { in check_timers() 136 if (timeout < timer->delta + 250) in check_timers() 137 return timeout; in check_timers() 169 int timeout; in WaitForSomething() local 195 timeout = check_timers(); in WaitForSomething() 199 timeout = 0; in WaitForSomething() 201 BlockHandler(&timeout); in WaitForSomething() 208 i = ospoll_wait(server_poll, timeout); in WaitForSomething() 239 int timeout = *timeoutp; in AdjustWaitForDelay() local [all …]
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | completion.c | 72 long (*action)(long), long timeout, int state) in do_wait_for_common() argument 79 timeout = -ERESTARTSYS; in do_wait_for_common() 85 timeout = action(timeout); in do_wait_for_common() 87 } while (!x->done && timeout); in do_wait_for_common() 90 return timeout; in do_wait_for_common() 94 return timeout ?: 1; in do_wait_for_common() 99 long (*action)(long), long timeout, int state) in __wait_for_common() argument 106 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common() 111 return timeout; in __wait_for_common() 115 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() argument [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | freezer.h | 193 static inline long freezable_schedule_timeout(long timeout) in freezable_schedule_timeout() argument 197 __retval = schedule_timeout(timeout); in freezable_schedule_timeout() 206 static inline long freezable_schedule_timeout_interruptible(long timeout) in freezable_schedule_timeout_interruptible() argument 210 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible() 216 static inline long freezable_schedule_timeout_interruptible_unsafe(long timeout) in freezable_schedule_timeout_interruptible_unsafe() argument 221 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible_unsafe() 227 static inline long freezable_schedule_timeout_killable(long timeout) in freezable_schedule_timeout_killable() argument 231 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable() 237 static inline long freezable_schedule_timeout_killable_unsafe(long timeout) in freezable_schedule_timeout_killable_unsafe() argument 241 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable_unsafe() [all …]
|
| H A D | wait.h | 379 #define __wait_event_timeout(wq_head, condition, timeout) \ argument 381 TASK_UNINTERRUPTIBLE, 0, timeout, \ 403 #define wait_event_timeout(wq_head, condition, timeout) \ argument 405 long __ret = timeout; \ 408 __ret = __wait_event_timeout(wq_head, condition, timeout); \ 412 #define __wait_event_freezable_timeout(wq_head, condition, timeout) \ argument 414 TASK_INTERRUPTIBLE, 0, timeout, \ 421 #define wait_event_freezable_timeout(wq_head, condition, timeout) \ argument 423 long __ret = timeout; \ 426 __ret = __wait_event_freezable_timeout(wq_head, condition, timeout); \ [all …]
|
| H A D | swait.h | 193 #define __swait_event_timeout(wq, condition, timeout) \ argument 195 TASK_UNINTERRUPTIBLE, timeout, \ 198 #define swait_event_timeout_exclusive(wq, condition, timeout) \ argument 200 long __ret = timeout; \ 202 __ret = __swait_event_timeout(wq, condition, timeout); \ 218 #define __swait_event_interruptible_timeout(wq, condition, timeout) \ argument 220 TASK_INTERRUPTIBLE, timeout, \ 223 #define swait_event_interruptible_timeout_exclusive(wq, condition, timeout)\ argument 225 long __ret = timeout; \ 228 condition, timeout); \ [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | fsl_sec_mon.c | 20 int timeout = 10; in set_sec_mon_state_non_sec() local 36 while (timeout) { in set_sec_mon_state_non_sec() 44 timeout--; in set_sec_mon_state_non_sec() 47 if (timeout == 0) { in set_sec_mon_state_non_sec() 65 while (timeout) { in set_sec_mon_state_non_sec() 73 timeout--; in set_sec_mon_state_non_sec() 76 if (timeout == 0) { in set_sec_mon_state_non_sec() 81 timeout = 10; in set_sec_mon_state_non_sec() 94 while (timeout) { in set_sec_mon_state_non_sec() 102 timeout--; in set_sec_mon_state_non_sec() [all …]
|
| /OK3568_Linux_fs/u-boot/board/micronas/vct/ |
| H A D | smc_eeprom.c | 73 int timeout = req_to; in mac_busy() local 75 while (timeout--) { in mac_busy() 138 ulong timeout = 100000; in eeprom_read_location() local 150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_read_location() 152 timeout--; in eeprom_read_location() 155 if (timeout == 0) { in eeprom_read_location() 167 ulong timeout = 100000; in eeprom_enable_erase_and_write() local 175 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_enable_erase_and_write() 177 timeout--; in eeprom_enable_erase_and_write() 180 if (timeout == 0) { in eeprom_enable_erase_and_write() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/firmware/ |
| H A D | fw_fallback.sh | 30 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 …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/ |
| H A D | 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 56 struct timeval timeout = { 0, 125000 }; 59 /* select() timeout? */ 75 - timeout_passed( &state->timeout, &levt->time )) { 76 + timeout_passed( &state->timeout, &tval )) { 78 devt->timestamp = state->timeout; /* timeout of levt->time? */ 84 - state->timeout = levt->time; 85 + state->timeout.tv_sec = levt->input_event_sec; 86 + state->timeout.tv_usec = levt->input_event_usec; 87 timeout_add( &state->timeout, &timeout ); 94 - if (!timeout_passed( &state->timeout, &levt->time )) { [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_wait.c | 18 long timeout) in i915_gem_object_wait_fence() argument 23 return timeout; in i915_gem_object_wait_fence() 26 return i915_request_wait(to_request(fence), flags, timeout); in i915_gem_object_wait_fence() 30 timeout); in i915_gem_object_wait_fence() 36 long timeout) in i915_gem_object_wait_reservation() argument 52 timeout = i915_gem_object_wait_fence(shared[i], in i915_gem_object_wait_reservation() 53 flags, timeout); in i915_gem_object_wait_reservation() 54 if (timeout < 0) in i915_gem_object_wait_reservation() 73 prune_fences = count && timeout >= 0; in i915_gem_object_wait_reservation() 78 if (excl && timeout >= 0) in i915_gem_object_wait_reservation() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | lpc32xx_nand_mlc.c | 238 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_page_hwecc() local 246 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_hwecc() 286 unsigned int i, status, timeout; in lpc32xx_read_page_raw() local 294 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_raw() 334 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_oob() local 346 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_oob() 388 unsigned int i, status, timeout; in lpc32xx_write_page_hwecc() local 400 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc() 412 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc() 482 unsigned int i, status, timeout; in lpc32xx_write_oob() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_timeout.c | 45 static int set_timeout(struct kbase_device *const kbdev, u64 const timeout) in set_timeout() argument 47 if (timeout > GLB_PROGRESS_TIMER_TIMEOUT_MAX) { in set_timeout() 48 dev_err(kbdev->dev, "Timeout %llu is too large.\n", timeout); in set_timeout() 52 dev_dbg(kbdev->dev, "New progress timeout: %llu cycles\n", timeout); in set_timeout() 54 atomic64_set(&kbdev->csf.progress_timeout, timeout); in set_timeout() 80 u64 timeout; in progress_timeout_store() local 92 err = kstrtou64(buf, 0, &timeout); in progress_timeout_store() 98 err = set_timeout(kbdev, timeout); in progress_timeout_store() 105 err = kbase_csf_firmware_set_timeout(kbdev, timeout); in progress_timeout_store() 146 u64 timeout = DEFAULT_PROGRESS_TIMEOUT; in kbase_csf_timeout_init() local [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/ |
| H A D | 0003-support-infinit-timeout.patch | 4 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 @@ -169,7 +170,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 @@ -183,7 +184,7 @@ def timeout_command(argv, timeout, *args, **kwargs): 39 …gv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False, timeout=10): [all …]
|
| /OK3568_Linux_fs/kernel/include/net/netfilter/ |
| H A D | nf_conntrack_timeout.h | 25 struct nf_ct_timeout timeout; member 29 struct nf_ct_timeout __rcu *timeout; member 36 struct nf_ct_timeout *timeout; in nf_ct_timeout_data() local 38 timeout = rcu_dereference(t->timeout); in nf_ct_timeout_data() 39 if (timeout == NULL) in nf_ct_timeout_data() 42 return (unsigned int *)timeout->data; in nf_ct_timeout_data() 60 struct nf_ct_timeout *timeout, in nf_ct_timeout_ext_add() argument 70 rcu_assign_pointer(timeout_ext->timeout, timeout); in nf_ct_timeout_ext_add() 94 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout); 124 extern void (*nf_ct_timeout_put_hook)(struct nf_ct_timeout *timeout);
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | tty_ldsem.c | 156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed() argument 198 if (!timeout) in down_read_failed() 200 timeout = schedule_timeout(timeout); in down_read_failed() 205 if (!timeout) { in down_read_failed() 230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed() argument 259 if (!timeout) in down_write_failed() 262 timeout = schedule_timeout(timeout); in down_write_failed() 296 int subclass, long timeout) in __ldsem_down_read_nested() argument 305 if (!down_read_failed(sem, count, timeout)) { in __ldsem_down_read_nested() 315 int subclass, long timeout) in __ldsem_down_write_nested() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_requests.c | 34 static bool flush_submission(struct intel_gt *gt, long timeout) in flush_submission() argument 40 if (!timeout) in flush_submission() 133 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout) in intel_gt_retire_requests_timeout() argument 142 if (unlikely(timeout < 0)) in intel_gt_retire_requests_timeout() 143 timeout = -timeout, interruptible = false; in intel_gt_retire_requests_timeout() 145 flush_submission(gt, timeout); /* kick the ksoftirqd tasklets */ in intel_gt_retire_requests_timeout() 158 if (timeout > 0) { in intel_gt_retire_requests_timeout() 165 timeout = dma_fence_wait_timeout(fence, in intel_gt_retire_requests_timeout() 167 timeout); in intel_gt_retire_requests_timeout() 200 if (flush_submission(gt, timeout)) /* Wait, there's more! */ in intel_gt_retire_requests_timeout() [all …]
|
| /OK3568_Linux_fs/buildroot/package/python-aiohttp/ |
| H A D | 0001-Bump-async-timeout-version-for-aiohttp-3.8-5299.patch | 4 Subject: [PATCH] Bump async-timeout version for aiohttp 3.8 (#5299) 37 # connection timeout 43 req, traces=traces, timeout=real_timeout 52 - with async_timeout.timeout(self._timeout, loop=self._loop): 53 + async with async_timeout.timeout(self._timeout): 61 - with async_timeout.timeout( 62 - timeout or self._receive_timeout, loop=self._loop 64 + async with async_timeout.timeout(timeout or self._receive_timeout): 92 - with CeilTimeout(timeout.sock_connect): 93 + async with ceil_timeout(timeout.sock_connect): [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-timeout.c | 109 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/input/serio/ |
| H A D | libps2.c | 26 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument 47 msecs_to_jiffies(timeout)); in ps2_do_sendbyte() 86 int ps2_sendbyte(struct ps2dev *ps2dev, u8 byte, unsigned int timeout) in ps2_sendbyte() argument 92 retval = ps2_do_sendbyte(ps2dev, byte, timeout, 1); in ps2_sendbyte() 122 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout) in ps2_drain() argument 138 msecs_to_jiffies(timeout)); in ps2_drain() 171 unsigned int command, unsigned int timeout) in ps2_adjust_timeout() argument 182 if (timeout > msecs_to_jiffies(100)) in ps2_adjust_timeout() 183 timeout = msecs_to_jiffies(100); in ps2_adjust_timeout() 197 timeout = 0; in ps2_adjust_timeout() [all …]
|