Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dtime_namespace.h70 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_monotonic() local
72 *ts = timespec64_add(*ts, ns_offsets->monotonic); in timens_add_monotonic()
77 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_boottime() local
79 *ts = timespec64_add(*ts, ns_offsets->boottime); in timens_add_boottime()
84 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_add_boottime_ns() local
86 return nsec + timespec64_to_ns(&ns_offsets->boottime); in timens_add_boottime_ns()
91 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; in timens_sub_boottime() local
93 *ts = timespec64_sub(*ts, ns_offsets->boottime); in timens_sub_boottime()
/linux-6.12.1/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()