• Home
  • Raw
  • Download

Lines Matching +full:8 +full:m

68 static const char rx_list_name[][8] = {
187 static void can_print_rcvlist(struct seq_file *m, struct hlist_head *rx_list, in can_print_rcvlist() argument
194 " %-5s %08x %08x %pK %pK %8ld %s\n" : in can_print_rcvlist()
195 " %-5s %03x %08x %pK %pK %8ld %s\n"; in can_print_rcvlist()
197 seq_printf(m, fmt, DNAME(dev), r->can_id, r->mask, in can_print_rcvlist()
202 static void can_print_recv_banner(struct seq_file *m) in can_print_recv_banner() argument
208 seq_puts(m, " device can_id can_mask function" in can_print_recv_banner()
212 static int can_stats_proc_show(struct seq_file *m, void *v) in can_stats_proc_show() argument
214 struct net *net = m->private; in can_stats_proc_show()
218 seq_putc(m, '\n'); in can_stats_proc_show()
219 seq_printf(m, " %8ld transmitted frames (TXF)\n", pkg_stats->tx_frames); in can_stats_proc_show()
220 seq_printf(m, " %8ld received frames (RXF)\n", pkg_stats->rx_frames); in can_stats_proc_show()
221 seq_printf(m, " %8ld matched frames (RXMF)\n", pkg_stats->matches); in can_stats_proc_show()
223 seq_putc(m, '\n'); in can_stats_proc_show()
226 seq_printf(m, " %8ld %% total match ratio (RXMR)\n", in can_stats_proc_show()
229 seq_printf(m, " %8ld frames/s total tx rate (TXR)\n", in can_stats_proc_show()
231 seq_printf(m, " %8ld frames/s total rx rate (RXR)\n", in can_stats_proc_show()
234 seq_putc(m, '\n'); in can_stats_proc_show()
236 seq_printf(m, " %8ld %% current match ratio (CRXMR)\n", in can_stats_proc_show()
239 seq_printf(m, " %8ld frames/s current tx rate (CTXR)\n", in can_stats_proc_show()
241 seq_printf(m, " %8ld frames/s current rx rate (CRXR)\n", in can_stats_proc_show()
244 seq_putc(m, '\n'); in can_stats_proc_show()
246 seq_printf(m, " %8ld %% max match ratio (MRXMR)\n", in can_stats_proc_show()
249 seq_printf(m, " %8ld frames/s max tx rate (MTXR)\n", in can_stats_proc_show()
251 seq_printf(m, " %8ld frames/s max rx rate (MRXR)\n", in can_stats_proc_show()
254 seq_putc(m, '\n'); in can_stats_proc_show()
257 seq_printf(m, " %8ld current receive list entries (CRCV)\n", in can_stats_proc_show()
259 seq_printf(m, " %8ld maximum receive list entries (MRCV)\n", in can_stats_proc_show()
263 seq_printf(m, "\n %8ld statistic resets (STR)\n", in can_stats_proc_show()
267 seq_printf(m, " %8ld user statistic resets (USTR)\n", in can_stats_proc_show()
270 seq_putc(m, '\n'); in can_stats_proc_show()
274 static int can_reset_stats_proc_show(struct seq_file *m, void *v) in can_reset_stats_proc_show() argument
276 struct net *net = m->private; in can_reset_stats_proc_show()
283 seq_printf(m, "Scheduled statistic reset #%ld.\n", in can_reset_stats_proc_show()
289 seq_printf(m, "Performed statistic reset #%ld.\n", in can_reset_stats_proc_show()
295 static inline void can_rcvlist_proc_show_one(struct seq_file *m, int idx, in can_rcvlist_proc_show_one() argument
300 can_print_recv_banner(m); in can_rcvlist_proc_show_one()
301 can_print_rcvlist(m, &dev_rcv_lists->rx[idx], dev); in can_rcvlist_proc_show_one()
303 seq_printf(m, " (%s: no entry)\n", DNAME(dev)); in can_rcvlist_proc_show_one()
307 static int can_rcvlist_proc_show(struct seq_file *m, void *v) in can_rcvlist_proc_show() argument
310 int idx = (int)(long)PDE_DATA(m->file->f_inode); in can_rcvlist_proc_show()
313 struct net *net = m->private; in can_rcvlist_proc_show()
315 seq_printf(m, "\nreceive list '%s':\n", rx_list_name[idx]); in can_rcvlist_proc_show()
321 can_rcvlist_proc_show_one(m, idx, NULL, dev_rcv_lists); in can_rcvlist_proc_show()
328 can_rcvlist_proc_show_one(m, idx, dev, in can_rcvlist_proc_show()
334 seq_putc(m, '\n'); in can_rcvlist_proc_show()
338 static inline void can_rcvlist_proc_show_array(struct seq_file *m, in can_rcvlist_proc_show_array() argument
354 can_print_recv_banner(m); in can_rcvlist_proc_show_array()
357 can_print_rcvlist(m, &rcv_array[i], dev); in can_rcvlist_proc_show_array()
360 seq_printf(m, " (%s: no entry)\n", DNAME(dev)); in can_rcvlist_proc_show_array()
363 static int can_rcvlist_sff_proc_show(struct seq_file *m, void *v) in can_rcvlist_sff_proc_show() argument
367 struct net *net = m->private; in can_rcvlist_sff_proc_show()
370 seq_puts(m, "\nreceive list 'rx_sff':\n"); in can_rcvlist_sff_proc_show()
376 can_rcvlist_proc_show_array(m, NULL, dev_rcv_lists->rx_sff, in can_rcvlist_sff_proc_show()
385 can_rcvlist_proc_show_array(m, dev, dev_rcv_lists->rx_sff, in can_rcvlist_sff_proc_show()
392 seq_putc(m, '\n'); in can_rcvlist_sff_proc_show()
396 static int can_rcvlist_eff_proc_show(struct seq_file *m, void *v) in can_rcvlist_eff_proc_show() argument
400 struct net *net = m->private; in can_rcvlist_eff_proc_show()
403 seq_puts(m, "\nreceive list 'rx_eff':\n"); in can_rcvlist_eff_proc_show()
409 can_rcvlist_proc_show_array(m, NULL, dev_rcv_lists->rx_eff, in can_rcvlist_eff_proc_show()
418 can_rcvlist_proc_show_array(m, dev, dev_rcv_lists->rx_eff, in can_rcvlist_eff_proc_show()
425 seq_putc(m, '\n'); in can_rcvlist_eff_proc_show()