| /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/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/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 71 errmsg = "Timeout policy base is empty"; in nf_ct_set_timeout() [all …]
|
| H A D | nfnetlink_cttimeout.c | 35 MODULE_DESCRIPTION("cttimeout: Extended Netfilter Connection Tracking timeout tuning"); 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() 110 /* You cannot replace one timeout policy by another of in cttimeout_new_timeout() 113 if (matching->timeout.l3num != l3num || in cttimeout_new_timeout() 114 matching->timeout.l4proto->l4proto != l4num) in cttimeout_new_timeout() [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 | 23 * Watchdog selector to timeout in seconds. 25 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 49 * Read the currently active timeout. 69 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 75 * The watchdog triggers a reboot if a timeout value is already in da9063_wdt_update_timeout() 76 * programmed because the timeout value combines two functions in da9063_wdt_update_timeout() 78 * The watchdog must be disabled to be able to change the timeout in da9063_wdt_update_timeout() 80 * new timeout value which enables the watchdog again. in da9063_wdt_update_timeout() 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() [all …]
|
| H A D | ts4800_wdt.c | 38 * TS-4800 supports the following timeout values: 47 * Keep the regmap/timeout map ordered by timeout 50 const int timeout; member 81 unsigned int timeout) in ts4800_wdt_set_timeout() argument 87 if (ts4800_wdt_map[i].timeout >= timeout) in ts4800_wdt_set_timeout() 91 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout() 153 wdd->min_timeout = ts4800_wdt_map[0].timeout; in ts4800_wdt_probe() 154 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe() 162 * must be called to initialize timeout and feed_val with valid values. in ts4800_wdt_probe() 163 * Default to maximum timeout if none, or an invalid one, is provided in in ts4800_wdt_probe() [all …]
|
| H A D | sbsa_gwdt.c | 19 * In the single stage mode, when the timeout is reached, your system 21 * In the two stages mode, when the timeout is reached, the first signal (WS0) 31 * |----timeout-----(panic)----timeout-----reset 35 * |--------------timeout-------------------reset 38 * by WOR, in the single stage mode, the timeout is (WOR * 2); in the two 39 * stages mode, the timeout is WOR. The maximum timeout in the two stages mode 92 static unsigned int timeout; variable 93 module_param(timeout, uint, 0); 94 MODULE_PARM_DESC(timeout, 95 "Watchdog timeout in seconds. (>=0, default=" [all …]
|
| H A D | smsc37b787_wdt.c | 33 * reset the system (causing a reboot) after the timeout occurs. 77 static int timeout = 60; /* timeout value: default is 60 "units" */ variable 190 * Bit 0 Status Bit: 0 = Timer counting, 1 = Timeout occurred in wdt_timer_ctrl() 192 * Bit 2 Force Timeout: 1 = Forces WD timeout event (self-cleaning) in wdt_timer_ctrl() 193 * Bit 3 P20 Force Timeout enabled: in wdt_timer_ctrl() 194 * 0 = P20 activity does not generate the WD timeout event in wdt_timer_ctrl() 196 * controller, to force the WD timeout event. in wdt_timer_ctrl() 225 /* disable the timeout */ in wb_smsc_wdt_initialize() 264 /* disable timeout */ in wb_smsc_wdt_shutdown() 271 /* set timeout => enable watchdog */ [all …]
|
| H A D | kempld_wdt.c | 8 * Note: From the PLD watchdog point of view timeout and pretimeout are 10 * First the pretimeout stage runs out before the timeout stage gets 14 * |-----------------------T timeout 86 static unsigned int timeout = DEFAULT_TIMEOUT; variable 87 module_param(timeout, uint, 0); 88 MODULE_PARM_DESC(timeout, 89 "Watchdog timeout in seconds. (>=0, default=" 132 unsigned int timeout) in kempld_wdt_set_stage_timeout() argument 146 stage_timeout64 = (u64)timeout * pld->pld_clock; in kempld_wdt_set_stage_timeout() 175 unsigned int timeout; in kempld_wdt_get_timeout() local [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/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/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() 79 return 1; /* Timeout */ in mac_busy() 82 return 0; /* No timeout */ in mac_busy() 98 printf("get_mac_reg: timeout waiting for response from MAC\n"); in get_mac_reg() 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() 156 printf("Timeout\n"); in eeprom_read_location() [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() 48 printf("SEC_MON state transition timeout.\n"); 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() 77 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_non_sec() 81 timeout = 10; in set_sec_mon_state_non_sec() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_timeout.c | 36 * set_timeout - set a new global progress timeout. 39 * @timeout: the maximum number of GPU cycles without forward progress to allow 43 * (e.g. -ERANGE if the requested timeout is too large). 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() 67 * It checks the data written, and if valid updates the progress timeout value. 69 * the function will return an error code (-EBUSY), and no change for timeout [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | wait.h | 287 * on purpose; we use long where we can return timeout values and int 379 #define __wait_event_timeout(wq_head, condition, timeout) \ argument 381 TASK_UNINTERRUPTIBLE, 0, timeout, \ 385 * wait_event_timeout - sleep until a condition gets true or a timeout elapses 388 * @timeout: timeout, in jiffies 398 * 0 if the @condition evaluated to %false after the @timeout elapsed, 399 * 1 if the @condition evaluated to %true after the @timeout elapsed, 401 * to %true before the @timeout elapsed. 403 #define wait_event_timeout(wq_head, condition, timeout) \ argument 405 long __ret = timeout; \ [all …]
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | WaitFor.c | 120 * Compute timeout until next timer, running 130 int timeout = timer->expires - now; in check_timers() local 132 if (timeout <= 0) { in check_timers() 135 /* Make sure the timeout is sane */ in check_timers() 136 if (timeout < timer->delta + 250) in check_timers() 137 return timeout; in check_timers() 160 * has to handle this also (that's why the select() has a timeout. 169 int timeout; in WaitForSomething() local 188 crashed connections and the screen saver timeout */ in WaitForSomething() 195 timeout = check_timers(); in WaitForSomething() [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-timeout.c | 3 * Functions related to generic timeout handling of requests. 75 * request by deleting the timer and calling the q's timeout function. 76 * LLDDs who implement their own error recovery MAY ignore the timeout 82 * All we need to ensure is that timeout scan takes place in blk_abort_request() 83 * immediately and that scan sees the new timeout value. in blk_abort_request() 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() 121 * blk_add_timer - Start timeout timer for a single request [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/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-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/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | vxlan.sh | 12 : ${TIMEOUT:=20000} # ms 474 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb 00:00:00:00:00:00 \ 490 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 493 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 504 busywait "$TIMEOUT" not wait_for_offload grep_bridge_fdb \ 515 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 518 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 529 busywait "$TIMEOUT" not wait_for_offload grep_bridge_fdb \ 540 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 543 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/vsock/ |
| H A D | timeout.c | 2 /* Timeout API for single-threaded programs that use blocking 12 * timeout_begin(TIMEOUT); 24 #include "timeout.h" 26 static volatile bool timeout; variable 34 timeout = true; in sigalrm() 37 /* Start a timeout. Call timeout_check() to verify that the timeout hasn't 38 * expired. timeout_end() must be called to stop the timeout. Timeouts cannot 46 /* Exit with an error message if the timeout has expired */ 49 if (timeout) { in timeout_check() 55 /* Stop a timeout */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-sa1100/ |
| H A D | ssp.c | 23 #define TIMEOUT 100000 macro 48 * %-ETIMEDOUT timeout occurred 53 int timeout = TIMEOUT; in ssp_write_word() local 56 if (!--timeout) in ssp_write_word() 63 timeout = TIMEOUT; in ssp_write_word() 65 if (!--timeout) in ssp_write_word() 85 * %-ETIMEDOUT timeout occurred 90 int timeout = TIMEOUT; in ssp_read_word() local 93 if (!--timeout) in ssp_read_word() 112 * %-ETIMEDOUT timeout occurred [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_config_defaults.h | 142 /* Default timeout for some software jobs, after which the software event wait 171 /* Waiting timeout for status change acknowledgment, in clock cycles. 173 * This is also the default timeout to be used when an invalid timeout 174 * selector is used to retrieve the timeout on CSF GPUs. 176 * Based on 75000ms timeout at nominal 100MHz, as is required for Android - based 181 /* Timeout in clock cycles for GPU Power Management to reach the desired 184 * Based on 2500ms timeout at nominal 100MHz, scaled from a 50MHz GPU system. 188 /* Waiting timeout in clock cycles for GPU reset to complete. 190 * Based on 2500ms timeout at 100MHz, scaled from a 50MHz GPU system 194 /* Waiting timeout in clock cycles for all active CSGs to be suspended. [all …]
|