Lines Matching full:s
20 #define printstat(s, f) printstat_val(s, &gru_stats.f, #f) argument
22 static void printstat_val(struct seq_file *s, atomic_long_t *v, char *id) in printstat_val() argument
26 seq_printf(s, "%16lu %s\n", val, id); in printstat_val()
29 static int statistics_show(struct seq_file *s, void *p) in statistics_show() argument
31 printstat(s, vdata_alloc); in statistics_show()
32 printstat(s, vdata_free); in statistics_show()
33 printstat(s, gts_alloc); in statistics_show()
34 printstat(s, gts_free); in statistics_show()
35 printstat(s, gms_alloc); in statistics_show()
36 printstat(s, gms_free); in statistics_show()
37 printstat(s, gts_double_allocate); in statistics_show()
38 printstat(s, assign_context); in statistics_show()
39 printstat(s, assign_context_failed); in statistics_show()
40 printstat(s, free_context); in statistics_show()
41 printstat(s, load_user_context); in statistics_show()
42 printstat(s, load_kernel_context); in statistics_show()
43 printstat(s, lock_kernel_context); in statistics_show()
44 printstat(s, unlock_kernel_context); in statistics_show()
45 printstat(s, steal_user_context); in statistics_show()
46 printstat(s, steal_kernel_context); in statistics_show()
47 printstat(s, steal_context_failed); in statistics_show()
48 printstat(s, nopfn); in statistics_show()
49 printstat(s, asid_new); in statistics_show()
50 printstat(s, asid_next); in statistics_show()
51 printstat(s, asid_wrap); in statistics_show()
52 printstat(s, asid_reuse); in statistics_show()
53 printstat(s, intr); in statistics_show()
54 printstat(s, intr_cbr); in statistics_show()
55 printstat(s, intr_tfh); in statistics_show()
56 printstat(s, intr_spurious); in statistics_show()
57 printstat(s, intr_mm_lock_failed); in statistics_show()
58 printstat(s, call_os); in statistics_show()
59 printstat(s, call_os_wait_queue); in statistics_show()
60 printstat(s, user_flush_tlb); in statistics_show()
61 printstat(s, user_unload_context); in statistics_show()
62 printstat(s, user_exception); in statistics_show()
63 printstat(s, set_context_option); in statistics_show()
64 printstat(s, check_context_retarget_intr); in statistics_show()
65 printstat(s, check_context_unload); in statistics_show()
66 printstat(s, tlb_dropin); in statistics_show()
67 printstat(s, tlb_preload_page); in statistics_show()
68 printstat(s, tlb_dropin_fail_no_asid); in statistics_show()
69 printstat(s, tlb_dropin_fail_upm); in statistics_show()
70 printstat(s, tlb_dropin_fail_invalid); in statistics_show()
71 printstat(s, tlb_dropin_fail_range_active); in statistics_show()
72 printstat(s, tlb_dropin_fail_idle); in statistics_show()
73 printstat(s, tlb_dropin_fail_fmm); in statistics_show()
74 printstat(s, tlb_dropin_fail_no_exception); in statistics_show()
75 printstat(s, tfh_stale_on_fault); in statistics_show()
76 printstat(s, mmu_invalidate_range); in statistics_show()
77 printstat(s, mmu_invalidate_page); in statistics_show()
78 printstat(s, flush_tlb); in statistics_show()
79 printstat(s, flush_tlb_gru); in statistics_show()
80 printstat(s, flush_tlb_gru_tgh); in statistics_show()
81 printstat(s, flush_tlb_gru_zero_asid); in statistics_show()
82 printstat(s, copy_gpa); in statistics_show()
83 printstat(s, read_gpa); in statistics_show()
84 printstat(s, mesq_receive); in statistics_show()
85 printstat(s, mesq_receive_none); in statistics_show()
86 printstat(s, mesq_send); in statistics_show()
87 printstat(s, mesq_send_failed); in statistics_show()
88 printstat(s, mesq_noop); in statistics_show()
89 printstat(s, mesq_send_unexpected_error); in statistics_show()
90 printstat(s, mesq_send_lb_overflow); in statistics_show()
91 printstat(s, mesq_send_qlimit_reached); in statistics_show()
92 printstat(s, mesq_send_amo_nacked); in statistics_show()
93 printstat(s, mesq_send_put_nacked); in statistics_show()
94 printstat(s, mesq_qf_locked); in statistics_show()
95 printstat(s, mesq_qf_noop_not_full); in statistics_show()
96 printstat(s, mesq_qf_switch_head_failed); in statistics_show()
97 printstat(s, mesq_qf_unexpected_error); in statistics_show()
98 printstat(s, mesq_noop_unexpected_error); in statistics_show()
99 printstat(s, mesq_noop_lb_overflow); in statistics_show()
100 printstat(s, mesq_noop_qlimit_reached); in statistics_show()
101 printstat(s, mesq_noop_amo_nacked); in statistics_show()
102 printstat(s, mesq_noop_put_nacked); in statistics_show()
103 printstat(s, mesq_noop_page_overflow); in statistics_show()
114 static int mcs_statistics_show(struct seq_file *s, void *p) in mcs_statistics_show() argument
122 seq_printf(s, "%-20s%12s%12s%12s\n", "#id", "count", "aver-clks", "max-clks"); in mcs_statistics_show()
127 seq_printf(s, "%-20s%12ld%12ld%12ld\n", id[op], count, in mcs_statistics_show()
140 static int options_show(struct seq_file *s, void *p) in options_show() argument
142 seq_printf(s, "#bitmask: 1=trace, 2=statistics\n"); in options_show()
143 seq_printf(s, "0x%lx\n", gru_options); in options_show()
168 seq_printf(file, "#%5s%5s%6s%7s%9s%6s%8s%8s\n", "gid", "bid", in cch_seq_show()
175 seq_printf(file, " %5d%5d%6d%7d%9d%6d%8d%8s\n", in cch_seq_show()
194 seq_printf(file, "#%5s%5s%7s%6s%6s%8s%6s%6s\n", "gid", "nid", in gru_seq_show()
196 seq_printf(file, "#%5s%5s%7s%6s%6s%8s%6s%6s\n", "", "", "busy", in gru_seq_show()