Searched refs:mq_rq (Results 1 – 2 of 2) sorted by relevance
208 struct mmc_queue_req *mq_rq = req_to_mmc_queue_req(req); in mmc_mq_init_request() local213 mq_rq->sg = mmc_alloc_sg(mmc_get_max_segments(host), GFP_KERNEL); in mmc_mq_init_request()214 if (!mq_rq->sg) in mmc_mq_init_request()223 struct mmc_queue_req *mq_rq = req_to_mmc_queue_req(req); in mmc_mq_exit_request() local225 kfree(mq_rq->sg); in mmc_mq_exit_request()226 mq_rq->sg = NULL; in mmc_mq_exit_request()
1108 static void mmc_blk_check_sbc(struct mmc_queue_req *mq_rq) in mmc_blk_check_sbc() argument1110 struct mmc_blk_ioc_data **idata = mq_rq->drv_op_data; in mmc_blk_check_sbc()1113 for (i = 1; i < mq_rq->ioc_count; i++) { in mmc_blk_check_sbc()1129 struct mmc_queue_req *mq_rq; in mmc_blk_issue_drv_op() local1139 mq_rq = req_to_mmc_queue_req(req); in mmc_blk_issue_drv_op()1140 rpmb_ioctl = (mq_rq->drv_op == MMC_DRV_OP_IOCTL_RPMB); in mmc_blk_issue_drv_op()1142 switch (mq_rq->drv_op) { in mmc_blk_issue_drv_op()1150 mmc_blk_check_sbc(mq_rq); in mmc_blk_issue_drv_op()1154 idata = mq_rq->drv_op_data; in mmc_blk_issue_drv_op()1155 for (i = 0, ret = 0; i < mq_rq->ioc_count; i++) { in mmc_blk_issue_drv_op()[all …]