Home
last modified time | relevance | path

Searched refs:timeout (Results 176 - 200 of 6572) sorted by relevance

12345678910>>...263

/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_ioctl.c68 int timeout, int retries) in ioctl_internal_command()
79 result = scsi_execute_cmd(sdev, cmd, REQ_OP_DRV_IN, NULL, 0, timeout, in ioctl_internal_command()
181 int timeout, err = get_user(timeout, p); in sg_set_timeout() local
184 sdev->sg_timeout = clock_t_to_jiffies(timeout); in sg_set_timeout()
361 rq->timeout = msecs_to_jiffies(hdr->timeout); in scsi_fill_sghdr_rq()
362 if (!rq->timeout) in scsi_fill_sghdr_rq()
363 rq->timeout = sdev->sg_timeout; in scsi_fill_sghdr_rq()
364 if (!rq->timeout) in scsi_fill_sghdr_rq()
67 ioctl_internal_command(struct scsi_device *sdev, char *cmd, int timeout, int retries) ioctl_internal_command() argument
715 compat_int_t timeout; global() member
[all...]
/foundation/multimedia/media_foundation/engine/foundation/osal/thread/
H A Dcondition_variable.cpp93 struct timespec timeout = {0, 0}; in WaitFor() local
95 clock_gettime(CLOCK_REALTIME, &timeout); in WaitFor()
97 clock_gettime(CLOCK_MONOTONIC, &timeout); in WaitFor()
99 timeout = NsToTm(TmToNs(timeout) + timeoutMs * std::mega::num); in WaitFor()
101 &timeout) == 0; in WaitFor()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_snmp.c24 static unsigned int timeout __read_mostly = 30;
25 module_param(timeout, uint, 0400);
26 MODULE_PARM_DESC(timeout, "timeout for master connection/replies in seconds");
40 nf_conntrack_broadcast_help(skb, ct, ctinfo, timeout); in snmp_conntrack_help()
65 exp_policy.timeout = timeout; in nf_conntrack_snmp_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_de.h53 u32 mask, u32 value, unsigned int timeout) in intel_de_wait_for_register()
55 return intel_wait_for_register(&i915->uncore, reg, mask, value, timeout); in intel_de_wait_for_register()
60 u32 mask, unsigned int timeout) in intel_de_wait_for_set()
62 return intel_de_wait_for_register(i915, reg, mask, mask, timeout); in intel_de_wait_for_set()
67 u32 mask, unsigned int timeout) in intel_de_wait_for_clear()
69 return intel_de_wait_for_register(i915, reg, mask, 0, timeout); in intel_de_wait_for_clear()
52 intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout) intel_de_wait_for_register() argument
59 intel_de_wait_for_set(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, unsigned int timeout) intel_de_wait_for_set() argument
66 intel_de_wait_for_clear(struct drm_i915_private *i915, i915_reg_t reg, u32 mask, unsigned int timeout) intel_de_wait_for_clear() argument
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_conntrack_snmp.c24 static unsigned int timeout __read_mostly = 30;
25 module_param(timeout, uint, 0400);
26 MODULE_PARM_DESC(timeout, "timeout for master connection/replies in seconds");
40 nf_conntrack_broadcast_help(skb, ct, ctinfo, timeout); in snmp_conntrack_help()
65 exp_policy.timeout = timeout; in nf_conntrack_snmp_init()
H A Dnft_dynset.c24 u64 timeout; member
52 u64 timeout; in nft_dynset_new() local
58 timeout = priv->timeout ? : set->timeout; in nft_dynset_new()
62 timeout, 0, GFP_ATOMIC); in nft_dynset_new()
86 u64 timeout; in nft_dynset_eval() local
97 timeout = priv->timeout ? : set->timeout; in nft_dynset_eval()
168 u64 timeout; nft_dynset_init() local
[all...]
H A Dnf_flow_table_core.c178 s32 timeout; in flow_offload_fixup_ct() local
185 timeout = tn->timeouts[ct->proto.tcp.state]; in flow_offload_fixup_ct()
186 timeout -= tn->offload_timeout; in flow_offload_fixup_ct()
193 timeout = tn->timeouts[state]; in flow_offload_fixup_ct()
194 timeout -= tn->offload_timeout; in flow_offload_fixup_ct()
199 if (timeout < 0) in flow_offload_fixup_ct()
200 timeout = 0; in flow_offload_fixup_ct()
202 if (nf_flow_timeout_delta(READ_ONCE(ct->timeout)) > (__s32)timeout) in flow_offload_fixup_ct()
203 WRITE_ONCE(ct->timeout, nfct_time_stam in flow_offload_fixup_ct()
262 unsigned long timeout = NF_FLOW_TIMEOUT; flow_offload_get_timeout() local
315 u32 timeout; flow_offload_refresh() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dksm_tests.c160 printf("usage: ksm_tests [-h] <test type> [-a prot] [-p page_count] [-l timeout]\n" in print_help()
218 static int ksm_do_scan(int scan_count, struct timespec start_time, int timeout) in ksm_do_scan() argument
234 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) { in ksm_do_scan()
244 struct timespec start_time, int timeout) in ksm_merge_pages()
262 if (ksm_do_scan(2, start_time, timeout)) in ksm_merge_pages()
269 struct timespec start_time, int timeout) in ksm_unmerge_pages()
348 long page_count, int timeout, size_t page_size) in check_ksm_merge()
363 if (ksm_merge_pages(merge_type, map_ptr, page_size * page_count, start_time, timeout)) in check_ksm_merge()
381 static int check_ksm_unmerge(int merge_type, int mapping, int prot, int timeout, size_t page_size) in check_ksm_unmerge() argument
397 if (ksm_merge_pages(merge_type, map_ptr, page_size * page_count, start_time, timeout)) in check_ksm_unmerge()
243 ksm_merge_pages(int merge_type, void *addr, size_t size, struct timespec start_time, int timeout) ksm_merge_pages() argument
268 ksm_unmerge_pages(void *addr, size_t size, struct timespec start_time, int timeout) ksm_unmerge_pages() argument
347 check_ksm_merge(int merge_type, int mapping, int prot, long page_count, int timeout, size_t page_size) check_ksm_merge() argument
421 check_ksm_zero_page_merge(int merge_type, int mapping, int prot, long page_count, int timeout, bool use_zero_pages, size_t page_size) check_ksm_zero_page_merge() argument
486 check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, bool merge_across_nodes, size_t page_size) check_ksm_numa_merge() argument
550 ksm_merge_hugepages_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) ksm_merge_hugepages_time() argument
618 ksm_merge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) ksm_merge_time() argument
659 ksm_unmerge_time(int merge_type, int mapping, int prot, int timeout, size_t map_size) ksm_unmerge_time() argument
706 ksm_cow_time(int merge_type, int mapping, int prot, int timeout, size_t page_size) ksm_cow_time() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/rc/
H A Drc-ir-raw.c121 * timeout
127 * decoding and generates a timeout.
144 /* timer could be set to timeout (125ms by default) */ in ir_raw_event_store_with_timeout()
190 if (!ev->pulse && dev->timeout && in ir_raw_event_store_with_filter()
191 dev->raw->this_ev.duration >= dev->timeout) in ir_raw_event_store_with_filter()
211 dev->raw->this_ev.timeout = true; in ir_raw_event_set_idle()
248 u32 timeout = 0; in change_protocol() local
269 if (timeout < handler->min_timeout) in change_protocol()
270 timeout = handler->min_timeout; in change_protocol()
275 if (timeout in change_protocol()
[all...]
/kernel/linux/linux-6.6/drivers/media/rc/
H A Drc-ir-raw.c119 * timeout
125 * decoding and generates a timeout.
142 /* timer could be set to timeout (125ms by default) */ in ir_raw_event_store_with_timeout()
188 if (!ev->pulse && dev->timeout && in ir_raw_event_store_with_filter()
189 dev->raw->this_ev.duration >= dev->timeout) in ir_raw_event_store_with_filter()
209 dev->raw->this_ev.timeout = true; in ir_raw_event_set_idle()
246 u32 timeout = 0; in change_protocol() local
267 if (timeout < handler->min_timeout) in change_protocol()
268 timeout = handler->min_timeout; in change_protocol()
273 if (timeout in change_protocol()
[all...]
/kernel/linux/linux-5.10/block/
H A Dscsi_ioctl.c63 int timeout, err = get_user(timeout, p); in sg_set_timeout() local
66 q->sg_timeout = clock_t_to_jiffies(timeout); in sg_set_timeout()
235 rq->timeout = msecs_to_jiffies(hdr->timeout); in blk_fill_sghdr_rq()
236 if (!rq->timeout) in blk_fill_sghdr_rq()
237 rq->timeout = q->sg_timeout; in blk_fill_sghdr_rq()
238 if (!rq->timeout) in blk_fill_sghdr_rq()
239 rq->timeout = BLK_DEFAULT_SG_TIMEOUT; in blk_fill_sghdr_rq()
240 if (rq->timeout < BLK_MIN_SG_TIMEOU in blk_fill_sghdr_rq()
646 compat_int_t timeout; global() member
[all...]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A Dspeakup_keypc.c139 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4); in oops()
146 int timeout; in synth_immediate() local
153 timeout = 1000; in synth_immediate()
155 if (--timeout <= 0) in synth_immediate()
167 int timeout; in do_catch_up() local
206 timeout = 1000; in do_catch_up()
208 if (--timeout <= 0) in do_catch_up()
210 if (timeout <= 0) { in do_catch_up()
222 timeout = 1000; in do_catch_up()
224 if (--timeout < in do_catch_up()
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dsunxi_wdt.c38 static unsigned int timeout; variable
63 * [timeout seconds] = register value
96 /* Set lowest timeout and enable watchdog */ in sunxi_wdt_restart()
129 unsigned int timeout) in sunxi_wdt_set_timeout()
136 if (wdt_timeout_map[timeout] == 0) in sunxi_wdt_set_timeout()
137 timeout++; in sunxi_wdt_set_timeout()
139 sunxi_wdt->wdt_dev.timeout = timeout; in sunxi_wdt_set_timeout()
143 reg |= wdt_timeout_map[timeout] << regs->wdt_timeout_shift; in sunxi_wdt_set_timeout()
171 sunxi_wdt->wdt_dev.timeout); in sunxi_wdt_start()
128 sunxi_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) sunxi_wdt_set_timeout() argument
[all...]
H A Dsmsc37b787_wdt.c33 * reset the system (causing a reboot) after the timeout occurs.
77 static int timeout = 60; /* timeout value: default is 60 "units" */ variable
192 * Bit 2 Force Timeout: 1 = Forces WD timeout event (self-cleaning) 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 */
279 /* set Power LED to blink, if we enable the timeout */ in wb_smsc_wdt_set_timeout()
[all...]
H A Dath79_wdt.c55 static int timeout = WDT_TIMEOUT; variable
56 module_param(timeout, int, 0);
57 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds "
83 ath79_wdt_wr(WDOG_REG_TIMER, wdt_freq * timeout); in ath79_wdt_keepalive()
117 timeout = val; in ath79_wdt_set_timeout()
221 err = put_user(timeout, p); in ath79_wdt_ioctl()
275 if (timeout < 1 || timeout > max_timeout) { in ath79_wdt_probe()
276 timeout in ath79_wdt_probe()
[all...]
H A Die6xx_wdt.c48 static unsigned int timeout = DEFAULT_TIME; variable
49 module_param(timeout, uint, 0);
50 MODULE_PARM_DESC(timeout,
128 wdd->timeout = t; in ie6xx_wdt_set_timeout()
134 ie6xx_wdt_set_timeout(wdd, wdd->timeout); in ie6xx_wdt_start()
243 ie6xx_wdt_dev.timeout = timeout; in ie6xx_wdt_probe()
295 if ((timeout < MIN_TIME) || in ie6xx_wdt_init()
296 (timeout > MAX_TIME)) { in ie6xx_wdt_init()
297 pr_err("Watchdog timer: value of timeout in ie6xx_wdt_init()
[all...]
H A Dgef_wdt.c123 static void gef_wdt_set_timeout(unsigned int timeout) in gef_wdt_set_timeout() argument
126 if (timeout > 0xFFFFFFFF / bus_clk) in gef_wdt_set_timeout()
127 timeout = 0xFFFFFFFF / bus_clk; in gef_wdt_set_timeout()
130 gef_wdt_count = (timeout * bus_clk) >> 8; in gef_wdt_set_timeout()
131 gef_wdt_timeout = timeout; in gef_wdt_set_timeout()
161 int timeout; in gef_wdt_ioctl() local
201 if (get_user(timeout, (int __user *)argp)) in gef_wdt_ioctl()
203 gef_wdt_set_timeout(timeout); in gef_wdt_ioctl()
265 int timeout = 10; in gef_wdt_probe() local
279 gef_wdt_set_timeout(timeout); in gef_wdt_probe()
[all...]
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dspeakup_keypc.c148 pr_warn("synth timeout %d %d %d %d\n", s1, s2, s3, s4); in oops()
155 int timeout; in synth_immediate() local
162 timeout = 1000; in synth_immediate()
164 if (--timeout <= 0) in synth_immediate()
176 int timeout; in do_catch_up() local
215 timeout = 1000; in do_catch_up()
217 if (--timeout <= 0) in do_catch_up()
219 if (timeout <= 0) { in do_catch_up()
231 timeout = 1000; in do_catch_up()
233 if (--timeout < in do_catch_up()
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dsmsc37b787_wdt.c33 * reset the system (causing a reboot) after the timeout occurs.
77 static int timeout = 60; /* timeout value: default is 60 "units" */ variable
192 * Bit 2 Force Timeout: 1 = Forces WD timeout event (self-cleaning) 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 */
279 /* set Power LED to blink, if we enable the timeout */ in wb_smsc_wdt_set_timeout()
[all...]
H A Dsunxi_wdt.c37 static unsigned int timeout; variable
63 * [timeout seconds] = register value
97 /* Set lowest timeout and enable watchdog */ in sunxi_wdt_restart()
132 unsigned int timeout) in sunxi_wdt_set_timeout()
139 if (wdt_timeout_map[timeout] == 0) in sunxi_wdt_set_timeout()
140 timeout++; in sunxi_wdt_set_timeout()
142 sunxi_wdt->wdt_dev.timeout = timeout; in sunxi_wdt_set_timeout()
146 reg |= wdt_timeout_map[timeout] << regs->wdt_timeout_shift; in sunxi_wdt_set_timeout()
175 sunxi_wdt->wdt_dev.timeout); in sunxi_wdt_start()
131 sunxi_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) sunxi_wdt_set_timeout() argument
[all...]
/kernel/liteos_a/kernel/base/ipc/
H A Dlos_event.c127 UINT32 timeout, BOOL once) in OsEventReadImp()
131 OsHookCall(LOS_HOOK_TYPE_EVENT_READ, eventCB, eventMask, mode, timeout); in OsEventReadImp()
138 if (timeout == 0) { in OsEventReadImp()
149 OsTaskWaitSetPendMask(OS_TASK_WAIT_EVENT, eventMask, timeout); in OsEventReadImp()
150 ret = runTask->ops->wait(runTask, &eventCB->stEventList, timeout); in OsEventReadImp()
160 LITE_OS_SEC_TEXT STATIC UINT32 OsEventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout, in OsEventRead() argument
172 ret = OsEventReadImp(eventCB, eventMask, mode, timeout, once); in OsEventRead()
260 LITE_OS_SEC_TEXT UINT32 LOS_EventRead(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) in LOS_EventRead() argument
262 return OsEventRead(eventCB, eventMask, mode, timeout, FALSE); in LOS_EventRead()
271 UINT32 timeout) in OsEventReadOnce()
126 OsEventReadImp(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout, BOOL once) OsEventReadImp() argument
270 OsEventReadOnce(PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) OsEventReadOnce() argument
318 OsEventReadWithCond(const EventCond *cond, PEVENT_CB_S eventCB, UINT32 eventMask, UINT32 mode, UINT32 timeout) OsEventReadWithCond() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Drcuwait.h79 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \
81 state, timeout, \
84 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \
86 long __ret = timeout; \
89 state, timeout); \
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhencoder_buffer_unit_test.cpp83 .timeout = 100, in HWTEST_F()
103 .timeout = 100, in HWTEST_F()
123 .timeout = 100, in HWTEST_F()
146 .timeout = 100, in HWTEST_F()
165 .timeout = 100, in HWTEST_F()
184 .timeout = 100, in HWTEST_F()
203 .timeout = 100, in HWTEST_F()
228 .timeout = 100, in HWTEST_F()
247 .timeout = 100, in HWTEST_F()
270 .timeout in HWTEST_F()
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Dwaitqueue.c21 long timeout,
69 long timeout = MAX_SCHEDULE_TIMEOUT; in service_operation() local
137 timeout = 0; in service_operation()
139 timeout = op_timeout_secs * HZ; in service_operation()
146 ret = wait_for_matching_downcall(op, timeout, flags); in service_operation()
179 timeout = op_timeout_secs * HZ; in service_operation()
304 * else if client-core exits, we get woken up here, and retry with a timeout
319 long timeout,
334 n = wait_for_completion_io_timeout(&op->waitq, timeout);
337 timeout);
[all...]
/kernel/linux/linux-6.6/fs/orangefs/
H A Dwaitqueue.c21 long timeout,
69 long timeout = MAX_SCHEDULE_TIMEOUT; in service_operation() local
137 timeout = 0; in service_operation()
139 timeout = op_timeout_secs * HZ; in service_operation()
146 ret = wait_for_matching_downcall(op, timeout, flags); in service_operation()
179 timeout = op_timeout_secs * HZ; in service_operation()
304 * else if client-core exits, we get woken up here, and retry with a timeout
319 long timeout,
334 n = wait_for_completion_io_timeout(&op->waitq, timeout);
337 timeout);
[all...]

Completed in 19 milliseconds

12345678910>>...263