Lines Matching refs:io_stats

55 	struct io_stats io_stats;  member
88 struct io_stats io_stats; member
1144 static struct io_stats *find_process_io_stats(pid_t pid) in find_process_io_stats()
1158 return &ppi->io_stats; in find_process_io_stats()
1179 static inline void __account_m(struct io_stats *ios, struct blk_io_trace *t, in __account_m()
1196 __account_m(&pci->io_stats, t, rw); in account_m()
1199 struct io_stats *ios = find_process_io_stats(t->pid); in account_m()
1205 static inline void __account_pc_queue(struct io_stats *ios, in __account_pc_queue()
1222 __account_pc_queue(&pci->io_stats, t, rw); in account_pc_queue()
1225 struct io_stats *ios = find_process_io_stats(t->pid); in account_pc_queue()
1231 static inline void __account_pc_issue(struct io_stats *ios, int rw, in __account_pc_issue()
1248 __account_pc_issue(&pci->io_stats, rw, t->bytes); in account_pc_issue()
1251 struct io_stats *ios = find_process_io_stats(t->pid); in account_pc_issue()
1257 static inline void __account_pc_requeue(struct io_stats *ios, in __account_pc_requeue()
1274 __account_pc_requeue(&pci->io_stats, t, rw); in account_pc_requeue()
1277 struct io_stats *ios = find_process_io_stats(t->pid); in account_pc_requeue()
1283 static inline void __account_pc_c(struct io_stats *ios, int rw) in __account_pc_c()
1294 __account_pc_c(&pci->io_stats, rw); in account_pc_c()
1297 struct io_stats *ios = find_process_io_stats(t->pid); in account_pc_c()
1303 static inline void __account_queue(struct io_stats *ios, struct blk_io_trace *t, in __account_queue()
1320 __account_queue(&pci->io_stats, t, rw); in account_queue()
1323 struct io_stats *ios = find_process_io_stats(t->pid); in account_queue()
1329 static inline void __account_c(struct io_stats *ios, int rw, int bytes) in __account_c()
1345 __account_c(&pci->io_stats, rw, bytes); in account_c()
1348 struct io_stats *ios = find_process_io_stats(t->pid); in account_c()
1354 static inline void __account_issue(struct io_stats *ios, int rw, in __account_issue()
1371 __account_issue(&pci->io_stats, rw, t->bytes); in account_issue()
1374 struct io_stats *ios = find_process_io_stats(t->pid); in account_issue()
1380 static inline void __account_unplug(struct io_stats *ios, int timer) in __account_unplug()
1391 __account_unplug(&pci->io_stats, timer); in account_unplug()
1394 struct io_stats *ios = find_process_io_stats(t->pid); in account_unplug()
1400 static inline void __account_requeue(struct io_stats *ios, in __account_requeue()
1417 __account_requeue(&pci->io_stats, t, rw); in account_requeue()
1420 struct io_stats *ios = find_process_io_stats(t->pid); in account_requeue()
1666 static void dump_io_stats(struct per_dev_info *pdi, struct io_stats *ios, in dump_io_stats()
1806 dump_io_stats(NULL, &ppi->io_stats, name); in show_process_stats()
1818 struct io_stats total, *ios; in show_device_and_cpu_stats()
1837 ios = &pci->io_stats; in show_device_and_cpu_stats()