/linux-4.4.14/arch/powerpc/kernel/ |
D | crash.c | 107 unsigned int msecs; in crash_kexec_prepare_cpus() local 123 msecs = IPI_TIMEOUT; in crash_kexec_prepare_cpus() 124 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus() 183 int msecs = SECONDARY_TIMEOUT; in crash_kexec_secondary() local 189 if (--msecs < 0) { in crash_kexec_secondary() 227 unsigned int msecs; in crash_kexec_wait_realmode() local 230 msecs = REAL_MODE_TIMEOUT; in crash_kexec_wait_realmode() 231 for (i=0; i < nr_cpu_ids && msecs > 0; i++) { in crash_kexec_wait_realmode() 237 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0)) in crash_kexec_wait_realmode() 239 msecs--; in crash_kexec_wait_realmode()
|
/linux-4.4.14/arch/mips/kernel/ |
D | crash.c | 40 unsigned int msecs; in crash_kexec_prepare_cpus() local 52 msecs = 10000; in crash_kexec_prepare_cpus() 53 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
|
/linux-4.4.14/arch/arm/kernel/ |
D | machine_kexec.c | 119 unsigned long msecs; in machine_crash_shutdown() local 125 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in machine_crash_shutdown() 126 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in machine_crash_shutdown() 128 msecs--; in machine_crash_shutdown()
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx.h | 73 #define wait_timeout_x(task_state, msecs) \ argument 76 schedule_timeout((msecs) * HZ / 1000); \ 78 #define wait_timeout(msecs) wait_timeout_x(TASK_INTERRUPTIBLE, (msecs)) argument
|
/linux-4.4.14/drivers/ide/ |
D | ide-park.c | 94 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-4.4.14/include/linux/ |
D | delay.h | 46 void msleep(unsigned int msecs); 47 unsigned long msleep_interruptible(unsigned int msecs);
|
D | gameport.h | 211 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) in gameport_set_poll_interval() argument 213 gameport->poll_interval = msecs; in gameport_set_poll_interval()
|
D | blk-mq.h | 234 void blk_mq_delay_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs);
|
D | libata.h | 1171 extern void ata_msleep(struct ata_port *ap, unsigned int msecs);
|
/linux-4.4.14/Documentation/devicetree/bindings/ |
D | btmrvl.txt | 13 - btmrvl,gpio-gap : gpio and gap (in msecs) combination to be 18 GPIO pin 13 is configured as a wakeup source and GAP is set to 100 msecs
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-stat.txt | 137 -I msecs:: 138 --interval-print msecs:: 160 -D msecs:: 161 --delay msecs:: 162 After starting the program, wait msecs before measuring. This is useful to 186 Wall-clock time elapsed: 719.554352 msecs
|
D | perf-record.txt | 278 After starting the program, wait msecs before measuring. This is useful to
|
/linux-4.4.14/arch/x86/kernel/ |
D | reboot.c | 770 unsigned long msecs; in nmi_shootdown_cpus() local 791 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in nmi_shootdown_cpus() 792 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in nmi_shootdown_cpus() 794 msecs--; in nmi_shootdown_cpus()
|
/linux-4.4.14/drivers/staging/vt6656/ |
D | wcmd.c | 44 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait() argument 46 schedule_delayed_work(&priv->run_command_work, msecs_to_jiffies(msecs)); in vnt_cmd_timer_wait()
|
/linux-4.4.14/Documentation/timers/ |
D | timers-howto.txt | 27 mdelay(unsigned long msecs) 49 msleep(unsigned long msecs) 50 msleep_interruptible(unsigned long msecs)
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | rx.c | 235 unsigned int msecs) in iwlagn_good_plcp_health() argument 254 if ((delta * 100 / msecs) > threshold) { in iwlagn_good_plcp_health() 257 threshold, delta, msecs); in iwlagn_good_plcp_health() 309 unsigned int msecs; in iwlagn_recover_from_statistics() local 314 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics() 321 if (msecs < 99) in iwlagn_recover_from_statistics() 324 if (!iwlagn_good_plcp_health(priv, cur_ofdm, cur_ofdm_ht, msecs)) in iwlagn_recover_from_statistics()
|
/linux-4.4.14/kernel/ |
D | panic.c | 316 static void spin_msec(int msecs) in spin_msec() argument 320 for (i = 0; i < msecs; i++) { in spin_msec()
|
/linux-4.4.14/sound/usb/line6/ |
D | driver.h | 160 extern void line6_start_timer(struct timer_list *timer, unsigned long msecs,
|
D | driver.c | 165 void line6_start_timer(struct timer_list *timer, unsigned long msecs, in line6_start_timer() argument 169 mod_timer(timer, jiffies + msecs_to_jiffies(msecs)); in line6_start_timer()
|
/linux-4.4.14/Documentation/ |
D | hwspinlock.txt | 69 msecs). If the hwspinlock is already taken, the function will busy loop 76 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs). 81 msecs). If the hwspinlock is already taken, the function will busy loop 87 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs). 93 msecs). If the hwspinlock is already taken, the function will busy loop 100 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs).
|
D | robust-futexes.txt | 150 - 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
|
D | kernel-parameters.txt | 2165 Format: <msecs>
|
/linux-4.4.14/net/batman-adv/ |
D | bridge_loop_avoidance.c | 1690 int secs, msecs; in batadv_bla_backbone_table_seq_print_text() local 1711 msecs = jiffies_to_msecs(jiffies - in batadv_bla_backbone_table_seq_print_text() 1713 secs = msecs / 1000; in batadv_bla_backbone_table_seq_print_text() 1714 msecs = msecs % 1000; in batadv_bla_backbone_table_seq_print_text() 1724 msecs, backbone_gw->crc); in batadv_bla_backbone_table_seq_print_text()
|
D | bat_iv_ogm.c | 372 unsigned int msecs; in batadv_iv_ogm_emit_send_time() local 374 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_iv_ogm_emit_send_time() 375 msecs += prandom_u32() % (2 * BATADV_JITTER); in batadv_iv_ogm_emit_send_time() 377 return jiffies + msecs_to_jiffies(msecs); in batadv_iv_ogm_emit_send_time()
|
/linux-4.4.14/Documentation/trace/ |
D | events-nmi.txt | 15 INFO: NMI handler took too long to run: 9.207 msecs
|
D | ftrace.txt | 1996 * means that the function exceeded 10 msecs. 1997 @ means that the function exceeded 100 msecs.
|
/linux-4.4.14/drivers/staging/dgnc/ |
D | dgnc_cls.c | 49 static void cls_send_break(struct channel_t *ch, int msecs); 1224 static void cls_send_break(struct channel_t *ch, int msecs) in cls_send_break() argument 1232 if (msecs == 0) { in cls_send_break() 1249 ch->ch_stop_sending_break = jiffies + dgnc_jiffies_from_ms(msecs); in cls_send_break()
|
D | dgnc_neo.c | 51 static void neo_send_break(struct channel_t *ch, int msecs); 1677 static void neo_send_break(struct channel_t *ch, int msecs) in neo_send_break() argument 1682 if (msecs == 0) { in neo_send_break() 1699 ch->ch_stop_sending_break = jiffies + dgnc_jiffies_from_ms(msecs); in neo_send_break()
|
/linux-4.4.14/kernel/time/ |
D | timer.c | 1673 void msleep(unsigned int msecs) in msleep() argument 1675 unsigned long timeout = msecs_to_jiffies(msecs) + 1; in msleep() 1687 unsigned long msleep_interruptible(unsigned int msecs) in msleep_interruptible() argument 1689 unsigned long timeout = msecs_to_jiffies(msecs) + 1; in msleep_interruptible()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_driver.c | 318 u64 msecs, emsecs; in ipath_verify_pioperf() local 342 msecs = 1 + jiffies_to_msecs(jiffies); in ipath_verify_pioperf() 345 if (jiffies_to_msecs(jiffies) >= msecs) in ipath_verify_pioperf() 367 msecs = jiffies_to_msecs(jiffies); in ipath_verify_pioperf() 370 emsecs = jiffies_to_msecs(jiffies) - msecs; in ipath_verify_pioperf() 854 int ipath_wait_linkstate(struct ipath_devdata *dd, u32 state, int msecs) in ipath_wait_linkstate() argument 859 msecs_to_jiffies(msecs)); in ipath_wait_linkstate() 870 msecs); in ipath_wait_linkstate()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1004 u64 msecs, emsecs; in qib_verify_pioperf() local 1027 msecs = 1 + jiffies_to_msecs(jiffies); in qib_verify_pioperf() 1030 if (jiffies_to_msecs(jiffies) >= msecs) in qib_verify_pioperf() 1048 msecs = jiffies_to_msecs(jiffies); in qib_verify_pioperf() 1051 emsecs = jiffies_to_msecs(jiffies) - msecs; in qib_verify_pioperf()
|
D | qib_driver.c | 169 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs) in qib_wait_linkstate() argument 184 msecs_to_jiffies(msecs)); in qib_wait_linkstate()
|
/linux-4.4.14/mm/ |
D | huge_memory.c | 420 unsigned long msecs; in scan_sleep_millisecs_store() local 423 err = kstrtoul(buf, 10, &msecs); in scan_sleep_millisecs_store() 424 if (err || msecs > UINT_MAX) in scan_sleep_millisecs_store() 427 khugepaged_scan_sleep_millisecs = msecs; in scan_sleep_millisecs_store() 447 unsigned long msecs; in alloc_sleep_millisecs_store() local 450 err = kstrtoul(buf, 10, &msecs); in alloc_sleep_millisecs_store() 451 if (err || msecs > UINT_MAX) in alloc_sleep_millisecs_store() 454 khugepaged_alloc_sleep_millisecs = msecs; in alloc_sleep_millisecs_store()
|
D | ksm.c | 2115 unsigned long msecs; in sleep_millisecs_store() local 2118 err = kstrtoul(buf, 10, &msecs); in sleep_millisecs_store() 2119 if (err || msecs > UINT_MAX) in sleep_millisecs_store() 2122 ksm_thread_sleep_millisecs = msecs; in sleep_millisecs_store()
|
/linux-4.4.14/drivers/staging/iio/adc/ |
D | ad7280a.c | 434 unsigned msecs; in ad7280_show_balance_timer() local 444 msecs = (ret >> 3) * 71500; in ad7280_show_balance_timer() 446 return sprintf(buf, "%u\n", msecs); in ad7280_show_balance_timer()
|
/linux-4.4.14/include/net/ |
D | netlink.h | 1143 u64 msecs = nla_get_u64(nla); in nla_get_msecs() local 1145 return msecs_to_jiffies((unsigned long) msecs); in nla_get_msecs()
|
/linux-4.4.14/drivers/usb/musb/ |
D | tusb6010.c | 549 #define OTG_TIMER_MS(msecs) ((msecs) \ argument 550 ? (TUSB_DEV_OTG_TIMER_VAL((DEVCLOCK/1000)*(msecs)) \
|
/linux-4.4.14/drivers/media/usb/airspy/ |
D | airspy.c | 258 unsigned int msecs = jiffies_to_msecs(jiffies - in airspy_convert_stream() local 265 src_len, samples, msecs, in airspy_convert_stream() 266 samples * 1000UL / msecs); in airspy_convert_stream()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 135 unsigned int msecs = pciehp_poll_mode ? 2500 : 1000; in pcie_wait_cmd() local 136 unsigned long duration = msecs_to_jiffies(msecs); in pcie_wait_cmd()
|
/linux-4.4.14/drivers/media/usb/msi2500/ |
D | msi2500.c | 361 unsigned int msecs = jiffies_to_msecs(jiffies - in msi2500_convert_stream() local 368 src_len, samples, msecs, in msi2500_convert_stream() 369 samples * 1000UL / msecs); in msi2500_convert_stream()
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | tcp.c | 1541 unsigned long msecs = ktime_to_ms(ktime_get()) - in o2net_idle_timer() local 1544 unsigned long msecs = o2net_idle_timeout(); in o2net_idle_timer() local 1549 SC_NODEF_ARGS(sc), msecs / 1000, msecs % 1000); in o2net_idle_timer()
|
/linux-4.4.14/drivers/atm/ |
D | fore200e.c | 216 fore200e_spin(int msecs) in fore200e_spin() argument 218 unsigned long timeout = jiffies + msecs_to_jiffies(msecs); in fore200e_spin() 224 fore200e_poll(struct fore200e* fore200e, volatile u32* addr, u32 val, int msecs) in fore200e_poll() argument 226 unsigned long timeout = jiffies + msecs_to_jiffies(msecs); in fore200e_poll() 248 fore200e_io_poll(struct fore200e* fore200e, volatile u32 __iomem *addr, u32 val, int msecs) in fore200e_io_poll() argument 250 unsigned long timeout = jiffies + msecs_to_jiffies(msecs); in fore200e_io_poll()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | cx24120.c | 617 int ret, cnr, msecs; in cx24120_get_stats() local 677 msecs = (state->berw_usecs + 500) / 1000; in cx24120_get_stats() 678 state->ber_jiffies_stats = jiffies + msecs_to_jiffies(msecs); in cx24120_get_stats()
|
D | rtl2832_sdr.c | 251 unsigned int msecs = jiffies_to_msecs(jiffies - in rtl2832_sdr_convert_stream() local 259 src_len, samples, msecs, samples * 1000UL / msecs); in rtl2832_sdr_convert_stream()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | control.c | 1282 int i2400m_set_idle_timeout(struct i2400m *i2400m, unsigned msecs) in i2400m_set_idle_timeout() argument 1309 cmd->cit.timeout = cpu_to_le32(msecs); in i2400m_set_idle_timeout()
|
/linux-4.4.14/Documentation/scheduler/ |
D | sched-nice-design.txt | 47 So for HZ=1000 we changed nice +19 to 5msecs, because that felt like the
|
/linux-4.4.14/tools/perf/ |
D | builtin-stat.c | 496 double msecs = avg / 1e6; in nsec_printout() local 508 fprintf(output, fmt_v, msecs, csv_sep); in nsec_printout()
|
/linux-4.4.14/drivers/media/usb/hackrf/ |
D | hackrf.c | 471 unsigned int msecs = jiffies_to_msecs(jiffies - in hackrf_copy_stream() local 478 src_len, samples, msecs, in hackrf_copy_stream() 479 samples * 1000UL / msecs); in hackrf_copy_stream()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-driver.h | 692 int cx18_msleep_timeout(unsigned int msecs, int intr);
|
D | cx18-driver.c | 283 int cx18_msleep_timeout(unsigned int msecs, int intr) in cx18_msleep_timeout() argument 285 long int timeout = msecs_to_jiffies(msecs); in cx18_msleep_timeout()
|
/linux-4.4.14/drivers/ata/ |
D | libahci.c | 1309 unsigned long now, msecs; in ahci_do_softreset() local 1334 msecs = 0; in ahci_do_softreset() 1337 msecs = jiffies_to_msecs(deadline - now); in ahci_do_softreset() 1341 AHCI_CMD_RESET | AHCI_CMD_CLR_BUSY, msecs)) { in ahci_do_softreset()
|
D | libata-scsi.c | 178 unsigned int uninitialized_var(msecs); in ata_scsi_park_show() 199 msecs = jiffies_to_msecs(dev->unpark_deadline - now); in ata_scsi_park_show() 201 msecs = 0; in ata_scsi_park_show() 206 return rc ? rc : snprintf(buf, 20, "%u\n", msecs); in ata_scsi_park_show()
|
D | libata-core.c | 6693 void ata_msleep(struct ata_port *ap, unsigned int msecs) in ata_msleep() argument 6700 msleep(msecs); in ata_msleep()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 360 int ivtv_msleep_timeout(unsigned int msecs, int intr) in ivtv_msleep_timeout() argument 362 int timeout = msecs_to_jiffies(msecs); in ivtv_msleep_timeout()
|
D | ivtv-driver.h | 782 int ivtv_msleep_timeout(unsigned int msecs, int intr);
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-class-tpm | 185 were scaled by the driver to be reported in usec from msecs.
|
/linux-4.4.14/Documentation/leds/ |
D | ledtrig-transient.txt | 75 - duration allows setting timer value in msecs. The initial value is 0.
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | orinoco_usb.c | 696 int msecs = DEF_TIMEOUT * (1000 / HZ); in ezusb_req_ctx_wait() local 697 while (!ctx->done.done && msecs--) in ezusb_req_ctx_wait()
|
/linux-4.4.14/block/ |
D | blk-mq.c | 965 void blk_mq_delay_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs) in blk_mq_delay_queue() argument 971 &hctx->delay_work, msecs_to_jiffies(msecs)); in blk_mq_delay_queue()
|
D | blk-core.c | 201 void blk_delay_queue(struct request_queue *q, unsigned long msecs) in blk_delay_queue() argument 205 msecs_to_jiffies(msecs)); in blk_delay_queue()
|
/linux-4.4.14/fs/gfs2/ |
D | rgrp.c | 1915 u64 msecs) in gfs2_rgrp_used_recently() argument 1922 return tdiff > (msecs * 1000 * 1000); in gfs2_rgrp_used_recently()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 568 u32 msecs = seconds * 1000; in wait_and_poll() local 574 for (i = 0; (i < msecs) && (frame_hdr->cmd_status == 0xff); i += 20) { in wait_and_poll()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 569 int msecs = 0; in be_mbox_db_ready_wait() local 584 if (msecs > 4000) { in be_mbox_db_ready_wait() 592 msecs++; in be_mbox_db_ready_wait()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | chip.c | 1024 int msecs); 6229 static int wait_phy_linkstate(struct hfi1_devdata *dd, u32 state, u32 msecs) in wait_phy_linkstate() argument 6234 timeout = jiffies + msecs_to_jiffies(msecs); in wait_phy_linkstate() 8566 int msecs) in wait_logical_linkstate() argument 8570 timeout = jiffies + msecs_to_jiffies(msecs); in wait_logical_linkstate()
|