/linux/include/linux/ |
A D | jiffies.h | 290 extern unsigned int jiffies_to_msecs(const unsigned long j); 321 if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies() 332 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies() 432 return jiffies_to_msecs(max(0L, delta)); in jiffies_delta_to_msecs()
|
/linux/include/trace/events/ |
A D | jbd2.h | 286 jiffies_to_msecs(__entry->wait), 287 jiffies_to_msecs(__entry->request_delay), 288 jiffies_to_msecs(__entry->running), 289 jiffies_to_msecs(__entry->locked), 290 jiffies_to_msecs(__entry->flushing), 291 jiffies_to_msecs(__entry->logging), 323 jiffies_to_msecs(__entry->chp_time),
|
/linux/drivers/scsi/ |
A D | scsi_debugfs.c | 36 int alloc_ms = jiffies_to_msecs(jiffies - cmd->jiffies_at_alloc); in scsi_show_rq() 37 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq()
|
/linux/drivers/scsi/esas2r/ |
A D | esas2r_init.c | 962 starttime = jiffies_to_msecs(jiffies); in esas2r_check_adapter() 972 if ((jiffies_to_msecs(jiffies) - starttime) > 2000) in esas2r_check_adapter() 1015 starttime = jiffies_to_msecs(jiffies); in esas2r_check_adapter() 1027 if ((jiffies_to_msecs(jiffies) - starttime) > 3000) { in esas2r_check_adapter() 1104 starttime = jiffies_to_msecs(jiffies); in esas2r_check_adapter() 1116 if ((jiffies_to_msecs(jiffies) - starttime) > 3000) { in esas2r_check_adapter() 1373 deltatime = jiffies_to_msecs(jiffies) - currtime; in esas2r_init_adapter_hw() 1510 starttime = jiffies_to_msecs(jiffies); in esas2r_power_down_notify_firmware() 1522 if ((jiffies_to_msecs(jiffies) - starttime) > 30000) { in esas2r_power_down_notify_firmware() 1554 starttime = jiffies_to_msecs(jiffies); in esas2r_power_down() [all …]
|
/linux/drivers/block/drbd/ |
A D | drbd_debugfs.c | 28 seq_printf(m, "\t%d", jiffies_to_msecs(dt)); in seq_print_age_or_dash() 108 seq_printf(m, "\t%d", jiffies_to_msecs(now - req->start_jif)); in seq_print_one_request() 145 jiffies_to_msecs(now - tmp.start_jif)); in seq_print_resource_pending_meta_io() 149 seq_printf(m, "%d\t", jiffies_to_msecs(now - tmp.submit_jif)); in seq_print_resource_pending_meta_io() 182 seq_printf(m, "%u\t", jiffies_to_msecs(now - jif)); in seq_print_waiting_for_AL() 211 jiffies_to_msecs(now - start_jif), in seq_print_device_bitmap_io() 262 jiffies_to_msecs(now - peer_req->submit_jif)); in seq_print_peer_request() 283 jiffies_to_msecs(now - device->flush_jif)); in seq_print_device_peer_requests() 412 seq_printf(m, "generated in %d ms\n", jiffies_to_msecs(jif)); in in_flight_summary_show() 513 jiffies_to_msecs(now - td.start_jif), in seq_print_one_timing_detail()
|
/linux/drivers/media/tuners/ |
A D | it913x.c | 91 jiffies_to_msecs(jiffies) - in it913x_init() 92 (jiffies_to_msecs(timeout) - TIMEOUT), utmp); in it913x_init() 118 jiffies_to_msecs(jiffies) - in it913x_init() 119 (jiffies_to_msecs(timeout) - TIMEOUT), utmp); in it913x_init()
|
A D | si2157.c | 55 jiffies_to_msecs(jiffies) - in si2157_cmd_execute() 56 (jiffies_to_msecs(timeout) - TIMEOUT), in si2157_cmd_execute() 350 jiffies_to_msecs(jiffies) - jiffies_to_msecs(start_time), in si2157_tune_wait() 377 jiffies_to_msecs(jiffies) - jiffies_to_msecs(start_time), in si2157_tune_wait()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | sysfs_engines.c | 221 if (duration > jiffies_to_msecs(MAX_SCHEDULE_TIMEOUT)) in timeslice_store() 275 if (duration > jiffies_to_msecs(MAX_SCHEDULE_TIMEOUT)) in stop_store() 325 if (timeout > jiffies_to_msecs(MAX_SCHEDULE_TIMEOUT)) in preempt_timeout_store() 382 if (delay >= jiffies_to_msecs(MAX_SCHEDULE_TIMEOUT)) in heartbeat_store()
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_pwrctrl.c | 205 if (jiffies_to_msecs(jiffies - start_time) > 2000) { /* 2 sec == watch dog timer */ in traffic_check_for_leave_lps() 303 if (jiffies_to_msecs(jiffies - start_time) > LPS_RPWM_WAIT_MS) { in rtw_set_rpwm() 431 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in LPS_RF_ON_check() 594 if (jiffies_to_msecs(jiffies - start_time) > 100) in LPS_Leave_check() 1048 while (pwrpriv->ps_processing && jiffies_to_msecs(jiffies - start) <= 3000) in _rtw_pwr_wakeup() 1052 while (pwrpriv->bInSuspend && jiffies_to_msecs(jiffies - start) <= 3000 in _rtw_pwr_wakeup()
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | debug.c | 296 jiffies_to_msecs(jiffies - arinfo->timeout)); in carl9170_debugfs_format_frame() 390 jiffies_to_msecs(jiffies - ar->ps.last_action)); in carl9170_debugfs_sta_psm_read() 392 jiffies_to_msecs(jiffies - ar->ps.last_slept)); in carl9170_debugfs_sta_psm_read() 406 jiffies_to_msecs(jiffies - ar->queue_stop_timeout[i]) : 0, in carl9170_debugfs_tx_stuck_read() 407 jiffies_to_msecs(ar->max_queue_stop_timeout[i])); in carl9170_debugfs_tx_stuck_read() 796 jiffies_to_msecs(jiffies - ar->tx_janitor_last_run));
|
/linux/drivers/scsi/fnic/ |
A D | fnic_scsi.c | 1011 jiffies_to_msecs(jiffies - start_time)), in fnic_fcpio_icmnd_cmpl_handler() 1032 jiffies_to_msecs(start_time); in fnic_fcpio_icmnd_cmpl_handler() 1198 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1222 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1237 jiffies_to_msecs(jiffies - start_time), in fnic_fcpio_itmf_cmpl_handler() 1350 delta_ms = jiffies_to_msecs(delta_jiffies); in fnic_wq_copy_cmpl_handler() 1427 jiffies_to_msecs(jiffies - start_time), in fnic_cleanup_io_iter() 1495 jiffies_to_msecs(jiffies - start_time), in fnic_wq_copy_cleanup_handler() 1793 abt_issued_time = jiffies_to_msecs(jiffies) - jiffies_to_msecs(io_req->start_time); in fnic_abort_cmd() 1938 jiffies_to_msecs(jiffies - start_time), in fnic_abort_cmd() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | debugfs.c | 359 jiffies_to_msecs(awake_time), in mt7921_pm_stats() 360 jiffies_to_msecs(doze_time)); in mt7921_pm_stats() 382 *val = jiffies_to_msecs(dev->pm.idle_timeout); in mt7921_pm_idle_timeout_get()
|
/linux/drivers/media/pci/cx18/ |
A D | cx18-mailbox.c | 650 jiffies_to_msecs(timeout-ret)); in cx18_api_call() 691 info->name, jiffies_to_msecs(ret)); in cx18_api_call() 695 jiffies_to_msecs(ret), in cx18_api_call() 703 info->name, jiffies_to_msecs(ret)); in cx18_api_call() 706 jiffies_to_msecs(ret), info->name); in cx18_api_call()
|
/linux/drivers/scsi/snic/ |
A D | snic_scsi.c | 649 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler() 675 jiffies_to_msecs(jiffies - start_time), (ulong) fwreq, in snic_icmnd_cmpl_handler() 703 jiffies_to_msecs(jiffies - start_time), in snic_proc_dr_cmpl_locked() 718 jiffies_to_msecs(jiffies - start_time), in snic_proc_dr_cmpl_locked() 858 jiffies_to_msecs(jiffies - start_time), in snic_process_itmf_cmpl() 1656 jiffies_to_msecs(jiffies - start_time), 0, in snic_abort_cmd() 2131 jiffies_to_msecs(jiffies - start_time), (ulong) rqi, in snic_unlink_and_release_req() 2204 jiffies_to_msecs(jiffies - start_time), in snic_device_reset() 2393 jiffies_to_msecs(jiffies - start_time), in snic_host_reset() 2495 jiffies_to_msecs(jiffies - st_time)); in snic_scsi_cleanup() [all …]
|
/linux/drivers/cpufreq/ |
A D | ppc_cbe_cpufreq_pervasive.c | 82 time = jiffies_to_msecs(time); in cbe_cpufreq_set_pmode()
|
A D | ppc_cbe_cpufreq_pmi.c | 53 time = jiffies_to_msecs(time); in cbe_cpufreq_set_pmode_pmi()
|
/linux/arch/arm64/kernel/ |
A D | psci.c | 99 jiffies_to_msecs(jiffies - start)); in cpu_psci_cpu_kill()
|
/linux/fs/f2fs/ |
A D | iostat.c | 100 jiffies_to_msecs(io_lat->peak_lat[idx][io]); in __record_iostat_latency() 103 jiffies_to_msecs(io_lat->sum_lat[idx][io]) / cnt : 0; in __record_iostat_latency()
|
/linux/net/ceph/ |
A D | ceph_common.c | 693 jiffies_to_msecs(opt->mount_timeout) / 1000); in ceph_print_client_options() 696 jiffies_to_msecs(opt->osd_idle_ttl) / 1000); in ceph_print_client_options() 699 jiffies_to_msecs(opt->osd_keepalive_timeout) / 1000); in ceph_print_client_options() 702 jiffies_to_msecs(opt->osd_request_timeout) / 1000); in ceph_print_client_options()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | debugfs.c | 155 jiffies_to_msecs(awake_time), in mt7615_pm_stats() 156 jiffies_to_msecs(doze_time)); in mt7615_pm_stats() 176 *val = jiffies_to_msecs(dev->pm.idle_timeout); in mt7615_pm_idle_timeout_get()
|
/linux/drivers/hwtracing/stm/ |
A D | p_sys-t.c | 173 return sprintf(page, "%u\n", jiffies_to_msecs(pn->ts_interval)); in sys_t_policy_ts_interval_show() 204 return sprintf(page, "%u\n", jiffies_to_msecs(pn->clocksync_interval)); in sys_t_policy_clocksync_interval_show()
|
/linux/net/batman-adv/ |
A D | tp_meter.c | 225 test_time = jiffies_to_msecs(jiffies - start_time); in batadv_tp_batctl_notify() 667 rtt = jiffies_to_msecs(jiffies) - ntohl(icmp->timestamp); in batadv_tp_recv_ack() 689 jiffies_to_msecs(jiffies)); in batadv_tp_recv_ack() 729 jiffies_to_msecs(jiffies)); in batadv_tp_recv_ack() 864 jiffies_to_msecs(jiffies)); in batadv_tp_send()
|
/linux/drivers/media/pci/saa7164/ |
A D | saa7164-core.c | 358 port->last_svc_msecs = jiffies_to_msecs(jiffies); in saa7164_work_enchandler() 435 port->last_svc_msecs = jiffies_to_msecs(jiffies); in saa7164_work_vbihandler() 528 port->last_irq_msecs = jiffies_to_msecs(jiffies); in saa7164_irq_vbi() 553 port->last_irq_msecs = jiffies_to_msecs(jiffies); in saa7164_irq_encoder() 1192 if ((last_poll_time + 1000 /* ms */) < jiffies_to_msecs(jiffies)) { in saa7164_thread_function() 1194 last_poll_time = jiffies_to_msecs(jiffies); in saa7164_thread_function()
|
/linux/arch/x86/platform/intel/ |
A D | iosf_mbi.c | 359 jiffies_to_msecs(jiffies - start)); in iosf_mbi_block_punit_i2c_access() 391 jiffies_to_msecs(jiffies - iosf_mbi_sem_acquired)); in iosf_mbi_unblock_punit_i2c_access()
|
/linux/drivers/md/ |
A D | dm-stats.c | 557 duration = jiffies_to_msecs(duration_jiffies); in dm_stat_for_entry() 788 result = jiffies_to_msecs(j & 0x3fffff); in dm_jiffies_to_msec64() 790 mult = jiffies_to_msecs(1 << 22); in dm_jiffies_to_msec64() 791 result += (unsigned long long)mult * (unsigned long long)jiffies_to_msecs((j >> 22) & 0x3fffff); in dm_jiffies_to_msec64() 794 …unsigned long long)mult * (unsigned long long)mult * (unsigned long long)jiffies_to_msecs(j >> 44); in dm_jiffies_to_msec64()
|