| /linux/drivers/md/dm-vdo/ |
| H A D | time-utils.h | 20 return clock == CLOCK_MONOTONIC ? ktime_get_ns() : ktime_get_real_ns(); in current_time_ns()
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| H A D | mcp251xfd-timestamp.c | 56 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in mcp251xfd_timestamp_start()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_ecache.c | 169 local64_set(&e->timestamp, ktime_get_real_ns()); in nf_ct_ecache_tstamp_refresh() 318 ts = ktime_get_real_ns(); in nf_ct_ecache_tstamp_new()
|
| H A D | nft_meta.c | 66 nft_reg_store64((u64 *)dest, ktime_get_real_ns()); in nft_meta_get_eval_time()
|
| H A D | nf_conntrack_core.c | 656 tstamp->stop = ktime_get_real_ns(); in nf_ct_delete() 988 tstamp->start = ktime_get_real_ns(); in __nf_conntrack_insert_prepare()
|
| /linux/net/core/ |
| H A D | secure_seq.c | 45 return seq + (ktime_get_real_ns() >> 6); in seq_scale()
|
| /linux/drivers/hwtracing/stm/ |
| H A D | p_sys-t.c | 304 payload[0] = ktime_get_real_ns(); in sys_t_clock_sync() 424 u64 ts = ktime_get_real_ns(); in sys_t_write()
|
| /linux/drivers/net/can/rockchip/ |
| H A D | rockchip_canfd-timestamp.c | 92 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in rkcanfd_timestamp_start()
|
| /linux/include/linux/ |
| H A D | timekeeping.h | 183 static inline u64 ktime_get_real_ns(void) in ktime_get_real_ns() function
|
| /linux/drivers/accel/qaic/ |
| H A D | qaic_timesync.c | 151 host_time_us = div_u64(ktime_get_real_ns(), NSEC_PER_USEC); in qaic_timesync_timer()
|
| /linux/drivers/iio/common/ssp_sensors/ |
| H A D | ssp_spi.c | 326 data->timestamp = ktime_get_real_ns(); in ssp_parse_dataframe()
|
| /linux/Documentation/core-api/ |
| H A D | timekeeping.rst | 67 u64 ktime_get_real_ns( void )
|
| /linux/sound/soc/codecs/ |
| H A D | cs-amp-lib.c | 70 u64 time_in_100ns = div_u64(ktime_get_real_ns(), 100); in cs_amp_write_cal_coeff()
|
| /linux/drivers/net/can/usb/etas_es58x/ |
| H A D | es58x_core.c | 201 u64 ktime_real_ns = ktime_get_real_ns(); in es58x_rx_timestamp() 236 es58x_dev->ktime_req_ns = ktime_get_real_ns(); in es58x_set_realtime_diff_ns()
|
| /linux/tools/testing/cxl/test/ |
| H A D | mem.c | 302 ns = ktime_get_real_ns(); in mock_get_event() 305 ns = ktime_get_real_ns(); in mock_get_event()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 566 timecounter_init(&cpts->tc, &cpts->cc, ktime_get_real_ns()); in cpts_register()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_query.c | 82 return &ktime_get_real_ns; in __clock_id_to_func()
|
| /linux/Documentation/driver-api/ |
| H A D | ioctl.rst | 109 ktime_get_real_ns() can be used for CLOCK_REALTIME timestamps that
|
| /linux/drivers/hid/ |
| H A D | hid-sensor-custom.c | 441 header.timestamp = ktime_get_real_ns(); in hid_sensor_capture_sample()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 2959 ptp->reset_time = ktime_get_real_ns(); in ice_ptp_prepare_for_reset() 3001 time_diff = ktime_get_real_ns() - ptp->reset_time; in ice_ptp_rebuild_owner()
|
| /linux/drivers/cxl/core/ |
| H A D | mbox.c | 1405 pi.timestamp = cpu_to_le64(ktime_get_real_ns()); in cxl_set_timestamp()
|
| /linux/net/devlink/ |
| H A D | health.c | 620 reporter->dump_real_ts = ktime_get_real_ns(); in devlink_health_do_dump()
|
| /linux/drivers/net/can/usb/ |
| H A D | gs_usb.c | 485 timecounter_init(&parent->tc, &parent->cc, ktime_get_real_ns()); in gs_usb_timestamp_init()
|
| /linux/drivers/iio/ |
| H A D | industrialio-core.c | 326 return ktime_get_real_ns(); in iio_get_time_ns()
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-cdev.c | 579 return ktime_get_real_ns(); in line_event_timestamp()
|