Home
last modified time | relevance | path

Searched refs:jif (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/arch/s390/include/asm/
Dcputime.h38 static inline cputime_t jiffies_to_cputime(const unsigned int jif) in jiffies_to_cputime() argument
40 return (__force cputime_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies_to_cputime()
45 unsigned long long jif = (__force unsigned long long) cputime; in cputime64_to_jiffies64() local
46 do_div(jif, CPUTIME_PER_SEC / HZ); in cputime64_to_jiffies64()
47 return jif; in cputime64_to_jiffies64()
50 static inline cputime64_t jiffies64_to_cputime64(const u64 jif) in jiffies64_to_cputime64() argument
52 return (__force cputime64_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies64_to_cputime64()
/linux-4.4.14/arch/powerpc/include/asm/
Dcputime.h68 static inline cputime_t jiffies_to_cputime(const unsigned long jif) in jiffies_to_cputime() argument
74 ct = jif % HZ; in jiffies_to_cputime()
75 sec = jif / HZ; in jiffies_to_cputime()
90 static inline cputime64_t jiffies64_to_cputime64(const u64 jif) in jiffies64_to_cputime64() argument
96 ct = jif % HZ; in jiffies64_to_cputime64()
97 sec = jif / HZ; in jiffies64_to_cputime64()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_debugfs.c163 unsigned long jif; in seq_print_waiting_for_AL() local
173 jif = req->start_jif; in seq_print_waiting_for_AL()
181 seq_printf(m, "%u\t", jiffies_to_msecs(now - jif)); in seq_print_waiting_for_AL()
369 unsigned long jif = jiffies; in in_flight_summary_show() local
381 seq_print_resource_pending_bitmap_io(m, resource, jif); in in_flight_summary_show()
385 seq_print_resource_pending_meta_io(m, resource, jif); in in_flight_summary_show()
404 seq_print_resource_pending_peer_requests(m, resource, jif); in in_flight_summary_show()
408 seq_print_waiting_for_AL(m, resource, jif); in in_flight_summary_show()
412 seq_print_resource_transfer_log_summary(m, resource, connection, jif); in in_flight_summary_show()
415 jif = jiffies - jif; in in_flight_summary_show()
[all …]
/linux-4.4.14/include/asm-generic/
Dcputime_jiffies.h43 #define cputime_to_secs(jif) (cputime_to_jiffies(jif) / HZ) argument
/linux-4.4.14/fs/cachefiles/
Dinternal.h189 unsigned long jif = jiffies - start_jif; in cachefiles_hist() local
190 if (jif >= HZ) in cachefiles_hist()
191 jif = HZ - 1; in cachefiles_hist()
192 atomic_inc(&histogram[jif]); in cachefiles_hist()
/linux-4.4.14/fs/fscache/
Dinternal.h72 unsigned long jif = jiffies - start_jif; in fscache_hist() local
73 if (jif >= HZ) in fscache_hist()
74 jif = HZ - 1; in fscache_hist()
75 atomic_inc(&histogram[jif]); in fscache_hist()
Dpage.c326 unsigned long jif; in fscache_wait_for_deferred_lookup() local
337 jif = jiffies; in fscache_wait_for_deferred_lookup()
348 fscache_hist(fscache_retrieval_delay_histogram, jif); in fscache_wait_for_deferred_lookup()
/linux-4.4.14/fs/proc/
Dstat.c83 unsigned long jif; in show_stat() local
95 jif = boottime.tv_sec; in show_stat()
171 (unsigned long)jif, in show_stat()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_debugfs.h206 unsigned long jif; member
Dlpfc_debugfs.c156 ms = jiffies_to_msecs(dtp->jif - lpfc_debugfs_start_time); in lpfc_debugfs_disc_trc_data()
167 ms = jiffies_to_msecs(dtp->jif - lpfc_debugfs_start_time); in lpfc_debugfs_disc_trc_data()
222 ms = jiffies_to_msecs(dtp->jif - lpfc_debugfs_start_time); in lpfc_debugfs_slow_ring_trc_data()
233 ms = jiffies_to_msecs(dtp->jif - lpfc_debugfs_start_time); in lpfc_debugfs_slow_ring_trc_data()
657 dtp->jif = jiffies; in lpfc_debugfs_disc_trc()
695 dtp->jif = jiffies; in lpfc_debugfs_slow_ring_trc()
/linux-4.4.14/kernel/
Dsysctl.c2524 unsigned long jif = msecs_to_jiffies(*negp ? -*lvalp : *lvalp); in do_proc_dointvec_ms_jiffies_conv() local
2526 if (jif > INT_MAX) in do_proc_dointvec_ms_jiffies_conv()
2528 *valp = (int)jif; in do_proc_dointvec_ms_jiffies_conv()