/linux/drivers/gpu/drm/ci/xfails/ |
H A D | i915-tgl-fails.txt | 1 api_intel_allocator@simple-allocator,Timeout 2 api_intel_bb@object-reloc-keep-cache,Timeout 3 api_intel_bb@offset-control,Timeout 4 core_auth@getclient-simple,Timeout 5 core_hotunplug@hotunbind-rebind,Timeout 6 debugfs_test@read_all_entries_display_on,Timeout 7 drm_read@invalid-buffer,Timeout 8 drm_read@short-buffer-nonblock,Timeout 9 gen3_render_tiledx_blits,Timeout 10 gen7_exec_parse@basic-allocation,Timeout [all …]
|
H A D | i915-glk-fails.txt | 7 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 12 kms_flip@busy-flip,Timeout 38 kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu,Timeout 43 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 44 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 45 kms_pm_rpm@legacy-planes,Timeout 46 kms_pm_rpm@legacy-planes-dpms,Timeout 47 kms_pm_rpm@modeset-stress-extra-wait,Timeout 48 kms_pm_rpm@universal-planes,Timeout 49 kms_pm_rpm@universal-planes-dpms,Timeout [all …]
|
H A D | i915-whl-fails.txt | 7 i915_pm_rpm@gem-execbuf-stress,Timeout 9 i915_pm_rpm@system-suspend-execbuf,Timeout 10 kms_ccs@crc-primary-rotation-180-yf-tiled-ccs,Timeout 11 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 35 kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu,Timeout 42 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 43 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 44 kms_pm_rpm@modeset-stress-extra-wait,Timeout 45 kms_pm_rpm@universal-planes,Timeout 46 kms_pm_rpm@universal-planes-dpms,Timeout [all …]
|
H A D | i915-amly-fails.txt | 7 i915_pm_rpm@gem-execbuf-stress,Timeout 9 kms_ccs@crc-primary-rotation-180-yf-tiled-ccs,Timeout 10 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Timeout 12 kms_flip@busy-flip,Timeout 36 kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu,Timeout 42 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 43 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 44 kms_pm_rpm@modeset-stress-extra-wait,Timeout 45 kms_pm_rpm@universal-planes,Timeout 46 kms_pm_rpm@universal-planes-dpms,Timeout [all …]
|
H A D | i915-cml-fails.txt | 9 i915_pm_rpm@gem-execbuf-stress,Timeout 11 i915_pm_rpm@system-suspend-execbuf,Timeout 12 kms_ccs@crc-primary-rotation-180-yf-tiled-ccs,Timeout 14 kms_flip@busy-flip,Timeout 43 kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation,Timeout 44 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 45 kms_pm_rpm@modeset-stress-extra-wait,Timeout 46 kms_pm_rpm@universal-planes,Timeout 47 kms_pm_rpm@universal-planes-dpms,Timeout 50 kms_psr2_sf@fbc-plane-move-sf-dmg-area,Timeout [all …]
|
/linux/kernel/sched/ |
H A D | completion.c | 82 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() 125 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() argument [all …]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_timeout.c | 28 static int untimeout(struct nf_conn *ct, void *timeout) in untimeout() argument 35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout() 37 if (!timeout || t == timeout) in untimeout() 38 RCU_INIT_POINTER(timeout_ext->timeout, NULL); in untimeout() 45 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout) in nf_ct_untimeout() argument 49 .data = timeout, in nf_ct_untimeout() 56 static void __nf_ct_timeout_put(struct nf_ct_timeout *timeout) in __nf_ct_timeout_put() argument 61 h->timeout_put(timeout); in __nf_ct_timeout_put() 68 struct nf_ct_timeout *timeout; in nf_ct_set_timeout() local 77 errmsg = "Timeout policy base is empty"; in nf_ct_set_timeout() [all …]
|
H A D | nfnetlink_cttimeout.c | 44 struct nf_ct_timeout timeout; member 54 MODULE_DESCRIPTION("cttimeout: Extended Netfilter Connection Tracking timeout tuning"); 70 ctnl_timeout_parse_policy(void *timeout, in ctnl_timeout_parse_policy() argument 91 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); in ctnl_timeout_parse_policy() 106 struct ctnl_timeout *timeout, *matching = NULL; in cttimeout_new_timeout() local 120 list_for_each_entry(timeout, &pernet->nfct_timeout_list, head) { in cttimeout_new_timeout() 121 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_new_timeout() 127 matching = timeout; in cttimeout_new_timeout() 133 /* You cannot replace one timeout policy by another of in cttimeout_new_timeout() 136 if (matching->timeout.l3num != l3num || 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() 33 /* Set default generic 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()
|
/linux/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 …]
|
/linux/drivers/watchdog/ |
H A D | npcm_wdt.c | 74 if (wdd->timeout < 2) in npcm_wdt_start() 76 else if (wdd->timeout < 3) in npcm_wdt_start() 78 else if (wdd->timeout < 6) in npcm_wdt_start() 80 else if (wdd->timeout < 11) in npcm_wdt_start() 82 else if (wdd->timeout < 22) in npcm_wdt_start() 84 else if (wdd->timeout < 44) in npcm_wdt_start() 86 else if (wdd->timeout < 87) in npcm_wdt_start() 88 else if (wdd->timeout < 173) in npcm_wdt_start() 90 else if (wdd->timeout < 688) in npcm_wdt_start() 115 unsigned int timeout) in npcm_wdt_set_timeout() argument [all …]
|
H A D | da9063_wdt.c | 25 * Watchdog selector to timeout in seconds. 27 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 53 * Read the currently active timeout. 73 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) in da9063_wdt_update_timeout() argument 79 * The watchdog triggers a reboot if a timeout value is already in da9063_wdt_update_timeout() 80 * programmed because the timeout value combines two functions in da9063_wdt_update_timeout() 82 * The watchdog must be disabled to be able to change the timeout in da9063_wdt_update_timeout() 84 * new timeout value which enables the watchdog again. in da9063_wdt_update_timeout() 91 regval = da9063_wdt_timeout_to_sel(timeout); in da9063_wdt_update_timeout() 102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() [all …]
|
H A D | ts4800_wdt.c | 36 * TS-4800 supports the following timeout values: 45 * Keep the regmap/timeout map ordered by timeout 48 const int timeout; member 79 unsigned int timeout) in ts4800_wdt_set_timeout() argument 85 if (ts4800_wdt_map[i].timeout >= timeout) in ts4800_wdt_set_timeout() 89 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout() 151 wdd->min_timeout = ts4800_wdt_map[0].timeout; in ts4800_wdt_probe() 152 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe() 160 * must be called to initialize timeout and feed_val with valid values. in ts4800_wdt_probe() 161 * Default to maximum timeout if none, or an invalid one, is provided in in ts4800_wdt_probe() [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 84 static unsigned int timeout = DEFAULT_TIMEOUT; variable 85 module_param(timeout, uint, 0); 86 MODULE_PARM_DESC(timeout, 87 "Watchdog timeout in seconds. (>=0, default=" 130 unsigned int timeout) in kempld_wdt_set_stage_timeout() argument 144 stage_timeout64 = (u64)timeout * pld->pld_clock; in kempld_wdt_set_stage_timeout() 173 unsigned int timeout; in kempld_wdt_get_timeout() local [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 96 static unsigned int timeout; variable 97 module_param(timeout, uint, 0); 98 MODULE_PARM_DESC(timeout, 99 "Watchdog timeout in seconds. (>=0, default=" [all …]
|
/linux/io_uring/ |
H A D | timeout.c | 14 #include "timeout.h" 32 /* timeout update */ 40 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_is_timeout_noseq() local 43 return !timeout->off || data->flags & IORING_TIMEOUT_MULTISHOT; in io_is_timeout_noseq() 54 static inline bool io_timeout_finish(struct io_timeout *timeout, in io_timeout_finish() argument 60 if (!timeout->off || (timeout->repeats && --timeout->repeats)) in io_timeout_finish() 70 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_timeout_complete() local 74 if (!io_timeout_finish(timeout, data)) { in io_timeout_complete() 78 list_add(&timeout->list, ctx->timeout_list.prev); in io_timeout_complete() 95 struct io_timeout *timeout = io_kiocb_to_cmd(req, struct io_timeout); in io_kill_timeout() local [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_wait_user_fence.c | 62 long timeout; in to_jiffies_timeout() local 65 * For negative timeout we want to wait "forever" by setting in to_jiffies_timeout() 67 * to args->timeout to avoid being zeroed on the signal delivery in to_jiffies_timeout() 70 if (args->timeout < 0) { in to_jiffies_timeout() 71 args->timeout = MAX_SCHEDULE_TIMEOUT; in to_jiffies_timeout() 75 if (args->timeout == 0) in to_jiffies_timeout() 79 * Save the timeout to an u64 variable because nsecs_to_jiffies in to_jiffies_timeout() 83 t = drm_timeout_abs_to_jiffies(args->timeout); in to_jiffies_timeout() 85 t = nsecs_to_jiffies(args->timeout); in to_jiffies_timeout() 91 * args->timeout should have been set to a negative value. in to_jiffies_timeout() [all …]
|
H A D | Kconfig.profile | 2 int "Default max job timeout (ms)" 5 Configures the default max job timeout after which job will 8 int "Default min job timeout (ms)" 11 Configures the default min job timeout after which job will 26 int "Preempt timeout (us, jiffy granularity)" 34 int "Default max preempt timeout (us)" 37 Configures the default max preempt timeout after which context 41 int "Default min preempt timeout (us)" 44 Configures the default min preempt timeout after which context 48 bool "Default configuration of limitation on scheduler timeout" [all …]
|
/linux/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 …]
|
/linux/include/linux/ |
H A D | wait.h | 295 * on purpose; we use long where we can return timeout values and int 387 #define __wait_event_timeout(wq_head, condition, timeout) \ argument 389 TASK_UNINTERRUPTIBLE, 0, timeout, \ 393 * wait_event_timeout - sleep until a condition gets true or a timeout elapses 396 * @timeout: timeout, in jiffies 406 * 0 if the @condition evaluated to %false after the @timeout elapsed, 407 * 1 if the @condition evaluated to %true after the @timeout elapsed, 409 * to %true before the @timeout elapsed. 411 #define wait_event_timeout(wq_head, condition, timeout) \ argument 413 long __ret = timeout; \ [all …]
|
/linux/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 …]
|
/linux/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 …]
|
/linux/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 …]
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_wait.c | 20 long timeout) in i915_gem_object_wait_fence() argument 25 return timeout; in i915_gem_object_wait_fence() 28 return i915_request_wait_timeout(to_request(fence), flags, 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() 80 ret = i915_gem_object_wait_fence(fence, flags, timeout); in i915_gem_object_wait_reservation() 84 if (timeout) in i915_gem_object_wait_reservation() 85 timeout = ret; in i915_gem_object_wait_reservation() 167 * @timeout: how long to wait [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | vxlan.sh | 37 : ${TIMEOUT:=20000} # ms 485 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb 00:00:00:00:00:00 \ 501 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 504 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 515 busywait "$TIMEOUT" not wait_for_offload grep_bridge_fdb \ 526 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 529 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 540 busywait "$TIMEOUT" not wait_for_offload grep_bridge_fdb \ 551 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ 554 busywait "$TIMEOUT" wait_for_offload grep_bridge_fdb \ [all …]
|