Searched refs:tk (Results 1 – 4 of 4) sorted by relevance
95 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime() argument97 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()98 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()99 tk->xtime_sec++; in tk_normalize_xtime()101 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()102 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_raw.shift; in tk_normalize_xtime()103 tk->raw_sec++; in tk_normalize_xtime()107 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime() argument111 ts.tv_sec = tk->xtime_sec; in tk_xtime()112 ts.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in tk_xtime()[all …]
17 struct timekeeper *tk) in update_vdso_data() argument22 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()23 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()24 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()25 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()26 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()27 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()28 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()29 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data()33 vdso_ts->sec = tk->xtime_sec; in update_vdso_data()[all …]
87 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument89 return tk->rp.handler != NULL; in trace_kprobe_is_return()92 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument94 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()97 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument99 return tk->rp.kp.offset; in trace_kprobe_offset()102 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument104 return !!(kprobe_gone(&tk->rp.kp)); in trace_kprobe_has_gone()107 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument111 const char *name = trace_kprobe_symbol(tk); in trace_kprobe_within_module()[all …]
1224 void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument1236 hash = hash_ptr(tk, KPROBE_HASH_BITS); in kprobe_flush_task()1240 if (ri->task == tk) in kprobe_flush_task()