Searched refs:ns_offsets (Results 1 – 2 of 2) sorted by relevance
70 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_monotonic() local72 *ts = timespec64_add(*ts, ns_offsets->monotonic); in timens_add_monotonic()77 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime() local79 *ts = timespec64_add(*ts, ns_offsets->boottime); in timens_add_boottime()84 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime_ns() local86 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()91 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_sub_boottime() local93 *ts = timespec64_sub(*ts, ns_offsets->boottime); in timens_sub_boottime()
24 struct timens_offsets *ns_offsets) in do_timens_ktime_to_host() argument30 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()