Lines Matching refs:off
142 static struct timens_offset offset_from_ts(struct timespec64 off) in offset_from_ts() argument
146 ret.sec = off.tv_sec; in offset_from_ts()
147 ret.nsec = off.tv_nsec; in offset_from_ts()
381 struct proc_timens_offset *off = &offsets[i]; in proc_timens_set_offset() local
383 switch (off->clockid) { in proc_timens_set_offset()
397 if (off->val.tv_sec > KTIME_SEC_MAX || in proc_timens_set_offset()
398 off->val.tv_sec < -KTIME_SEC_MAX) in proc_timens_set_offset()
401 tp = timespec64_add(tp, off->val); in proc_timens_set_offset()
419 struct proc_timens_offset *off = &offsets[i]; in proc_timens_set_offset() local
422 switch (off->clockid) { in proc_timens_set_offset()
431 *offset = off->val; in proc_timens_set_offset()