Lines Matching refs:offset
26 ktime_t offset; in do_timens_ktime_to_host() local
30 offset = timespec64_to_ktime(ns_offsets->monotonic); in do_timens_ktime_to_host()
34 offset = timespec64_to_ktime(ns_offsets->boottime); in do_timens_ktime_to_host()
44 if (tim < offset) { in do_timens_ktime_to_host()
51 tim = ktime_sub(tim, offset); in do_timens_ktime_to_host()
182 struct timens_offset *offset = vdata->offset; in timens_setup_vdso_data() local
188 offset[CLOCK_MONOTONIC] = monotonic; in timens_setup_vdso_data()
189 offset[CLOCK_MONOTONIC_RAW] = monotonic; in timens_setup_vdso_data()
190 offset[CLOCK_MONOTONIC_COARSE] = monotonic; in timens_setup_vdso_data()
191 offset[CLOCK_BOOTTIME] = boottime; in timens_setup_vdso_data()
192 offset[CLOCK_BOOTTIME_ALARM] = boottime; in timens_setup_vdso_data()
420 struct timespec64 *offset = NULL; in proc_timens_set_offset() local
424 offset = &time_ns->offsets.monotonic; in proc_timens_set_offset()
427 offset = &time_ns->offsets.boottime; in proc_timens_set_offset()
431 *offset = off->val; in proc_timens_set_offset()