/linux-5.19.10/kernel/time/ |
D | namespace.c | 251 ns = nsproxy->time_ns; in timens_get() 299 put_time_ns(nsproxy->time_ns); in timens_install() 300 nsproxy->time_ns = ns; in timens_install() 314 if (nsproxy->time_ns == nsproxy->time_ns_for_children) in timens_on_fork() 318 put_time_ns(nsproxy->time_ns); in timens_on_fork() 319 nsproxy->time_ns = ns; in timens_on_fork() 350 struct time_namespace *time_ns; in proc_timens_show_offsets() local 355 time_ns = to_time_ns(ns); in proc_timens_show_offsets() 357 show_offset(m, CLOCK_MONOTONIC, &time_ns->offsets.monotonic); in proc_timens_show_offsets() 358 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets() [all …]
|
/linux-5.19.10/drivers/iio/proximity/ |
D | ping.c | 97 u32 time_ns, distance_mm; in ping_read() local 172 time_ns = dt_ns; in ping_read() 179 if ((time_ns > 12500000) && (time_ns <= 13500000)) { in ping_read() 183 if ((time_ns > 13500000) && (time_ns <= 14500000)) { in ping_read() 187 if ((time_ns > 14500000) && (time_ns <= 15500000)) { in ping_read() 213 distance_mm = time_ns * 232 / 1350800; in ping_read()
|
D | srf04.c | 101 u32 time_ns, distance_mm; in srf04_read() local 167 time_ns = dt_ns; in srf04_read() 189 distance_mm = time_ns * 106 / 617176; in srf04_read()
|
/linux-5.19.10/include/linux/ |
D | time_namespace.h | 67 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_monotonic() 74 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime() 81 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime_ns() 88 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_sub_boottime() 98 struct time_namespace *ns = current->nsproxy->time_ns; in timens_ktime_to_host()
|
D | nsproxy.h | 38 struct time_namespace *time_ns; member
|
D | cpuidle.h | 38 u64 time_ns; member
|
/linux-5.19.10/kernel/ |
D | nsproxy.c | 47 .time_ns = &init_time_ns, 122 new_nsp->time_ns = get_time_ns(tsk->nsproxy->time_ns); in create_new_namespaces() 160 if (likely(old_ns->time_ns_for_children == old_ns->time_ns)) { in copy_namespaces() 198 if (ns->time_ns) in free_nsproxy() 199 put_time_ns(ns->time_ns); in free_nsproxy() 468 ret = validate_ns(nsset, &nsp->time_ns->ns); in validate_nsset() 519 timens_commit(me, nsset->nsproxy->time_ns); in commit_nsset()
|
/linux-5.19.10/drivers/iio/common/scmi_sensors/ |
D | scmi_iio.c | 42 u64 time, time_ns; in scmi_iio_sensor_update_cb() local 54 time_ns = ktime_to_ns(sensor_update->timestamp); in scmi_iio_sensor_update_cb() 71 time_ns = time; in scmi_iio_sensor_update_cb() 73 time_ns = time * int_pow(10, tstamp_scale); in scmi_iio_sensor_update_cb() 79 time_ns); in scmi_iio_sensor_update_cb()
|
/linux-5.19.10/drivers/iio/light/ |
D | adjd_s311.c | 121 s64 time_ns = iio_get_time_ns(indio_dev); in adjd_s311_trigger_handler() local 138 iio_push_to_buffers_with_timestamp(indio_dev, &data->scan, time_ns); in adjd_s311_trigger_handler()
|
/linux-5.19.10/drivers/memory/ |
D | omap-gpmc.c | 326 static unsigned int gpmc_ns_to_clk_ticks(unsigned int time_ns, int cs, in gpmc_ns_to_clk_ticks() argument 334 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks() 337 static unsigned int gpmc_ns_to_ticks(unsigned int time_ns) in gpmc_ns_to_ticks() argument 339 return gpmc_ns_to_clk_ticks(time_ns, /* any CS */ 0, GPMC_CD_FCLK); in gpmc_ns_to_ticks() 456 unsigned int time_ns; in get_gpmc_timing_reg() local 461 time_ns = gpmc_clk_ticks_to_ns(l, cs, cd); in get_gpmc_timing_reg() 463 name, time_ns, time_ns_min, time_ns, l, in get_gpmc_timing_reg()
|
/linux-5.19.10/arch/s390/kernel/ |
D | vdso.c | 50 return current->nsproxy->time_ns->vvar_page; in find_timens_vvar_page()
|
/linux-5.19.10/arch/riscv/kernel/ |
D | vdso.c | 135 return current->nsproxy->time_ns->vvar_page; in find_timens_vvar_page()
|
/linux-5.19.10/drivers/ptp/ |
D | ptp_ocp.c | 40 u32 time_ns; member 112 u32 time_ns; member 792 u32 ctrl, time_sec, time_ns; in __ptp_ocp_gettime_locked() local 813 time_ns = ioread32(&bp->reg->time_ns); in __ptp_ocp_gettime_locked() 817 ts->tv_nsec = time_ns; in __ptp_ocp_gettime_locked() 840 u32 ctrl, time_sec, time_ns; in __ptp_ocp_settime_locked() local 843 time_ns = ts->tv_nsec; in __ptp_ocp_settime_locked() 849 iowrite32(time_ns, &bp->reg->adjust_ns); in __ptp_ocp_settime_locked() 1764 nsec = ioread32(®->time_ns); in ptp_ocp_ts_irq()
|
/linux-5.19.10/arch/x86/entry/vdso/ |
D | vma.c | 104 return current->nsproxy->time_ns->vvar_page; in find_timens_vvar_page()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | vdso.c | 134 return current->nsproxy->time_ns->vvar_page; in find_timens_vvar_page()
|
/linux-5.19.10/arch/arm64/kernel/ |
D | vdso.c | 160 return current->nsproxy->time_ns->vvar_page; in find_timens_vvar_page()
|
/linux-5.19.10/drivers/cpuidle/ |
D | cpuidle.c | 271 dev->states_usage[entered_state].time_ns += diff; in cpuidle_enter_state()
|
D | sysfs.c | 269 return sprintf(buf, "%llu\n", ktime_to_us(state_usage->time_ns)); in define_show_state_time_function()
|
/linux-5.19.10/drivers/iio/accel/ |
D | bma180.c | 875 s64 time_ns = iio_get_time_ns(indio_dev); in bma180_trigger_handler() local 892 iio_push_to_buffers_with_timestamp(indio_dev, &data->scan, time_ns); in bma180_trigger_handler()
|
/linux-5.19.10/tools/include/uapi/drm/ |
D | drm.h | 1166 __s64 time_ns; member
|
/linux-5.19.10/include/uapi/drm/ |
D | drm.h | 1166 __s64 time_ns; member
|
/linux-5.19.10/drivers/gpu/drm/i915/display/ |
D | intel_psr.c | 190 ktime_t time_ns = ktime_get(); in intel_psr_irq_handler() local 203 intel_dp->psr.last_entry_attempt = time_ns; in intel_psr_irq_handler() 210 intel_dp->psr.last_exit = time_ns; in intel_psr_irq_handler()
|
/linux-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.c | 659 u64 time_ns = ice_ptp_read_src_clk_reg(pf, sts); in ice_ptp_read_time() local 661 *ts = ns_to_timespec64(time_ns); in ice_ptp_read_time()
|
/linux-5.19.10/block/ |
D | blk-throttle.c | 2224 void blk_throtl_stat_add(struct request *rq, u64 time_ns) in blk_throtl_stat_add() argument 2230 time_ns >> 10); in blk_throtl_stat_add()
|
/linux-5.19.10/drivers/video/fbdev/ |
D | pxafb.c | 1227 static unsigned int __smart_timing(unsigned time_ns, unsigned long lcd_clk) in __smart_timing() argument 1229 unsigned int t = (time_ns * (lcd_clk / 1000000) / 1000); in __smart_timing()
|