Home
last modified time | relevance | path

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

1234

/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dscheduler.c55 int timeout; member
76 s->timeout = SCHEDULER_MAX_TIMEOUT; in scheduler_prepare_events()
99 s->timeout = MIN(s->timeout, diff); in scheduler_prepare_events()
101 s->timeout = 0; in scheduler_prepare_events()
105 s->timeout = MIN(s->timeout, s->max_timeout); in scheduler_prepare_events()
186 event->timeout = timeout; in scheduler_register_event()
187 event->deadline = now.tv_sec + timeout; in scheduler_register_event()
220 if (timeout >= 0) in scheduler_set_max_timeout()
232 tv.tv_sec = s->timeout; in scheduler_wait_for_events()
236 s->timeout, s->max_timeout); in scheduler_wait_for_events()
[all …]
A Dscheduler.h52 int timeout; member
59 int fd, int timeout,
A Dtapdisk-ring.c331 tapdisk_ring_read_message(int fd, td_uring_message_t *message, int timeout) in tapdisk_ring_read_message() argument
341 if (timeout) { in tapdisk_ring_read_message()
342 tv.tv_sec = timeout; in tapdisk_ring_read_message()
373 tapdisk_ring_write_message(int fd, td_uring_message_t *message, int timeout) in tapdisk_ring_write_message() argument
383 if (timeout) { in tapdisk_ring_write_message()
384 tv.tv_sec = timeout; in tapdisk_ring_write_message()
/xen-4.10.0-shim-comet/tools/blktap2/control/
A Dtap-ctl-ipc.c44 tap_ctl_read_message(int fd, tapdisk_message_t *message, int timeout) in tap_ctl_read_message() argument
54 if (timeout) { in tap_ctl_read_message()
55 tv.tv_sec = timeout; in tap_ctl_read_message()
96 tap_ctl_write_message(int fd, tapdisk_message_t *message, int timeout) in tap_ctl_write_message() argument
106 if (timeout) { in tap_ctl_write_message()
107 tv.tv_sec = timeout; in tap_ctl_write_message()
149 tap_ctl_send_and_receive(int sfd, tapdisk_message_t *message, int timeout) in tap_ctl_send_and_receive() argument
153 err = tap_ctl_write_message(sfd, message, timeout); in tap_ctl_send_and_receive()
160 err = tap_ctl_read_message(sfd, message, timeout); in tap_ctl_send_and_receive()
237 tap_ctl_connect_send_and_receive(int id, tapdisk_message_t *message, int timeout) in tap_ctl_connect_send_and_receive() argument
[all …]
A Dtap-ctl.h59 int tap_ctl_read_message(int fd, tapdisk_message_t *message, int timeout);
60 int tap_ctl_write_message(int fd, tapdisk_message_t *message, int timeout);
61 int tap_ctl_send_and_receive(int fd, tapdisk_message_t *message, int timeout);
63 tapdisk_message_t *message, int timeout);
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/
A Dplatform-compat.c56 unsigned long wait_for_completion_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_timeout() argument
69 timeout = schedule_timeout(timeout); in wait_for_completion_timeout()
71 if (!timeout) { in wait_for_completion_timeout()
81 return timeout; in wait_for_completion_timeout()
102 signed long schedule_timeout_interruptible(signed long timeout) in schedule_timeout_interruptible() argument
105 return schedule_timeout(timeout); in schedule_timeout_interruptible()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dshutdown.c16 int timeout = 10; in machine_halt() local
25 while ( (num_online_cpus() > 1) && (timeout-- > 0) ) in machine_halt()
38 int timeout = 10; in machine_restart() local
51 while ( (num_online_cpus() > 1) && (timeout-- > 0) ) in machine_restart()
A Dtime.c201 int reprogram_timer(s_time_t timeout) in reprogram_timer() argument
205 if ( timeout == 0 ) in reprogram_timer()
211 deadline = ns_to_ticks(timeout) + boot_count; in reprogram_timer()
/xen-4.10.0-shim-comet/tools/hotplug/NetBSD/rc.d/
A Dxendomains89 timeout=$((60 + numdomains * 5))
99 while [ $timeout -gt 0 ]; do
102 timeout=$((timeout - 10))
A Dxencommons.in38 local timeout=30
53 while [ $time -lt $timeout ] && ! `${bindir}/xenstore-read -s / >/dev/null 2>&1` ; do
/xen-4.10.0-shim-comet/tools/hotplug/Linux/
A Dlaunch-xenstore.in29 local timeout=30
31 while [ $time -lt $timeout ] && ! test_xenstore ; do
39 if ! [ $time -lt $timeout ] ; then
A Dvif-openvswitch82 do_or_die ovs-vsctl --timeout=30 \
96 do_without_error ovs-vsctl --timeout=30 \
/xen-4.10.0-shim-comet/xen/include/public/
A Dsched.h144 uint64_t timeout; member
158 uint32_t timeout; /* timeout */ member
/xen-4.10.0-shim-comet/xen/arch/arm/platforms/
A Dbrcm.c126 unsigned int timeout; in brcm_cpu_power_on() local
149 timeout = 10; in brcm_cpu_power_on()
154 if ( timeout-- == 0 ) in brcm_cpu_power_on()
163 if ( timeout == 0 ) in brcm_cpu_power_on()
A Dexynos5.c167 unsigned int timeout; in exynos5_cpu_power_up() local
172 timeout = 10; in exynos5_cpu_power_up()
179 if ( --timeout == 0 ) in exynos5_cpu_power_up()
183 if ( timeout == 0 ) in exynos5_cpu_power_up()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dsmpboot.c393 int maxlvt, timeout, i; in wakeup_secondary_cpu() local
412 timeout = 0; in wakeup_secondary_cpu()
417 } while ( send_status && (timeout++ < 1000) ); in wakeup_secondary_cpu()
426 timeout = 0; in wakeup_secondary_cpu()
431 } while ( send_status && (timeout++ < 1000) ); in wakeup_secondary_cpu()
469 timeout = 0; in wakeup_secondary_cpu()
474 } while ( send_status && (timeout++ < 1000) ); in wakeup_secondary_cpu()
511 int timeout, boot_error = 0, rc = 0; in do_boot_cpu() local
551 for ( timeout = 0; timeout < 50000; timeout++ ) in do_boot_cpu()
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/
A Dselect.ml39 let poll_select in_fds out_fds exc_fds timeout =
56 let n = select_on_poll a (int_of_float (timeout *. 1000.)) in
76 let select in_fds out_fds exc_fds timeout =
77 (!select_fun) in_fds out_fds exc_fds timeout
/xen-4.10.0-shim-comet/tools/hotplug/FreeBSD/rc.d/
A Dxencommons.in40 local timeout=30
55 while [ $time -lt $timeout ] && ! `${bindir}/xenstore-read -s / >/dev/null 2>&1` ; do
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_misc.c834 uint32_t timeout) in _xc_livepatch_action() argument
859 sysctl.u.livepatch.u.action.timeout = timeout; in _xc_livepatch_action()
871 int xc_livepatch_apply(xc_interface *xch, char *name, uint32_t timeout) in xc_livepatch_apply() argument
873 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_APPLY, timeout); in xc_livepatch_apply()
876 int xc_livepatch_revert(xc_interface *xch, char *name, uint32_t timeout) in xc_livepatch_revert() argument
878 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_REVERT, timeout); in xc_livepatch_revert()
881 int xc_livepatch_unload(xc_interface *xch, char *name, uint32_t timeout) in xc_livepatch_unload() argument
883 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_UNLOAD, timeout); in xc_livepatch_unload()
886 int xc_livepatch_replace(xc_interface *xch, char *name, uint32_t timeout) in xc_livepatch_replace() argument
888 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_REPLACE, timeout); in xc_livepatch_replace()
/xen-4.10.0-shim-comet/xen/drivers/acpi/apei/
A Derst.c190 u64 timeout = FIRMWARE_TIMEOUT; in erst_exec_stall_while_true() local
201 if (erst_timedout(&timeout, stall_time)) in erst_exec_stall_while_true()
456 u64 timeout = FIRMWARE_TIMEOUT; in __erst_write_to_storage() local
478 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_write_to_storage()
497 u64 timeout = FIRMWARE_TIMEOUT; in __erst_read_from_storage() local
523 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_read_from_storage()
540 u64 timeout = FIRMWARE_TIMEOUT; in __erst_clear_from_storage() local
562 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_clear_from_storage()
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_qmp.c66 time_t timeout; member
350 qmp->timeout = 5; in qmp_init_handler()
358 int timeout) in qmp_open() argument
399 } while ((++i / 5 <= timeout) && (usleep(200 * 1000) <= 0)); in qmp_open()
433 struct timeval timeout = { in qmp_next() local
434 .tv_sec = qmp->timeout, in qmp_next()
441 ret = select(qmp->qmp_fd + 1, &rfds, NULL, NULL, &timeout); in qmp_next()
755 NULL, qmp->timeout); in libxl__qmp_query_serial()
762 NULL, qmp->timeout); in qmp_query_vnc()
884 NULL, NULL, qmp->timeout); in libxl__qmp_pci_add()
[all …]
/xen-4.10.0-shim-comet/tools/pygrub/src/
A Dpygrub252 self.screen.timeout(1000)
493 timeout = int(self.cf.timeout)
498 self.run_main(timeout)
499 timeout = -1
503 def run_main(self, timeout = -1): argument
528 while (timeout == -1 or mytime < int(timeout)):
530 if timeout != -1 and mytime != -1:
532 %(int(timeout) - mytime))
543 if mytime >= int(timeout):
549 self.screen.timeout(-1)
/xen-4.10.0-shim-comet/xen/common/
A Dlivepatch.c89 uint32_t timeout; /* Timeout to do the operation. */ member
1213 static int schedule_work(struct payload *data, uint32_t cmd, uint32_t timeout) in schedule_work() argument
1230 livepatch_work.timeout = timeout ?: MILLISECS(30); in schedule_work()
1233 data->name, livepatch_work.timeout); in schedule_work()
1255 static int livepatch_spin(atomic_t *counter, s_time_t timeout, in livepatch_spin() argument
1260 while ( atomic_read(counter) != cpus && NOW() < timeout ) in livepatch_spin()
1291 s_time_t timeout; in check_for_livepatch_work() local
1344 timeout = livepatch_work.timeout + NOW(); in check_for_livepatch_work()
1513 rc = schedule_work(data, action->cmd, action->timeout); in livepatch_action()
1538 rc = schedule_work(data, action->cmd, action->timeout); in livepatch_action()
[all …]
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_migrate.c94 struct timeval now, waituntil, timeout; in migration_child_report() local
126 timersub(&waituntil, &now, &timeout); in migration_child_report()
134 sr = select(recv_fd+1, &readfds,0,&exceptfds, &timeout); in migration_child_report()
136 if (timercmp(&timeout, &pollinterval, >)) in migration_child_report()
137 timeout = pollinterval; in migration_child_report()
138 sr = select(0,0,0,0, &timeout); in migration_child_report()
/xen-4.10.0-shim-comet/tools/ocaml/libs/xs/
A Dxs.ml80 than wait for the whole timeout period *)
83 let read_watchevent_timeout xsh timeout callback =
85 let end_time = start_time +. timeout in
87 let left = ref timeout in
104 then false (* timeout, either a max_blocking_time or global *)

Completed in 41 milliseconds

1234