Home
last modified time | relevance | path

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

1234567

/linux/drivers/connector/
A Dcn_proc.c82 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 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()
/linux/lib/
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()
/linux/drivers/soc/bcm/
A Dbcm2835-power.c158 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 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()
/linux/fs/btrfs/
A Ddiscard.c87 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 Dlocking.c45 start_ns = ktime_get_ns(); in __btrfs_tree_read_lock()
110 start_ns = ktime_get_ns(); in __btrfs_tree_lock()
/linux/kernel/time/
A Dtest_udelay.c40 kt1 = ktime_get_ns(); in udelay_test_single()
42 kt2 = ktime_get_ns(); in udelay_test_single()
/linux/drivers/video/backlight/
A Dktd253-backlight.c62 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 Dvivid-kthread-out.c98 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 Dvivid-kthread-touch.c38 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 Dcros_ec_spi.c137 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 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()
/linux/include/net/
A Dcodel.h69 u64 ns = ktime_get_ns(); in codel_get_time()
/linux/net/sched/
A Dsch_tbf.c281 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 Dsch_fq.c452 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 Dnft_limit.c34 now = ktime_get_ns(); in nft_limit_eval()
98 limit->last = ktime_get_ns(); in nft_limit_init()
/linux/drivers/input/gameport/
A Dgameport.c91 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 Djitterentropy-kcapi.c99 tmp = ktime_get_ns(); in jent_get_nstime()
/linux/drivers/media/v4l2-core/
A Dv4l2-event.c162 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 Dcec-adap.c112 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 Dvimc-sensor.c227 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 Dtimekeeping.h152 static inline u64 ktime_get_ns(void) in ktime_get_ns() function
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Dcmsg.c221 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 Dcontext.c58 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()

Completed in 43 milliseconds

1234567