/linux/drivers/connector/ |
A D | cn_proc.c | 82 ev->timestamp_ns = ktime_get_ns(); in proc_fork_connector() 111 ev->timestamp_ns = ktime_get_ns(); in proc_exec_connector() 152 ev->timestamp_ns = ktime_get_ns(); in proc_id_connector() 173 ev->timestamp_ns = ktime_get_ns(); in proc_sid_connector() 197 ev->timestamp_ns = ktime_get_ns(); in proc_ptrace_connector() 229 ev->timestamp_ns = ktime_get_ns(); in proc_comm_connector() 255 ev->timestamp_ns = ktime_get_ns(); in proc_coredump_connector() 288 ev->timestamp_ns = ktime_get_ns(); in proc_exit_connector() 331 ev->timestamp_ns = ktime_get_ns(); in cn_proc_ack()
|
/linux/drivers/char/ |
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()
|
/linux/lib/ |
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()
|
/linux/drivers/soc/bcm/ |
A D | bcm2835-power.c | 158 start = ktime_get_ns(); in bcm2835_asb_enable() 164 if (ktime_get_ns() - start >= 1000) in bcm2835_asb_enable() 178 start = ktime_get_ns(); in bcm2835_asb_disable() 184 if (ktime_get_ns() - start >= 1000) in bcm2835_asb_disable() 231 start = ktime_get_ns(); in bcm2835_power_power_on() 234 if (ktime_get_ns() - start >= 3000) in bcm2835_power_power_on() 250 start = ktime_get_ns(); in bcm2835_power_power_on() 253 if (ktime_get_ns() - start >= 1000) { in bcm2835_power_power_on()
|
/linux/drivers/char/hw_random/ |
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()
|
/linux/fs/btrfs/ |
A D | discard.c | 87 block_group->discard_eligible_time = (ktime_get_ns() + in __add_to_discard_list() 120 block_group->discard_eligible_time = (ktime_get_ns() + in add_to_discard_unused_list() 397 const u64 now = ktime_get_ns(); in btrfs_discard_schedule_work() 445 u64 now = ktime_get_ns(); in btrfs_discard_workfn() 501 now = ktime_get_ns(); in btrfs_discard_workfn()
|
A D | locking.c | 45 start_ns = ktime_get_ns(); in __btrfs_tree_read_lock() 110 start_ns = ktime_get_ns(); in __btrfs_tree_lock()
|
/linux/kernel/time/ |
A D | test_udelay.c | 40 kt1 = ktime_get_ns(); in udelay_test_single() 42 kt2 = ktime_get_ns(); in udelay_test_single()
|
/linux/drivers/video/backlight/ |
A D | ktd253-backlight.c | 62 ns = ktime_get_ns(); in ktd253_backlight_stepdown() 66 ns = ktime_get_ns() - ns; in ktd253_backlight_stepdown()
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-kthread-out.c | 98 ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_vid_out_tick() 115 ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_vid_out_tick() 129 ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_vid_out_tick()
|
A D | vivid-kthread-touch.c | 38 tch_cap_buf->vb.vb2_buf.timestamp = ktime_get_ns() + dev->time_wrap_offset; in vivid_thread_tch_cap_tick()
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_spi.c | 137 ec_spi->last_transfer_ns = ktime_get_ns(); in terminate_request() 407 delay = ktime_get_ns() - ec_spi->last_transfer_ns; in do_cros_ec_pkt_xfer_spi() 550 delay = ktime_get_ns() - ec_spi->last_transfer_ns; in do_cros_ec_cmd_xfer_spi() 772 ec_spi->last_transfer_ns = ktime_get_ns(); in cros_ec_spi_probe()
|
/linux/block/ |
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()
|
/linux/include/net/ |
A D | codel.h | 69 u64 ns = ktime_get_ns(); in codel_get_time()
|
/linux/net/sched/ |
A D | sch_tbf.c | 281 now = ktime_get_ns(); in tbf_dequeue() 335 q->t_c = ktime_get_ns(); in tbf_reset() 488 q->t_c = ktime_get_ns(); in tbf_init()
|
A D | sch_fq.c | 452 fq_skb_cb(skb)->time_to_send = q->ktime_cache = ktime_get_ns(); in fq_enqueue() 460 q->ktime_cache = ktime_get_ns(); in fq_enqueue() 545 q->ktime_cache = now = ktime_get_ns(); in fq_dequeue() 1022 ktime_get_ns(); in fq_dump_stats()
|
/linux/net/netfilter/ |
A D | nft_limit.c | 34 now = ktime_get_ns(); in nft_limit_eval() 98 limit->last = ktime_get_ns(); in nft_limit_init()
|
/linux/drivers/input/gameport/ |
A D | gameport.c | 91 t1 = ktime_get_ns(); in gameport_measure_speed() 94 t2 = ktime_get_ns(); in gameport_measure_speed() 95 t3 = ktime_get_ns(); in gameport_measure_speed()
|
/linux/crypto/ |
A D | jitterentropy-kcapi.c | 99 tmp = ktime_get_ns(); in jent_get_nstime()
|
/linux/drivers/media/v4l2-core/ |
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()
|
/linux/drivers/media/cec/core/ |
A D | cec-adap.c | 112 ts = ktime_get_ns(); in cec_queue_event_fh() 161 u64 ts = ktime_get_ns(); in cec_queue_event() 268 cec_queue_event_fh(fh, &ev_lost_msgs, ktime_get_ns()); in cec_queue_msg_fh() 388 data->msg.rx_ts = ktime_get_ns(); in cec_data_cancel() 391 data->msg.tx_ts = ktime_get_ns(); in cec_data_cancel() 735 data->msg.rx_ts = ktime_get_ns(); in cec_wait_timeout() 828 msg->tx_ts = ktime_get_ns(); in cec_transmit_msg_fh()
|
/linux/drivers/media/test-drivers/vimc/ |
A D | vimc-sensor.c | 227 ms = div_u64(ktime_get_ns() - vsen->start_stream_ts, 1000000); in vimc_sen_process_frame() 253 vsen->start_stream_ts = ktime_get_ns(); in vimc_sen_s_stream()
|
/linux/include/linux/ |
A D | timekeeping.h | 152 static inline u64 ktime_get_ns(void) in ktime_get_ns() function
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | cmsg.c | 221 if (nfp_map->cache_to < ktime_get_ns()) in nfp_bpf_ctrl_op_cache_get() 273 to = ktime_get_ns() + NFP_BPF_MAP_CACHE_TIME_NS; in nfp_bpf_ctrl_op_cache_put()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
A D | context.c | 58 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()
|