/xen/xen/arch/arm/ |
A D | shutdown.c | 16 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 D | time.c | 202 int reprogram_timer(s_time_t timeout) in reprogram_timer() argument 206 if ( timeout == 0 ) in reprogram_timer() 212 deadline = ns_to_ticks(timeout) + boot_count; in reprogram_timer()
|
/xen/xen/include/asm-arm/arm64/ |
A D | cmpxchg.h | 70 bool timeout, \ 91 } while (!timeout || ((--max_try) > 0)); \ 105 bool timeout, unsigned int max_try) in __int_cmpxchg() argument 109 return __cmpxchg_case_1(ptr, old, new, timeout, max_try); in __int_cmpxchg() 111 return __cmpxchg_case_2(ptr, old, new, timeout, max_try); in __int_cmpxchg() 113 return __cmpxchg_case_4(ptr, old, new, timeout, max_try); in __int_cmpxchg() 115 return __cmpxchg_case_8(ptr, old, new, timeout, max_try); in __int_cmpxchg()
|
/xen/xen/include/asm-arm/arm32/ |
A D | cmpxchg.h | 61 bool timeout, \ 79 } while (!timeout || ((--max_try) > 0)); \ 92 bool timeout, unsigned int max_try) in __int_cmpxchg() argument 98 return __cmpxchg_case_1(ptr, old, new, timeout, max_try); in __int_cmpxchg() 100 return __cmpxchg_case_2(ptr, old, new, timeout, max_try); in __int_cmpxchg() 102 return __cmpxchg_case_4(ptr, old, new, timeout, max_try); in __int_cmpxchg()
|
/xen/xen/arch/arm/arm64/lib/ |
A D | bitops.c | 32 static always_inline bool int_##name(int nr, volatile void *p, bool timeout,\ 50 } while ( !timeout || ((--max_try) > 0) ); \ 68 bool timeout, unsigned int max_try) \ 88 } while ( !timeout || ((--max_try) > 0) ); \ 122 bool timeout, unsigned int max_try) in bitop() 137 } while ( !timeout || ((--max_try) > 0) ); in bitop()
|
/xen/xen/arch/arm/arm32/lib/ |
A D | bitops.c | 33 static always_inline bool int_##name(int nr, volatile void *p, bool timeout,\ 54 } while ( !timeout || ((--max_try) > 0) ); \ 72 bool timeout, unsigned int max_try) \ 96 } while ( !timeout || ((--max_try) > 0) ); \ 130 bool timeout, unsigned int max_try) in bitop() 147 } while ( !timeout || ((--max_try) > 0) ); in bitop()
|
/xen/tools/hotplug/NetBSD/rc.d/ |
A D | xendomains | 89 timeout=$((60 + numdomains * 5)) 99 while [ $timeout -gt 0 ]; do 102 timeout=$((timeout - 10))
|
A D | xencommons.in | 38 local timeout=30 53 while [ $time -lt $timeout ] && ! `${bindir}/xenstore-read -s / >/dev/null 2>&1` ; do
|
/xen/tools/hotplug/Linux/ |
A D | launch-xenstore.in | 29 local timeout=30 31 while [ $time -lt $timeout ] && ! test_xenstore ; do 39 if ! [ $time -lt $timeout ] ; then
|
A D | vif-openvswitch | 82 do_or_die ovs-vsctl --timeout=30 \ 96 do_without_error ovs-vsctl --timeout=30 \
|
/xen/xen/arch/arm/platforms/ |
A D | brcm.c | 126 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 D | exynos5.c | 167 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/xen/include/public/ |
A D | sched.h | 144 uint64_t timeout; member 158 uint32_t timeout; /* timeout */ member
|
/xen/tools/ocaml/xenstored/ |
A D | select.ml | 39 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/tools/hotplug/FreeBSD/rc.d/ |
A D | xencommons.in | 40 local timeout=30 55 while [ $time -lt $timeout ] && ! `${bindir}/xenstore-read -s / >/dev/null 2>&1` ; do
|
/xen/xen/drivers/acpi/apei/ |
A D | erst.c | 191 u64 timeout = FIRMWARE_TIMEOUT; in erst_exec_stall_while_true() local 202 if (erst_timedout(&timeout, stall_time)) in erst_exec_stall_while_true() 457 u64 timeout = FIRMWARE_TIMEOUT; in __erst_write_to_storage() local 479 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_write_to_storage() 498 u64 timeout = FIRMWARE_TIMEOUT; in __erst_read_from_storage() local 524 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_read_from_storage() 541 u64 timeout = FIRMWARE_TIMEOUT; in __erst_clear_from_storage() local 563 if (erst_timedout(&timeout, SPIN_UNIT)) in __erst_clear_from_storage()
|
/xen/tools/libxc/ |
A D | xc_misc.c | 931 uint32_t timeout, in _xc_livepatch_action() argument 957 sysctl.u.livepatch.u.action.timeout = timeout; in _xc_livepatch_action() 971 int xc_livepatch_apply(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags) in xc_livepatch_apply() argument 973 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_APPLY, timeout, flags); in xc_livepatch_apply() 976 int xc_livepatch_revert(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags) in xc_livepatch_revert() argument 978 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_REVERT, timeout, flags); in xc_livepatch_revert() 981 int xc_livepatch_unload(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags) in xc_livepatch_unload() argument 983 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_UNLOAD, timeout, flags); in xc_livepatch_unload() 986 int xc_livepatch_replace(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags) in xc_livepatch_replace() argument 988 return _xc_livepatch_action(xch, name, LIVEPATCH_ACTION_REPLACE, timeout, flags); in xc_livepatch_replace()
|
/xen/tools/pygrub/src/ |
A D | pygrub | 254 self.screen.timeout(1000) 495 timeout = int(self.cf.timeout) 500 self.run_main(timeout) 501 timeout = -1 505 def run_main(self, timeout = -1): argument 530 while (timeout == -1 or mytime < int(timeout)): 532 if timeout != -1 and mytime != -1: 534 %(int(timeout) - mytime)) 545 if mytime >= int(timeout): 551 self.screen.timeout(-1)
|
/xen/xen/arch/x86/ |
A D | smpboot.c | 426 int maxlvt, timeout, i; in wakeup_secondary_cpu() local 445 timeout = 0; in wakeup_secondary_cpu() 450 } while ( send_status && (timeout++ < 1000) ); in wakeup_secondary_cpu() 459 timeout = 0; in wakeup_secondary_cpu() 464 } while ( send_status && (timeout++ < 1000) ); in wakeup_secondary_cpu() 502 timeout = 0; in wakeup_secondary_cpu() 507 } while ( send_status && (timeout++ < 1000) ); in wakeup_secondary_cpu() 544 int timeout, boot_error = 0, rc = 0; in do_boot_cpu() local 583 for ( timeout = 0; timeout < 50000; timeout++ ) in do_boot_cpu()
|
/xen/tools/xl/ |
A D | xl_migrate.c | 94 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/tools/ocaml/libs/xs/ |
A D | xs.ml | 80 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 *)
|
/xen/tools/firmware/rombios/32bit/tcgbios/ |
A D | tpm_drivers.c | 159 static uint32_t tis_waitrespready(uint32_t baseaddr, uint32_t timeout) in tis_waitrespready() argument 164 if (tis_wait_sts(tis_addr, timeout, in tis_waitrespready()
|
A D | tpm_drivers.h | 10 uint32_t (*waitrespready)(uint32_t baseaddr, uint32_t timeout);
|
/xen/xen/drivers/char/ |
A D | ehci-dbgp.c | 332 unsigned long timeout; member 443 dbgp->timeout = DBGP_TIMEOUT; in dbgp_issue_command() 460 if ( dbgp->timeout > interval ) in dbgp_check_for_completion() 461 dbgp->timeout -= interval; in dbgp_check_for_completion() 466 dbgp->timeout = 0; in dbgp_check_for_completion() 474 if ( ret == -DBGP_ERR_BAD && dbgp->timeout > interval ) in dbgp_check_for_completion() 496 dbgp->timeout -= interval; in dbgp_check_for_completion() 553 dbgp->timeout = 0; in dbgp_wait_until_done() 1253 unsigned int timeout = MICROSECS(DBGP_CHECK_INTERVAL); in _ehci_dbgp_poll() local 1284 timeout = MILLISECS(DBGP_IDLE_INTERVAL); in _ehci_dbgp_poll() [all …]
|
/xen/xen/common/ |
A D | livepatch.c | 56 uint32_t timeout; /* Timeout to do the operation. */ member 1558 static int schedule_work(struct payload *data, uint32_t cmd, uint32_t timeout) in schedule_work() argument 1575 livepatch_work.timeout = timeout ?: MILLISECS(30); in schedule_work() 1578 data->name, livepatch_work.timeout); in schedule_work() 1599 static int livepatch_spin(atomic_t *counter, s_time_t timeout, in livepatch_spin() argument 1604 while ( atomic_read(counter) != cpus && NOW() < timeout ) in livepatch_spin() 1635 s_time_t timeout; in check_for_livepatch_work() local 1696 timeout = livepatch_work.timeout + NOW(); in check_for_livepatch_work() 1921 rc = schedule_work(data, action->cmd, action->timeout); in livepatch_action() 1973 rc = schedule_work(data, action->cmd, action->timeout); in livepatch_action() [all …]
|