• Home
  • Raw
  • Download

Lines Matching refs:m

31 static void SEQ_printf(struct seq_file *m, const char *fmt, ...)  in SEQ_printf()  argument
37 if (m) in SEQ_printf()
38 seq_vprintf(m, fmt, args); in SEQ_printf()
46 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, in print_timer() argument
49 SEQ_printf(m, " #%d: <%pK>, %ps", idx, taddr, timer->function); in print_timer()
50 SEQ_printf(m, ", S:%02x", timer->state); in print_timer()
51 SEQ_printf(m, "\n"); in print_timer()
52 SEQ_printf(m, " # expires at %Lu-%Lu nsecs [in %Ld to %Ld nsecs]\n", in print_timer()
60 print_active_timers(struct seq_file *m, struct hrtimer_clock_base *base, in print_active_timers() argument
91 print_timer(m, timer, &tmp, i, now); in print_active_timers()
99 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() argument
101 SEQ_printf(m, " .base: %pK\n", base); in print_base()
102 SEQ_printf(m, " .index: %d\n", base->index); in print_base()
104 SEQ_printf(m, " .resolution: %u nsecs\n", hrtimer_resolution); in print_base()
106 SEQ_printf(m, " .get_time: %ps\n", base->get_time); in print_base()
108 SEQ_printf(m, " .offset: %Lu nsecs\n", in print_base()
111 SEQ_printf(m, "active timers:\n"); in print_base()
112 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base()
115 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() argument
120 SEQ_printf(m, "cpu: %d\n", cpu); in print_cpu()
122 SEQ_printf(m, " clock %d:\n", i); in print_cpu()
123 print_base(m, cpu_base->clock_base + i, now); in print_cpu()
126 SEQ_printf(m, " .%-15s: %Lu\n", #x, \ in print_cpu()
129 SEQ_printf(m, " .%-15s: %Lu nsecs\n", #x, \ in print_cpu()
145 SEQ_printf(m, " .%-15s: %Lu\n", #x, \ in print_cpu()
148 SEQ_printf(m, " .%-15s: %Lu nsecs\n", #x, \ in print_cpu()
166 SEQ_printf(m, "jiffies: %Lu\n", in print_cpu()
173 SEQ_printf(m, "\n"); in print_cpu()
178 print_tickdevice(struct seq_file *m, struct tick_device *td, int cpu) in print_tickdevice() argument
184 SEQ_printf(m, "Tick Device: mode: %d\n", td->mode); in print_tickdevice()
186 SEQ_printf(m, "Broadcast device\n"); in print_tickdevice()
188 SEQ_printf(m, "Per CPU device: %d\n", cpu); in print_tickdevice()
190 SEQ_printf(m, "Clock Event Device: "); in print_tickdevice()
192 SEQ_printf(m, "<NULL>\n"); in print_tickdevice()
195 SEQ_printf(m, "%s\n", dev->name); in print_tickdevice()
196 SEQ_printf(m, " max_delta_ns: %llu\n", in print_tickdevice()
198 SEQ_printf(m, " min_delta_ns: %llu\n", in print_tickdevice()
200 SEQ_printf(m, " mult: %u\n", dev->mult); in print_tickdevice()
201 SEQ_printf(m, " shift: %u\n", dev->shift); in print_tickdevice()
202 SEQ_printf(m, " mode: %d\n", clockevent_get_state(dev)); in print_tickdevice()
203 SEQ_printf(m, " next_event: %Ld nsecs\n", in print_tickdevice()
206 SEQ_printf(m, " set_next_event: %ps\n", dev->set_next_event); in print_tickdevice()
209 SEQ_printf(m, " shutdown: %ps\n", in print_tickdevice()
213 SEQ_printf(m, " periodic: %ps\n", in print_tickdevice()
217 SEQ_printf(m, " oneshot: %ps\n", in print_tickdevice()
221 SEQ_printf(m, " oneshot stopped: %ps\n", in print_tickdevice()
225 SEQ_printf(m, " resume: %ps\n", in print_tickdevice()
228 SEQ_printf(m, " event_handler: %ps\n", dev->event_handler); in print_tickdevice()
229 SEQ_printf(m, "\n"); in print_tickdevice()
230 SEQ_printf(m, " retries: %lu\n", dev->retries); in print_tickdevice()
236 SEQ_printf(m, "Wakeup Device: %s\n", wd ? wd->name : "<NULL>"); in print_tickdevice()
239 SEQ_printf(m, "\n"); in print_tickdevice()
242 static void timer_list_show_tickdevices_header(struct seq_file *m) in timer_list_show_tickdevices_header() argument
245 print_tickdevice(m, tick_get_broadcast_device(), -1); in timer_list_show_tickdevices_header()
246 SEQ_printf(m, "tick_broadcast_mask: %*pb\n", in timer_list_show_tickdevices_header()
249 SEQ_printf(m, "tick_broadcast_oneshot_mask: %*pb\n", in timer_list_show_tickdevices_header()
252 SEQ_printf(m, "\n"); in timer_list_show_tickdevices_header()
257 static inline void timer_list_header(struct seq_file *m, u64 now) in timer_list_header() argument
259 SEQ_printf(m, "Timer List Version: v0.9\n"); in timer_list_header()
260 SEQ_printf(m, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES); in timer_list_header()
261 SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now); in timer_list_header()
262 SEQ_printf(m, "\n"); in timer_list_header()
284 static int timer_list_show(struct seq_file *m, void *v) in timer_list_show() argument
289 timer_list_header(m, iter->now); in timer_list_show()
291 print_cpu(m, iter->cpu, iter->now); in timer_list_show()
294 timer_list_show_tickdevices_header(m); in timer_list_show()
296 print_tickdevice(m, tick_get_device(iter->cpu), iter->cpu); in timer_list_show()