1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/blk-mq.h>
4 #include <linux/blkdev.h>
5 
rust_helper_blk_mq_rq_to_pdu(struct request * rq)6 void *rust_helper_blk_mq_rq_to_pdu(struct request *rq)
7 {
8 	return blk_mq_rq_to_pdu(rq);
9 }
10 
rust_helper_blk_mq_rq_from_pdu(void * pdu)11 struct request *rust_helper_blk_mq_rq_from_pdu(void *pdu)
12 {
13 	return blk_mq_rq_from_pdu(pdu);
14 }
15