Home
last modified time | relevance | path

Searched refs:msecs (Results 1 – 25 of 43) sorted by relevance

12

/linux-2.6.39/arch/powerpc/kernel/
Dcrash.c120 unsigned int msecs; in crash_kexec_prepare_cpus() local
134 msecs = 10000; in crash_kexec_prepare_cpus()
135 while ((cpus_weight(cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
169 unsigned int msecs; in crash_kexec_wait_realmode() local
172 msecs = 10000; in crash_kexec_wait_realmode()
173 for (i=0; i < NR_CPUS && msecs > 0; i++) { in crash_kexec_wait_realmode()
185 msecs--; in crash_kexec_wait_realmode()
201 int msecs = 5; in crash_kexec_secondary() local
206 if (--msecs < 0) { in crash_kexec_secondary()
/linux-2.6.39/arch/arm/kernel/
Dmachine_kexec.c59 unsigned long msecs; in machine_crash_shutdown() local
65 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in machine_crash_shutdown()
66 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in machine_crash_shutdown()
68 msecs--; in machine_crash_shutdown()
/linux-2.6.39/drivers/staging/rts_pstor/
Drtsx.h82 #define wait_timeout_x(task_state, msecs) \ argument
85 schedule_timeout((msecs) * HZ / 1000); \
87 #define wait_timeout(msecs) wait_timeout_x(TASK_INTERRUPTIBLE, (msecs)) argument
/linux-2.6.39/drivers/ide/
Dide-park.c94 unsigned int msecs; in ide_park_show() local
103 msecs = jiffies_to_msecs(drive->sleep - now); in ide_park_show()
105 msecs = 0; in ide_park_show()
108 return snprintf(buf, 20, "%u\n", msecs); in ide_park_show()
/linux-2.6.39/include/linux/
Ddelay.h46 void msleep(unsigned int msecs);
47 unsigned long msleep_interruptible(unsigned int msecs);
Dgameport.h218 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) in gameport_set_poll_interval() argument
220 gameport->poll_interval = msecs; in gameport_set_poll_interval()
/linux-2.6.39/arch/x86/kernel/
Dreboot.c733 unsigned long msecs; in nmi_shootdown_cpus() local
752 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in nmi_shootdown_cpus()
753 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in nmi_shootdown_cpus()
755 msecs--; in nmi_shootdown_cpus()
/linux-2.6.39/Documentation/timers/
Dtimers-howto.txt27 mdelay(unsgined long msecs)
49 msleep(unsigned long msecs)
50 msleep_interruptible(unsigned long msecs)
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-rx.c453 struct iwl_rx_packet *pkt, unsigned int msecs) in iwl_good_plcp_health() argument
489 if ((delta * 100 / msecs) > threshold) { in iwl_good_plcp_health()
492 threshold, delta, msecs); in iwl_good_plcp_health()
503 unsigned int msecs; in iwl_recover_from_statistics() local
510 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwl_recover_from_statistics()
517 if (msecs < 99) in iwl_recover_from_statistics()
526 if (mod_params->plcp_check && !iwl_good_plcp_health(priv, pkt, msecs)) in iwl_recover_from_statistics()
/linux-2.6.39/kernel/
Dpanic.c246 static void spin_msec(int msecs) in spin_msec() argument
250 for (i = 0; i < msecs; i++) { in spin_msec()
Dtimer.c1748 void msleep(unsigned int msecs) in msleep() argument
1750 unsigned long timeout = msecs_to_jiffies(msecs) + 1; in msleep()
1762 unsigned long msleep_interruptible(unsigned int msecs) in msleep_interruptible() argument
1764 unsigned long timeout = msecs_to_jiffies(msecs) + 1; in msleep_interruptible()
/linux-2.6.39/Documentation/
Dhwspinlock.txt62 msecs). If the hwspinlock is already taken, the function will busy loop
69 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
74 msecs). If the hwspinlock is already taken, the function will busy loop
80 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
86 msecs). If the hwspinlock is already taken, the function will busy loop
93 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
Drobust-futexes.txt150 - with FUTEX_WAIT set [contended mutex]: 130 msecs
151 - without FUTEX_WAIT set [uncontended mutex]: 30 msecs
155 msecs - clearly slower, due to the 1 million FUTEX_WAKE syscalls
/linux-2.6.39/drivers/usb/storage/
Drealtek_cr.c122 #define wait_timeout_x(task_state, msecs) \ argument
125 schedule_timeout((msecs) * HZ / 1000); \
128 #define wait_timeout(msecs) \ argument
129 wait_timeout_x(TASK_INTERRUPTIBLE, (msecs))
/linux-2.6.39/drivers/staging/line6/
Ddriver.h223 extern void line6_start_timer(struct timer_list *timer, unsigned int msecs,
/linux-2.6.39/drivers/staging/ath6kl/os/linux/include/
Dosapi_linux.h127 #define A_MDELAY(msecs) mdelay(msecs) argument
/linux-2.6.39/mm/
Dhuge_memory.c338 unsigned long msecs; in scan_sleep_millisecs_store() local
341 err = strict_strtoul(buf, 10, &msecs); in scan_sleep_millisecs_store()
342 if (err || msecs > UINT_MAX) in scan_sleep_millisecs_store()
345 khugepaged_scan_sleep_millisecs = msecs; in scan_sleep_millisecs_store()
365 unsigned long msecs; in alloc_sleep_millisecs_store() local
368 err = strict_strtoul(buf, 10, &msecs); in alloc_sleep_millisecs_store()
369 if (err || msecs > UINT_MAX) in alloc_sleep_millisecs_store()
372 khugepaged_alloc_sleep_millisecs = msecs; in alloc_sleep_millisecs_store()
Dksm.c1832 unsigned long msecs; in sleep_millisecs_store() local
1835 err = strict_strtoul(buf, 10, &msecs); in sleep_millisecs_store()
1836 if (err || msecs > UINT_MAX) in sleep_millisecs_store()
1839 ksm_thread_sleep_millisecs = msecs; in sleep_millisecs_store()
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_init.c840 u64 msecs, emsecs; in qib_verify_pioperf() local
864 msecs = 1 + jiffies_to_msecs(jiffies); in qib_verify_pioperf()
867 if (jiffies_to_msecs(jiffies) >= msecs) in qib_verify_pioperf()
885 msecs = jiffies_to_msecs(jiffies); in qib_verify_pioperf()
888 emsecs = jiffies_to_msecs(jiffies) - msecs; in qib_verify_pioperf()
Dqib_driver.c165 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate() argument
180 msecs_to_jiffies(msecs)); in qib_wait_linkstate()
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_driver.c317 u64 msecs, emsecs; in ipath_verify_pioperf() local
341 msecs = 1 + jiffies_to_msecs(jiffies); in ipath_verify_pioperf()
344 if (jiffies_to_msecs(jiffies) >= msecs) in ipath_verify_pioperf()
366 msecs = jiffies_to_msecs(jiffies); in ipath_verify_pioperf()
369 emsecs = jiffies_to_msecs(jiffies) - msecs; in ipath_verify_pioperf()
858 int ipath_wait_linkstate(struct ipath_devdata *dd, u32 state, int msecs) in ipath_wait_linkstate() argument
863 msecs_to_jiffies(msecs)); in ipath_wait_linkstate()
874 msecs); in ipath_wait_linkstate()
/linux-2.6.39/include/net/
Dnetlink.h986 u64 msecs = nla_get_u64(nla); in nla_get_msecs() local
988 return msecs_to_jiffies((unsigned long) msecs); in nla_get_msecs()
/linux-2.6.39/tools/perf/
Dbuiltin-stat.c389 double msecs = avg / 1e6; in nsec_printout() local
398 fprintf(stderr, fmt, cpustr, msecs, csv_sep, event_name(evsel)); in nsec_printout()
/linux-2.6.39/drivers/usb/musb/
Dtusb6010.c508 #define OTG_TIMER_MS(msecs) ((msecs) \ argument
509 ? (TUSB_DEV_OTG_TIMER_VAL((DEVCLOCK/1000)*(msecs)) \
/linux-2.6.39/tools/perf/Documentation/
Dperf-stat.txt113 Wall-clock time elapsed: 719.554352 msecs

12