Lines Matching refs:blk_trace

69 static void trace_note(struct blk_trace *bt, pid_t pid, int action,  in trace_note()
121 struct blk_trace *bt; in trace_note_tsk()
132 static void trace_note_time(struct blk_trace *bt) in trace_note_time()
148 void __blk_trace_note_message(struct blk_trace *bt, in __blk_trace_note_message()
185 static int act_log_check(struct blk_trace *bt, u32 what, sector_t sector, in act_log_check()
215 static void __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, in __blk_add_trace()
314 static void blk_trace_free(struct request_queue *q, struct blk_trace *bt) in blk_trace_free()
349 static int blk_trace_start(struct blk_trace *bt) in blk_trace_start()
366 static int blk_trace_stop(struct blk_trace *bt) in blk_trace_stop()
380 static void blk_trace_cleanup(struct request_queue *q, struct blk_trace *bt) in blk_trace_cleanup()
390 struct blk_trace *bt; in __blk_trace_remove()
392 bt = rcu_replace_pointer(q->blk_trace, NULL, in __blk_trace_remove()
417 struct blk_trace *bt = filp->private_data; in blk_dropped_read()
436 struct blk_trace *bt; in blk_msg_write()
466 struct blk_trace *bt; in blk_subbuf_start_callback()
499 static void blk_trace_setup_lba(struct blk_trace *bt, in blk_trace_setup_lba()
518 struct blk_trace *bt = NULL; in do_blk_trace_setup()
540 if (rcu_dereference_protected(q->blk_trace, in do_blk_trace_setup()
611 rcu_assign_pointer(q->blk_trace, bt); in do_blk_trace_setup()
692 struct blk_trace *bt; in __blk_trace_startstop()
694 bt = rcu_dereference_protected(q->blk_trace, in __blk_trace_startstop()
774 if (rcu_dereference_protected(q->blk_trace, in blk_trace_shutdown()
783 struct blk_trace *bt; in blk_trace_bio_get_cgid()
786 bt = rcu_dereference_protected(q->blk_trace, 1); in blk_trace_bio_get_cgid()
830 struct blk_trace *bt; in blk_add_trace_rq()
833 bt = rcu_dereference(rq->q->blk_trace); in blk_add_trace_rq()
894 struct blk_trace *bt; in blk_add_trace_bio()
897 bt = rcu_dereference(q->blk_trace); in blk_add_trace_bio()
945 struct blk_trace *bt; in blk_add_trace_plug()
948 bt = rcu_dereference(q->blk_trace); in blk_add_trace_plug()
957 struct blk_trace *bt; in blk_add_trace_unplug()
960 bt = rcu_dereference(q->blk_trace); in blk_add_trace_unplug()
978 struct blk_trace *bt; in blk_add_trace_split()
981 bt = rcu_dereference(q->blk_trace); in blk_add_trace_split()
1007 struct blk_trace *bt; in blk_add_trace_bio_remap()
1011 bt = rcu_dereference(q->blk_trace); in blk_add_trace_bio_remap()
1043 struct blk_trace *bt; in blk_add_trace_rq_remap()
1047 bt = rcu_dereference(rq->q->blk_trace); in blk_add_trace_rq_remap()
1075 struct blk_trace *bt; in blk_add_driver_data()
1078 bt = rcu_dereference(rq->q->blk_trace); in blk_add_driver_data()
1609 struct blk_trace *bt; in blk_trace_remove_queue()
1611 bt = rcu_replace_pointer(q->blk_trace, NULL, in blk_trace_remove_queue()
1630 struct blk_trace *bt = NULL; in blk_trace_setup_queue()
1646 rcu_assign_pointer(q->blk_trace, bt); in blk_trace_setup_queue()
1769 struct blk_trace *bt; in sysfs_blk_trace_attr_show()
1774 bt = rcu_dereference_protected(q->blk_trace, in sysfs_blk_trace_attr_show()
1803 struct blk_trace *bt; in sysfs_blk_trace_attr_store()
1825 bt = rcu_dereference_protected(q->blk_trace, in sysfs_blk_trace_attr_store()
1842 bt = rcu_dereference_protected(q->blk_trace, in sysfs_blk_trace_attr_store()