Home
last modified time | relevance | path

Searched refs:ktime_get_ns (Results 1 – 25 of 183) sorted by relevance

12345678

/openbmc/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c71 start = ktime_get_ns(); in test_lib_chacha()
73 end = ktime_get_ns(); in test_lib_chacha()
86 start = ktime_get_ns(); in test_lib_chacha()
88 end = ktime_get_ns(); in test_lib_chacha()
180 start = ktime_get_ns(); in test_skcipher()
182 end = ktime_get_ns(); in test_skcipher()
204 start = ktime_get_ns(); in test_skcipher()
206 end = ktime_get_ns(); in test_skcipher()
/openbmc/linux/drivers/char/
H A Dhangcheck-timer.c120 cur_tsc = ktime_get_ns(); in hangcheck_fire()
149 hangcheck_tsc = ktime_get_ns(); in hangcheck_fire()
161 hangcheck_tsc = ktime_get_ns(); in hangcheck_init()
/openbmc/linux/drivers/connector/
H A Dcn_proc.c130 ev->timestamp_ns = ktime_get_ns(); in proc_fork_connector()
159 ev->timestamp_ns = ktime_get_ns(); in proc_exec_connector()
200 ev->timestamp_ns = ktime_get_ns(); in proc_id_connector()
221 ev->timestamp_ns = ktime_get_ns(); in proc_sid_connector()
245 ev->timestamp_ns = ktime_get_ns(); in proc_ptrace_connector()
277 ev->timestamp_ns = ktime_get_ns(); in proc_comm_connector()
303 ev->timestamp_ns = ktime_get_ns(); in proc_coredump_connector()
336 ev->timestamp_ns = ktime_get_ns(); in proc_exit_connector()
379 ev->timestamp_ns = ktime_get_ns(); in cn_proc_ack()
/openbmc/linux/lib/
H A Dcrc32test.c687 nsec = ktime_get_ns(); in crc32c_test()
693 nsec = ktime_get_ns() - nsec; in crc32c_test()
770 nsec = ktime_get_ns(); in crc32_test()
780 nsec = ktime_get_ns() - nsec; in crc32_test()
/openbmc/linux/kernel/
H A Dkallsyms_selftest.c162 t0 = ktime_get_ns(); in lookup_name()
164 t1 = ktime_get_ns(); in lookup_name()
240 t0 = ktime_get_ns(); in test_perf_kallsyms_on_each_symbol()
242 t1 = ktime_get_ns(); in test_perf_kallsyms_on_each_symbol()
272 t0 = ktime_get_ns(); in test_perf_kallsyms_on_each_match_symbol()
274 t1 = ktime_get_ns(); in test_perf_kallsyms_on_each_match_symbol()
/openbmc/linux/drivers/char/hw_random/
H A Dks-sa-rng.c148 ks_sa_rng->ready_ts = ktime_get_ns() + in ks_sa_rng_init()
175 ks_sa_rng->ready_ts = ktime_get_ns() + ks_sa_rng->refill_delay_ns; in ks_sa_rng_data_read()
184 u64 now = ktime_get_ns(); in ks_sa_rng_data_present()
/openbmc/linux/drivers/pmdomain/bcm/
H A Dbcm2835-power.c168 start = ktime_get_ns(); in bcm2835_asb_control()
180 if (ktime_get_ns() - start >= 1000) in bcm2835_asb_control()
245 start = ktime_get_ns(); in bcm2835_power_power_on()
248 if (ktime_get_ns() - start >= 3000) in bcm2835_power_power_on()
264 start = ktime_get_ns(); in bcm2835_power_power_on()
267 if (ktime_get_ns() - start >= 1000) { in bcm2835_power_power_on()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-out.c99 ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_vid_out_tick()
116 ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_vid_out_tick()
130 ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_vid_out_tick()
162 dev->time_wrap_offset = dev->time_wrap - ktime_get_ns(); in vivid_thread_vid_out()
H A Dvivid-kthread-touch.c39 tch_cap_buf->vb.vb2_buf.timestamp = ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_tch_cap_tick()
67 dev->time_wrap_offset = dev->time_wrap - ktime_get_ns(); in vivid_thread_touch_cap()
/openbmc/linux/kernel/time/
H A Dtest_udelay.c40 kt1 = ktime_get_ns(); in udelay_test_single()
42 kt2 = ktime_get_ns(); in udelay_test_single()
/openbmc/linux/fs/btrfs/
H A Ddiscard.c104 block_group->discard_eligible_time = (ktime_get_ns() + in __add_to_discard_list()
143 block_group->discard_eligible_time = (ktime_get_ns() + in add_to_discard_unused_list()
440 const u64 now = ktime_get_ns(); in btrfs_discard_schedule_work()
490 u64 now = ktime_get_ns(); in btrfs_discard_workfn()
546 now = ktime_get_ns(); in btrfs_discard_workfn()
H A Dlocking.c134 start_ns = ktime_get_ns(); in __btrfs_tree_read_lock()
196 start_ns = ktime_get_ns(); in __btrfs_tree_lock()
/openbmc/linux/drivers/video/backlight/
H A Dktd253-backlight.c62 ns = ktime_get_ns(); in ktd253_backlight_stepdown()
66 ns = ktime_get_ns() - ns; in ktd253_backlight_stepdown()
/openbmc/linux/fs/xfs/scrub/
H A Dstats.h32 static inline u64 xchk_stats_now(void) { return ktime_get_ns(); } in xchk_stats_now()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_spi.c131 ec_spi->last_transfer_ns = ktime_get_ns(); in terminate_request()
404 delay = ktime_get_ns() - ec_spi->last_transfer_ns; in do_cros_ec_pkt_xfer_spi()
549 delay = ktime_get_ns() - ec_spi->last_transfer_ns; in do_cros_ec_cmd_xfer_spi()
771 ec_spi->last_transfer_ns = ktime_get_ns(); in cros_ec_spi_probe()
/openbmc/linux/include/net/
H A Dcodel.h67 u64 ns = ktime_get_ns(); in codel_get_time()
H A Dbusy_poll.h67 return (unsigned long)(ktime_get_ns() >> 10); in busy_loop_current_time()
/openbmc/linux/block/
H A Dbfq-cgroup.c130 now = ktime_get_ns(); in BFQG_FLAG_FNS()
147 stats->start_group_wait_time = ktime_get_ns(); in bfqg_stats_set_start_group_wait_time()
159 now = ktime_get_ns(); in bfqg_stats_end_empty_time()
186 stats->start_empty_time = ktime_get_ns(); in bfqg_stats_set_start_empty_time()
195 u64 now = ktime_get_ns(); in bfqg_stats_update_idle_time()
208 stats->start_idle_time = ktime_get_ns(); in bfqg_stats_set_start_idle_time()
245 u64 now = ktime_get_ns(); in bfqg_stats_update_completion()
/openbmc/linux/net/netfilter/
H A Dnft_limit.c38 now = ktime_get_ns(); in nft_limit_eval()
120 priv->limit->last = ktime_get_ns(); in nft_limit_init()
167 priv_dst->limit->last = ktime_get_ns(); in nft_limit_clone()
/openbmc/linux/net/sched/
H A Dsch_tbf.c282 now = ktime_get_ns(); in tbf_dequeue()
334 q->t_c = ktime_get_ns(); in tbf_reset()
489 q->t_c = ktime_get_ns(); in tbf_init()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-event.c162 ts = ktime_get_ns(); in v4l2_event_queue()
176 u64 ts = ktime_get_ns(); in v4l2_event_queue_fh()
/openbmc/linux/drivers/md/
H A Ddm-ps-historical-service-time.c435 u64 time_now = ktime_get_ns(); in hst_select_path()
476 u64 now = ktime_get_ns(); in path_service_time()
/openbmc/linux/include/linux/
H A Dtimekeeping.h152 static inline u64 ktime_get_ns(void) in ktime_get_ns() function
/openbmc/linux/drivers/input/gameport/
H A Dgameport.c90 t1 = ktime_get_ns(); in gameport_measure_speed()
93 t2 = ktime_get_ns(); in gameport_measure_speed()
94 t3 = ktime_get_ns(); in gameport_measure_speed()
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dcontext.c58 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()

12345678