12 #define FSCACHE_DEBUG_LEVEL THREAD
13 #include <linux/module.h>
131 static int fscache_stats_show(
struct seq_file *
m,
void *
v)
133 seq_puts(m,
"FS-Cache statistics\n");
135 seq_printf(m,
"Cookies: idx=%u dat=%u spc=%u\n",
140 seq_printf(m,
"Objects: alc=%u nal=%u avl=%u ded=%u\n",
145 seq_printf(m,
"ChkAux : non=%u ok=%u upd=%u obs=%u\n",
155 seq_printf(m,
"Acquire: n=%u nul=%u noc=%u ok=%u nbf=%u"
164 seq_printf(m,
"Lookups: n=%u neg=%u pos=%u crt=%u tmo=%u\n",
171 seq_printf(m,
"Updates: n=%u nul=%u run=%u\n",
176 seq_printf(m,
"Relinqs: n=%u nul=%u wcr=%u rtr=%u\n",
182 seq_printf(m,
"AttrChg: n=%u ok=%u nbf=%u oom=%u run=%u\n",
189 seq_printf(m,
"Allocs : n=%u ok=%u wt=%u nbf=%u int=%u\n",
195 seq_printf(m,
"Allocs : ops=%u owt=%u abt=%u\n",
200 seq_printf(m,
"Retrvls: n=%u ok=%u wt=%u nod=%u nbf=%u"
209 seq_printf(m,
"Retrvls: ops=%u owt=%u abt=%u\n",
214 seq_printf(m,
"Stores : n=%u ok=%u agn=%u nbf=%u oom=%u\n",
220 seq_printf(m,
"Stores : ops=%u run=%u pgs=%u rxd=%u olm=%u\n",
227 seq_printf(m,
"VmScan : nos=%u gon=%u bsy=%u can=%u\n",
233 seq_printf(m,
"Ops : pend=%u run=%u enq=%u can=%u rej=%u\n",
244 seq_printf(m,
"CacheOp: alo=%d luo=%d luc=%d gro=%d\n",
249 seq_printf(m,
"CacheOp: upo=%d dro=%d pto=%d atc=%d syn=%d\n",
255 seq_printf(m,
"CacheOp: rap=%d ras=%d alp=%d als=%d wrp=%d ucp=%d dsp=%d\n",
276 .open = fscache_stats_open,