Lines Matching refs:per_dev_info

46 struct per_dev_info {  struct
257 static struct per_dev_info *devices;
258 static char *get_dev_name(struct per_dev_info *, char *, int);
259 static int trace_rb_insert_last(struct per_dev_info *, struct trace *);
321 static void resize_cpu_info(struct per_dev_info *pdi, int cpu) in resize_cpu_info()
357 static struct per_cpu_info *get_cpu_info(struct per_dev_info *pdi, int cpu) in get_cpu_info()
372 int size = (ndevices + 1) * sizeof(struct per_dev_info); in resize_devices()
379 memset(&devices[ndevices], 0, sizeof(struct per_dev_info)); in resize_devices()
385 static struct per_dev_info *get_dev_info(dev_t dev) in get_dev_info()
387 struct per_dev_info *pdi; in get_dev_info()
482 static void collect_pdi_skips(struct per_dev_info *pdi) in collect_pdi_skips()
504 static void cpu_mark_online(struct per_dev_info *pdi, unsigned int cpu) in cpu_mark_online()
524 static inline void cpu_mark_offline(struct per_dev_info *pdi, int cpu) in cpu_mark_offline()
529 static inline int cpu_is_online(struct per_dev_info *pdi, int cpu) in cpu_is_online()
778 static inline void __put_trace_last(struct per_dev_info *pdi, struct trace *t) in __put_trace_last()
789 static void put_trace(struct per_dev_info *pdi, struct trace *t) in put_trace()
837 static int trace_rb_insert_last(struct per_dev_info *pdi, struct trace *t) in trace_rb_insert_last()
903 static inline struct trace *trace_rb_find_last(struct per_dev_info *pdi, in trace_rb_find_last()
910 static inline int track_rb_insert(struct per_dev_info *pdi,struct io_track *iot) in track_rb_insert()
938 static struct io_track *__find_track(struct per_dev_info *pdi, __u64 sector) in __find_track()
957 static struct io_track *find_track(struct per_dev_info *pdi, pid_t pid, in find_track()
975 static void log_track_frontmerge(struct per_dev_info *pdi, in log_track_frontmerge()
997 static void log_track_getrq(struct per_dev_info *pdi, struct blk_io_trace *t) in log_track_getrq()
1008 static inline int is_remapper(struct per_dev_info *pdi) in is_remapper()
1019 static void log_track_queue(struct per_dev_info *pdi, struct blk_io_trace *t) in log_track_queue()
1035 static unsigned long long log_track_insert(struct per_dev_info *pdi, in log_track_insert()
1066 static unsigned long long log_track_issue(struct per_dev_info *pdi, in log_track_issue()
1103 static unsigned long long log_track_complete(struct per_dev_info *pdi, in log_track_complete()
1159 static char *get_dev_name(struct per_dev_info *pdi, char *buffer, int size) in get_dev_name()
1168 static void check_time(struct per_dev_info *pdi, struct blk_io_trace *bit) in check_time()
1408 static void log_complete(struct per_dev_info *pdi, struct per_cpu_info *pci, in log_complete()
1414 static void log_insert(struct per_dev_info *pdi, struct per_cpu_info *pci, in log_insert()
1426 static void log_issue(struct per_dev_info *pdi, struct per_cpu_info *pci, in log_issue()
1432 static void log_merge(struct per_dev_info *pdi, struct per_cpu_info *pci, in log_merge()
1472 static void dump_trace_pc(struct blk_io_trace *t, struct per_dev_info *pdi, in dump_trace_pc()
1521 static void dump_trace_fs(struct blk_io_trace *t, struct per_dev_info *pdi, in dump_trace_fs()
1605 struct per_dev_info *pdi) in dump_trace()
1648 static void dump_io_stats(struct per_dev_info *pdi, struct io_stats *ios, in dump_io_stats()
1769 struct per_dev_info *pdi; in show_device_and_cpu_stats()
1908 struct per_dev_info *pdi = NULL; in sort_entries()
1953 static int check_cpu_map(struct per_dev_info *pdi) in check_cpu_map()
1990 static int check_sequence(struct per_dev_info *pdi, struct trace *t, int force) in check_sequence()
2041 struct per_dev_info *pdi = NULL; in show_entries_rb()
2156 struct per_dev_info *pdi = NULL; in read_events()
2245 struct per_dev_info *pdi;
2316 struct per_dev_info *pdi = msp->pdi; in ms_prime()
2393 static struct ms_stream *ms_alloc(struct per_dev_info *pdi, int cpu) in ms_alloc()
2408 static int setup_file(struct per_dev_info *pdi, int cpu) in setup_file()
2455 struct per_dev_info *pdi; in handle()
2508 struct per_dev_info *pdi; in do_file()