Lines Matching refs:m_page
299 page = mctx->m_page[index]; in ufshpb_fill_ppn_from_page()
696 ret = bio_add_pc_page(q, map_req->bio, map_req->rb.mctx->m_page[i], in ufshpb_execute_map_req()
738 mctx->m_page = kmem_cache_alloc(hpb->m_page_cache, GFP_KERNEL); in ufshpb_get_map_ctx()
739 if (!mctx->m_page) in ufshpb_get_map_ctx()
750 mctx->m_page[i] = mempool_alloc(ufshpb_page_pool, GFP_KERNEL); in ufshpb_get_map_ctx()
751 if (!mctx->m_page[i]) { in ufshpb_get_map_ctx()
753 mempool_free(mctx->m_page[j], ufshpb_page_pool); in ufshpb_get_map_ctx()
756 clear_page(page_address(mctx->m_page[i])); in ufshpb_get_map_ctx()
764 kmem_cache_free(hpb->m_page_cache, mctx->m_page); in ufshpb_get_map_ctx()
776 mempool_free(mctx->m_page[i], ufshpb_page_pool); in ufshpb_put_map_ctx()
779 kmem_cache_free(hpb->m_page_cache, mctx->m_page); in ufshpb_put_map_ctx()
2091 pre_req->wb.m_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in ufshpb_pre_req_mempool_init()
2092 if (!pre_req->wb.m_page) { in ufshpb_pre_req_mempool_init()
2105 __free_page(pre_req->wb.m_page); in ufshpb_pre_req_mempool_init()
2120 if (!pre_req->wb.m_page) in ufshpb_pre_req_mempool_destroy()
2121 __free_page(hpb->pre_req[i].wb.m_page); in ufshpb_pre_req_mempool_destroy()