• Home
  • Raw
  • Download

Lines Matching refs:rq

807 blk_trace_request_get_cgid(struct request *rq)  in blk_trace_request_get_cgid()  argument
809 if (!rq->bio) in blk_trace_request_get_cgid()
812 return blk_trace_bio_get_cgid(rq->q, rq->bio); in blk_trace_request_get_cgid()
831 static void blk_add_trace_rq(struct request *rq, blk_status_t error, in blk_add_trace_rq() argument
837 bt = rcu_dereference(rq->q->blk_trace); in blk_add_trace_rq()
843 if (blk_rq_is_passthrough(rq)) in blk_add_trace_rq()
848 __blk_add_trace(bt, blk_rq_trace_sector(rq), nr_bytes, rq->cmd_flags, in blk_add_trace_rq()
853 static void blk_add_trace_rq_insert(void *ignore, struct request *rq) in blk_add_trace_rq_insert() argument
855 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_INSERT, in blk_add_trace_rq_insert()
856 blk_trace_request_get_cgid(rq)); in blk_add_trace_rq_insert()
859 static void blk_add_trace_rq_issue(void *ignore, struct request *rq) in blk_add_trace_rq_issue() argument
861 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_ISSUE, in blk_add_trace_rq_issue()
862 blk_trace_request_get_cgid(rq)); in blk_add_trace_rq_issue()
865 static void blk_add_trace_rq_merge(void *ignore, struct request *rq) in blk_add_trace_rq_merge() argument
867 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_BACKMERGE, in blk_add_trace_rq_merge()
868 blk_trace_request_get_cgid(rq)); in blk_add_trace_rq_merge()
871 static void blk_add_trace_rq_requeue(void *ignore, struct request *rq) in blk_add_trace_rq_requeue() argument
873 blk_add_trace_rq(rq, 0, blk_rq_bytes(rq), BLK_TA_REQUEUE, in blk_add_trace_rq_requeue()
874 blk_trace_request_get_cgid(rq)); in blk_add_trace_rq_requeue()
877 static void blk_add_trace_rq_complete(void *ignore, struct request *rq, in blk_add_trace_rq_complete() argument
880 blk_add_trace_rq(rq, error, nr_bytes, BLK_TA_COMPLETE, in blk_add_trace_rq_complete()
881 blk_trace_request_get_cgid(rq)); in blk_add_trace_rq_complete()
1044 static void blk_add_trace_rq_remap(void *ignore, struct request *rq, dev_t dev, in blk_add_trace_rq_remap() argument
1051 bt = rcu_dereference(rq->q->blk_trace); in blk_add_trace_rq_remap()
1058 r.device_to = cpu_to_be32(disk_devt(rq->q->disk)); in blk_add_trace_rq_remap()
1061 __blk_add_trace(bt, blk_rq_pos(rq), blk_rq_bytes(rq), in blk_add_trace_rq_remap()
1062 rq->cmd_flags, BLK_TA_REMAP, 0, in blk_add_trace_rq_remap()
1063 sizeof(r), &r, blk_trace_request_get_cgid(rq)); in blk_add_trace_rq_remap()
1077 void blk_add_driver_data(struct request *rq, void *data, size_t len) in blk_add_driver_data() argument
1082 bt = rcu_dereference(rq->q->blk_trace); in blk_add_driver_data()
1088 __blk_add_trace(bt, blk_rq_trace_sector(rq), blk_rq_bytes(rq), 0, in blk_add_driver_data()
1090 blk_trace_request_get_cgid(rq)); in blk_add_driver_data()