Searched refs:tk (Results 1 – 6 of 6) sorted by relevance
117 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime() argument119 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()120 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()121 tk->xtime_sec++; in tk_normalize_xtime()123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()124 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_raw.shift; in tk_normalize_xtime()125 tk->raw_sec++; in tk_normalize_xtime()129 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime() argument133 ts.tv_sec = tk->xtime_sec; in tk_xtime()134 ts.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in tk_xtime()[all …]
19 struct timekeeper *tk) in update_vdso_data() argument24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()29 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()31 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data()35 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data()[all …]
85 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument87 return tk->rp.handler != NULL; in trace_kprobe_is_return()90 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument92 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()95 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument97 return tk->rp.kp.offset; in trace_kprobe_offset()100 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument102 return kprobe_gone(&tk->rp.kp); in trace_kprobe_has_gone()105 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument109 const char *name = trace_kprobe_symbol(tk); in trace_kprobe_within_module()[all …]
21 void rethook_flush_task(struct task_struct *tk) in rethook_flush_task() argument26 node = __llist_del_all(&tk->rethooks); in rethook_flush_task()
1321 const struct timespec64 *tk = &context->time.tk_injoffset; in audit_log_time() local1351 if (tk->tv_sec != 0 || tk->tv_nsec != 0) { in audit_log_time()1359 (long long)tk->tv_sec, tk->tv_nsec); in audit_log_time()
1907 void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument1918 node = __llist_del_all(&tk->kretprobe_instances); in kprobe_flush_task()