Home
last modified time | relevance | path

Searched refs:ns_offsets (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/
Dtime_namespace.h67 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_monotonic() local
69 *ts = timespec64_add(*ts, ns_offsets->monotonic); in timens_add_monotonic()
74 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_boottime() local
76 *ts = timespec64_add(*ts, ns_offsets->boottime); in timens_add_boottime()
81 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_boottime_ns() local
83 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()
88 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_sub_boottime() local
90 *ts = timespec64_sub(*ts, ns_offsets->boottime); in timens_sub_boottime()
/linux-6.1.9/kernel/time/
Dnamespace.c24 struct timens_offsets *ns_offsets) in do_timens_ktime_to_host() argument
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()