/openbmc/linux/tools/testing/crypto/chacha20-s390/ |
H A D | test-cipher.c | 71 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 D | hangcheck-timer.c | 120 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 D | cn_proc.c | 130 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 D | crc32test.c | 687 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 D | kallsyms_selftest.c | 162 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 D | ks-sa-rng.c | 148 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 D | bcm2835-power.c | 168 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 D | vivid-kthread-out.c | 99 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 D | vivid-kthread-touch.c | 39 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 D | test_udelay.c | 40 kt1 = ktime_get_ns(); in udelay_test_single() 42 kt2 = ktime_get_ns(); in udelay_test_single()
|
/openbmc/linux/fs/btrfs/ |
H A D | discard.c | 104 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 D | locking.c | 134 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 D | ktd253-backlight.c | 62 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 D | stats.h | 32 static inline u64 xchk_stats_now(void) { return ktime_get_ns(); } in xchk_stats_now()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_spi.c | 131 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 D | codel.h | 67 u64 ns = ktime_get_ns(); in codel_get_time()
|
H A D | busy_poll.h | 67 return (unsigned long)(ktime_get_ns() >> 10); in busy_loop_current_time()
|
/openbmc/linux/block/ |
H A D | bfq-cgroup.c | 130 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 D | nft_limit.c | 38 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 D | sch_tbf.c | 282 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 D | v4l2-event.c | 162 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 D | dm-ps-historical-service-time.c | 435 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 D | timekeeping.h | 152 static inline u64 ktime_get_ns(void) in ktime_get_ns() function
|
/openbmc/linux/drivers/input/gameport/ |
H A D | gameport.c | 90 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 D | context.c | 58 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()
|