Lines Matching refs:time_ns
251 ns = nsproxy->time_ns; in timens_get()
299 put_time_ns(nsproxy->time_ns); in timens_install()
300 nsproxy->time_ns = ns; in timens_install()
314 if (nsproxy->time_ns == nsproxy->time_ns_for_children) in timens_on_fork()
318 put_time_ns(nsproxy->time_ns); in timens_on_fork()
319 nsproxy->time_ns = ns; in timens_on_fork()
350 struct time_namespace *time_ns; in proc_timens_show_offsets() local
355 time_ns = to_time_ns(ns); in proc_timens_show_offsets()
357 show_offset(m, CLOCK_MONOTONIC, &time_ns->offsets.monotonic); in proc_timens_show_offsets()
358 show_offset(m, CLOCK_BOOTTIME, &time_ns->offsets.boottime); in proc_timens_show_offsets()
359 put_time_ns(time_ns); in proc_timens_show_offsets()
366 struct time_namespace *time_ns; in proc_timens_set_offset() local
373 time_ns = to_time_ns(ns); in proc_timens_set_offset()
375 if (!file_ns_capable(file, time_ns->user_ns, CAP_SYS_TIME)) { in proc_timens_set_offset()
376 put_time_ns(time_ns); in proc_timens_set_offset()
411 if (time_ns->frozen_offsets) { in proc_timens_set_offset()
424 offset = &time_ns->offsets.monotonic; in proc_timens_set_offset()
427 offset = &time_ns->offsets.boottime; in proc_timens_set_offset()
437 put_time_ns(time_ns); in proc_timens_set_offset()