Lines Matching defs:rq

198 static inline bool blk_rq_is_passthrough(struct request *rq)  in blk_rq_is_passthrough()
208 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) argument
210 #define rq_dma_dir(rq) \ argument
213 #define rq_list_add(listptr, rq) do { \ argument
218 #define rq_list_add_tail(lastpptr, rq) do { \ argument
249 #define rq_list_next(rq) (rq)->rq_next argument
260 struct request *rq, struct request *prev) in rq_list_move()
527 struct request *rq; member
786 static inline enum mq_rq_state blk_mq_rq_state(struct request *rq) in blk_mq_rq_state()
791 static inline int blk_mq_request_started(struct request *rq) in blk_mq_request_started()
796 static inline int blk_mq_request_completed(struct request *rq) in blk_mq_request_completed()
808 static inline void blk_mq_set_request_complete(struct request *rq) in blk_mq_set_request_complete()
817 static inline void blk_mq_complete_request_direct(struct request *rq, in blk_mq_complete_request_direct()
818 void (*complete)(struct request *rq)) in blk_mq_complete_request_direct()
833 static inline bool blk_mq_need_time_stamp(struct request *rq) in blk_mq_need_time_stamp()
838 static inline bool blk_mq_is_reserved_rq(struct request *rq) in blk_mq_is_reserved_rq()
937 static inline void *blk_mq_rq_to_pdu(struct request *rq) in blk_mq_rq_to_pdu()
949 static inline void blk_mq_cleanup_rq(struct request *rq) in blk_mq_cleanup_rq()
955 static inline void blk_rq_bio_prep(struct request *rq, struct bio *bio, in blk_rq_bio_prep()
967 static inline bool rq_is_sync(struct request *rq) in rq_is_sync()
1007 #define __rq_for_each_bio(_bio, rq) \ argument
1031 static inline sector_t blk_rq_pos(const struct request *rq) in blk_rq_pos()
1036 static inline unsigned int blk_rq_bytes(const struct request *rq) in blk_rq_bytes()
1041 static inline int blk_rq_cur_bytes(const struct request *rq) in blk_rq_cur_bytes()
1050 static inline unsigned int blk_rq_sectors(const struct request *rq) in blk_rq_sectors()
1055 static inline unsigned int blk_rq_cur_sectors(const struct request *rq) in blk_rq_cur_sectors()
1060 static inline unsigned int blk_rq_stats_sectors(const struct request *rq) in blk_rq_stats_sectors()
1071 static inline unsigned int blk_rq_payload_bytes(struct request *rq) in blk_rq_payload_bytes()
1082 static inline struct bio_vec req_bvec(struct request *rq) in req_bvec()
1089 static inline unsigned int blk_rq_count_bios(struct request *rq) in blk_rq_count_bios()
1121 static inline unsigned short blk_rq_nr_phys_segments(struct request *rq) in blk_rq_nr_phys_segments()
1132 static inline unsigned short blk_rq_nr_discard_segments(struct request *rq) in blk_rq_nr_discard_segments()
1139 static inline int blk_rq_map_sg(struct request_queue *q, struct request *rq, in blk_rq_map_sg()
1149 static inline unsigned int blk_rq_zone_no(struct request *rq) in blk_rq_zone_no()
1154 static inline unsigned int blk_rq_zone_is_seq(struct request *rq) in blk_rq_zone_is_seq()
1165 static inline bool blk_rq_is_seq_zoned_write(struct request *rq) in blk_rq_is_seq_zoned_write()
1176 static inline void blk_req_zone_write_lock(struct request *rq) in blk_req_zone_write_lock()
1182 static inline void blk_req_zone_write_unlock(struct request *rq) in blk_req_zone_write_unlock()
1188 static inline bool blk_req_zone_is_write_locked(struct request *rq) in blk_req_zone_is_write_locked()
1194 static inline bool blk_req_can_dispatch_to_zone(struct request *rq) in blk_req_can_dispatch_to_zone()
1201 static inline bool blk_rq_is_seq_zoned_write(struct request *rq) in blk_rq_is_seq_zoned_write()
1206 static inline bool blk_req_needs_zone_write_lock(struct request *rq) in blk_req_needs_zone_write_lock()
1211 static inline void blk_req_zone_write_lock(struct request *rq) in blk_req_zone_write_lock()
1215 static inline void blk_req_zone_write_unlock(struct request *rq) in blk_req_zone_write_unlock()
1218 static inline bool blk_req_zone_is_write_locked(struct request *rq) in blk_req_zone_is_write_locked()
1223 static inline bool blk_req_can_dispatch_to_zone(struct request *rq) in blk_req_can_dispatch_to_zone()