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

/linux-master/include/linux/
H A Dtime_namespace.h70 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; local
72 *ts = timespec64_add(*ts, ns_offsets->monotonic);
77 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; local
79 *ts = timespec64_add(*ts, ns_offsets->boottime);
84 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; local
86 return nsec + timespec64_to_ns(&ns_offsets->boottime);
91 struct timens_offsets *ns_offsets = &current->nsproxy->time_ns->offsets; local
93 *ts = timespec64_sub(*ts, ns_offsets->boottime);
/linux-master/kernel/time/
H A Dnamespace.c24 struct timens_offsets *ns_offsets)
30 offset = timespec64_to_ktime(ns_offsets->monotonic);
34 offset = timespec64_to_ktime(ns_offsets->boottime);
23 do_timens_ktime_to_host(clockid_t clockid, ktime_t tim, struct timens_offsets *ns_offsets) argument

Completed in 109 milliseconds