Searched refs:ns_offsets (Results 1 – 2 of 2) sorted by relevance
76 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_monotonic() local78 *ts = timespec64_add(*ts, ns_offsets->monotonic); in timens_add_monotonic()83 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime() local85 *ts = timespec64_add(*ts, ns_offsets->boottime); in timens_add_boottime()90 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_add_boottime_ns() local92 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()97 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; in timens_sub_boottime() local99 *ts = timespec64_sub(*ts, ns_offsets->boottime); in timens_sub_boottime()
25 struct timens_offsets *ns_offsets) in do_timens_ktime_to_host() argument31 offset = timespec64_to_ktime(ns_offsets->monotonic); in do_timens_ktime_to_host()35 offset = timespec64_to_ktime(ns_offsets->boottime); in do_timens_ktime_to_host()