rq 199 include/linux/blk-mq.h static inline void *blk_mq_rq_to_pdu(struct request *rq) rq 201 include/linux/blk-mq.h return (void *) rq + sizeof(*rq); rq 600 include/linux/blkdev.h #define blk_noretry_request(rq) \ rq 601 include/linux/blkdev.h ((rq)->cmd_flags & (REQ_FAILFAST_DEV|REQ_FAILFAST_TRANSPORT| \ rq 604 include/linux/blkdev.h #define blk_account_rq(rq) \ rq 605 include/linux/blkdev.h (((rq)->cmd_flags & REQ_STARTED) && \ rq 606 include/linux/blkdev.h ((rq)->cmd_type == REQ_TYPE_FS)) rq 608 include/linux/blkdev.h #define blk_pm_request(rq) \ rq 609 include/linux/blkdev.h ((rq)->cmd_type == REQ_TYPE_PM_SUSPEND || \ rq 610 include/linux/blkdev.h (rq)->cmd_type == REQ_TYPE_PM_RESUME) rq 612 include/linux/blkdev.h #define blk_rq_cpu_valid(rq) ((rq)->cpu != -1) rq 613 include/linux/blkdev.h #define blk_bidi_rq(rq) ((rq)->next_rq != NULL) rq 615 include/linux/blkdev.h #define blk_queued_rq(rq) (!list_empty(&(rq)->queuelist)) rq 619 include/linux/blkdev.h #define rq_data_dir(rq) (((rq)->cmd_flags & 1) != 0) rq 643 include/linux/blkdev.h static inline bool rq_is_sync(struct request *rq) rq 645 include/linux/blkdev.h return rw_is_sync(rq->cmd_flags); rq 669 include/linux/blkdev.h static inline bool rq_mergeable(struct request *rq) rq 671 include/linux/blkdev.h if (rq->cmd_type != REQ_TYPE_FS) rq 674 include/linux/blkdev.h if (rq->cmd_flags & REQ_NOMERGE_FLAGS) rq 764 include/linux/blkdev.h #define __rq_for_each_bio(_bio, rq) \ rq 765 include/linux/blkdev.h if ((rq->bio)) \ rq 766 include/linux/blkdev.h for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next) rq 780 include/linux/blkdev.h extern void rq_flush_dcache_pages(struct request *rq); rq 782 include/linux/blkdev.h static inline void rq_flush_dcache_pages(struct request *rq) rq 790 include/linux/blkdev.h extern void blk_rq_init(struct request_queue *q, struct request *rq); rq 798 include/linux/blkdev.h extern void blk_add_request_payload(struct request *rq, struct page *page, rq 800 include/linux/blkdev.h extern int blk_rq_check_limits(struct request_queue *q, struct request *rq); rq 802 include/linux/blkdev.h extern int blk_rq_prep_clone(struct request *rq, struct request *rq_src, rq 806 include/linux/blkdev.h extern void blk_rq_unprep_clone(struct request *rq); rq 808 include/linux/blkdev.h struct request *rq); rq 873 include/linux/blkdev.h static inline sector_t blk_rq_pos(const struct request *rq) rq 875 include/linux/blkdev.h return rq->__sector; rq 878 include/linux/blkdev.h static inline unsigned int blk_rq_bytes(const struct request *rq) rq 880 include/linux/blkdev.h return rq->__data_len; rq 883 include/linux/blkdev.h static inline int blk_rq_cur_bytes(const struct request *rq) rq 885 include/linux/blkdev.h return rq->bio ? bio_cur_bytes(rq->bio) : 0; rq 888 include/linux/blkdev.h extern unsigned int blk_rq_err_bytes(const struct request *rq); rq 890 include/linux/blkdev.h static inline unsigned int blk_rq_sectors(const struct request *rq) rq 892 include/linux/blkdev.h return blk_rq_bytes(rq) >> 9; rq 895 include/linux/blkdev.h static inline unsigned int blk_rq_cur_sectors(const struct request *rq) rq 897 include/linux/blkdev.h return blk_rq_cur_bytes(rq) >> 9; rq 926 include/linux/blkdev.h static inline unsigned int blk_rq_get_max_sectors(struct request *rq) rq 928 include/linux/blkdev.h struct request_queue *q = rq->q; rq 930 include/linux/blkdev.h if (unlikely(rq->cmd_type == REQ_TYPE_BLOCK_PC)) rq 934 include/linux/blkdev.h return blk_queue_get_max_sectors(q, rq->cmd_flags); rq 936 include/linux/blkdev.h return min(blk_max_size_offset(q, blk_rq_pos(rq)), rq 937 include/linux/blkdev.h blk_queue_get_max_sectors(q, rq->cmd_flags)); rq 940 include/linux/blkdev.h static inline unsigned int blk_rq_count_bios(struct request *rq) rq 945 include/linux/blkdev.h __rq_for_each_bio(bio, rq) rq 955 include/linux/blkdev.h extern void blk_start_request(struct request *rq); rq 971 include/linux/blkdev.h extern bool blk_update_request(struct request *rq, int error, rq 973 include/linux/blkdev.h extern void blk_finish_request(struct request *rq, int error); rq 974 include/linux/blkdev.h extern bool blk_end_request(struct request *rq, int error, rq 976 include/linux/blkdev.h extern void blk_end_request_all(struct request *rq, int error); rq 977 include/linux/blkdev.h extern bool blk_end_request_cur(struct request *rq, int error); rq 978 include/linux/blkdev.h extern bool blk_end_request_err(struct request *rq, int error); rq 979 include/linux/blkdev.h extern bool __blk_end_request(struct request *rq, int error, rq 981 include/linux/blkdev.h extern void __blk_end_request_all(struct request *rq, int error); rq 982 include/linux/blkdev.h extern bool __blk_end_request_cur(struct request *rq, int error); rq 983 include/linux/blkdev.h extern bool __blk_end_request_err(struct request *rq, int error); rq 1139 include/linux/blkdev.h #define blk_rq_tagged(rq) ((rq)->cmd_flags & REQ_QUEUED) rq 1514 include/linux/blkdev.h static inline bool blk_integrity_rq(struct request *rq) rq 1516 include/linux/blkdev.h return rq->cmd_flags & REQ_INTEGRITY; rq 1538 include/linux/blkdev.h static inline int blk_integrity_rq(struct request *rq) rq 1581 include/linux/blkdev.h static inline bool blk_integrity_merge_rq(struct request_queue *rq, rq 1587 include/linux/blkdev.h static inline bool blk_integrity_merge_bio(struct request_queue *rq, rq 60 include/linux/blktrace_api.h extern void blk_add_driver_data(struct request_queue *q, struct request *rq, rq 76 include/linux/blktrace_api.h # define blk_add_driver_data(q, rq, data, len) do {} while (0) rq 106 include/linux/blktrace_api.h static inline int blk_cmd_buf_len(struct request *rq) rq 108 include/linux/blktrace_api.h return (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq->cmd_len * 3 : 1; rq 111 include/linux/blktrace_api.h extern void blk_dump_cmd(char *buf, struct request *rq); rq 400 include/linux/device-mapper.h union map_info *dm_get_rq_mapinfo(struct request *rq); rq 601 include/linux/device-mapper.h void dm_dispatch_request(struct request *rq); rq 602 include/linux/device-mapper.h void dm_requeue_unmapped_request(struct request *rq); rq 603 include/linux/device-mapper.h void dm_kill_unmapped_request(struct request *rq, int error); rq 137 include/linux/elevator.h extern int elv_set_request(struct request_queue *q, struct request *rq, rq 201 include/linux/elevator.h #define rq_end_sector(rq) (blk_rq_pos(rq) + blk_rq_sectors(rq)) rq 205 include/linux/elevator.h #define rq_fifo_clear(rq) list_del_init(&(rq)->queuelist) rq 309 include/linux/ide.h struct request *rq; /* copy of request */ rq 337 include/linux/ide.h struct request *rq; rq 488 include/linux/ide.h struct request *rq; /* current request */ rq 754 include/linux/ide.h struct request *rq; rq 1134 include/linux/ide.h void ide_prep_sense(ide_drive_t *drive, struct request *rq); rq 1168 include/linux/ide.h extern void ide_requeue_and_plug(ide_drive_t *drive, struct request *rq); rq 162 include/linux/isdn_ppp.h struct ippp_buf_queue rq[NUM_RCV_BUFFS]; /* packet queue for isdn_ppp_read() */ rq 45 include/linux/mii.h static inline struct mii_ioctl_data *if_mii(struct ifreq *rq) rq 47 include/linux/mii.h return (struct mii_ioctl_data *) &rq->ifr_ifru; rq 49 include/linux/mtd/blktrans.h struct request_queue *rq; rq 973 include/linux/pci.h int pcie_set_readrq(struct pci_dev *dev, int rq); rq 119 include/linux/sunrpc/svcauth.h int (*accept)(struct svc_rqst *rq, __be32 *authp); rq 120 include/linux/sunrpc/svcauth.h int (*release)(struct svc_rqst *rq); rq 122 include/linux/sunrpc/svcauth.h int (*set_client)(struct svc_rqst *rq); rq 66 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq), rq 68 include/trace/events/block.h TP_ARGS(q, rq), rq 76 include/trace/events/block.h __dynamic_array( char, cmd, blk_cmd_buf_len(rq) ) rq 80 include/trace/events/block.h __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0; rq 81 include/trace/events/block.h __entry->sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq 82 include/trace/events/block.h 0 : blk_rq_pos(rq); rq 83 include/trace/events/block.h __entry->nr_sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq 84 include/trace/events/block.h 0 : blk_rq_sectors(rq); rq 85 include/trace/events/block.h __entry->errors = rq->errors; rq 87 include/trace/events/block.h blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, blk_rq_bytes(rq)); rq 88 include/trace/events/block.h blk_dump_cmd(__get_str(cmd), rq); rq 110 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq), rq 112 include/trace/events/block.h TP_ARGS(q, rq) rq 126 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq), rq 128 include/trace/events/block.h TP_ARGS(q, rq) rq 145 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq, rq 148 include/trace/events/block.h TP_ARGS(q, rq, nr_bytes), rq 156 include/trace/events/block.h __dynamic_array( char, cmd, blk_cmd_buf_len(rq) ) rq 160 include/trace/events/block.h __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0; rq 161 include/trace/events/block.h __entry->sector = blk_rq_pos(rq); rq 163 include/trace/events/block.h __entry->errors = rq->errors; rq 165 include/trace/events/block.h blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, nr_bytes); rq 166 include/trace/events/block.h blk_dump_cmd(__get_str(cmd), rq); rq 178 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq), rq 180 include/trace/events/block.h TP_ARGS(q, rq), rq 189 include/trace/events/block.h __dynamic_array( char, cmd, blk_cmd_buf_len(rq) ) rq 193 include/trace/events/block.h __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0; rq 194 include/trace/events/block.h __entry->sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq 195 include/trace/events/block.h 0 : blk_rq_pos(rq); rq 196 include/trace/events/block.h __entry->nr_sector = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq 197 include/trace/events/block.h 0 : blk_rq_sectors(rq); rq 198 include/trace/events/block.h __entry->bytes = (rq->cmd_type == REQ_TYPE_BLOCK_PC) ? rq 199 include/trace/events/block.h blk_rq_bytes(rq) : 0; rq 201 include/trace/events/block.h blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, blk_rq_bytes(rq)); rq 202 include/trace/events/block.h blk_dump_cmd(__get_str(cmd), rq); rq 225 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq), rq 227 include/trace/events/block.h TP_ARGS(q, rq) rq 240 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq), rq 242 include/trace/events/block.h TP_ARGS(q, rq) rq 324 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), rq 326 include/trace/events/block.h TP_ARGS(q, rq, bio), rq 361 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), rq 363 include/trace/events/block.h TP_ARGS(q, rq, bio) rq 377 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq, struct bio *bio), rq 379 include/trace/events/block.h TP_ARGS(q, rq, bio) rq 637 include/trace/events/block.h TP_PROTO(struct request_queue *q, struct request *rq, dev_t dev, rq 640 include/trace/events/block.h TP_ARGS(q, rq, dev, from), rq 653 include/trace/events/block.h __entry->dev = disk_devt(rq->rq_disk); rq 654 include/trace/events/block.h __entry->sector = blk_rq_pos(rq); rq 655 include/trace/events/block.h __entry->nr_sector = blk_rq_sectors(rq); rq 658 include/trace/events/block.h __entry->nr_bios = blk_rq_count_bios(rq); rq 659 include/trace/events/block.h blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, blk_rq_bytes(rq));