Loading drivers/mmc/core/queue.c +4 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,8 @@ void mmc_cmdq_setup_queue(struct mmc_queue *mq, struct mmc_card *card) host->max_req_size / 512)); blk_queue_max_segment_size(mq->queue, host->max_seg_size); blk_queue_max_segments(mq->queue, host->max_segs); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); } static struct scatterlist *mmc_alloc_sg(int sg_len, gfp_t gfp) Loading Loading @@ -464,6 +466,8 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, min(host->max_blk_count, host->max_req_size / 512)); blk_queue_max_segments(mq->queue, host->max_segs); blk_queue_max_segment_size(mq->queue, host->max_seg_size); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); sema_init(&mq->thread_sem, 1); Loading include/linux/mmc/host.h +2 −0 Original line number Diff line number Diff line Loading @@ -705,6 +705,8 @@ struct mmc_host { void *cmdq_private; struct mmc_request *err_mrq; bool inlinecrypt_support; /* Inline encryption support */ atomic_t rpmb_req_pending; struct mutex rpmb_req_mutex; unsigned long private[0] ____cacheline_aligned; Loading Loading
drivers/mmc/core/queue.c +4 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,8 @@ void mmc_cmdq_setup_queue(struct mmc_queue *mq, struct mmc_card *card) host->max_req_size / 512)); blk_queue_max_segment_size(mq->queue, host->max_seg_size); blk_queue_max_segments(mq->queue, host->max_segs); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); } static struct scatterlist *mmc_alloc_sg(int sg_len, gfp_t gfp) Loading Loading @@ -464,6 +466,8 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, min(host->max_blk_count, host->max_req_size / 512)); blk_queue_max_segments(mq->queue, host->max_segs); blk_queue_max_segment_size(mq->queue, host->max_seg_size); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); sema_init(&mq->thread_sem, 1); Loading
include/linux/mmc/host.h +2 −0 Original line number Diff line number Diff line Loading @@ -705,6 +705,8 @@ struct mmc_host { void *cmdq_private; struct mmc_request *err_mrq; bool inlinecrypt_support; /* Inline encryption support */ atomic_t rpmb_req_pending; struct mutex rpmb_req_mutex; unsigned long private[0] ____cacheline_aligned; Loading