Lines Matching defs:io_stats
55 struct io_stats io_stats;
88 struct io_stats io_stats;
1142 static struct io_stats *find_process_io_stats(pid_t pid)
1156 return &ppi->io_stats;
1177 static inline void __account_m(struct io_stats *ios, struct blk_io_trace *t,
1192 __account_m(&pci->io_stats, t, rw);
1195 struct io_stats *ios = find_process_io_stats(t->pid);
1201 static inline void __account_pc_queue(struct io_stats *ios,
1216 __account_pc_queue(&pci->io_stats, t, rw);
1219 struct io_stats *ios = find_process_io_stats(t->pid);
1225 static inline void __account_pc_issue(struct io_stats *ios, int rw,
1240 __account_pc_issue(&pci->io_stats, rw, t->bytes);
1243 struct io_stats *ios = find_process_io_stats(t->pid);
1249 static inline void __account_pc_requeue(struct io_stats *ios,
1264 __account_pc_requeue(&pci->io_stats, t, rw);
1267 struct io_stats *ios = find_process_io_stats(t->pid);
1273 static inline void __account_pc_c(struct io_stats *ios, int rw)
1284 __account_pc_c(&pci->io_stats, rw);
1287 struct io_stats *ios = find_process_io_stats(t->pid);
1293 static inline void __account_queue(struct io_stats *ios, struct blk_io_trace *t,
1308 __account_queue(&pci->io_stats, t, rw);
1311 struct io_stats *ios = find_process_io_stats(t->pid);
1317 static inline void __account_c(struct io_stats *ios, int rw, int bytes)
1331 __account_c(&pci->io_stats, rw, bytes);
1334 struct io_stats *ios = find_process_io_stats(t->pid);
1340 static inline void __account_issue(struct io_stats *ios, int rw,
1355 __account_issue(&pci->io_stats, rw, t->bytes);
1358 struct io_stats *ios = find_process_io_stats(t->pid);
1364 static inline void __account_unplug(struct io_stats *ios, int timer)
1375 __account_unplug(&pci->io_stats, timer);
1378 struct io_stats *ios = find_process_io_stats(t->pid);
1384 static inline void __account_requeue(struct io_stats *ios,
1399 __account_requeue(&pci->io_stats, t, rw);
1402 struct io_stats *ios = find_process_io_stats(t->pid);
1648 static void dump_io_stats(struct per_dev_info *pdi, struct io_stats *ios,
1759 dump_io_stats(NULL, &ppi->io_stats, name);
1771 struct io_stats total, *ios;
1790 ios = &pci->io_stats;