Lines Matching refs:m_page
299 page = mctx->m_page[index]; in ufshpb_fill_ppn_from_page()
699 ret = bio_add_pc_page(q, map_req->bio, map_req->rb.mctx->m_page[i], in ufshpb_execute_map_req()
741 mctx->m_page = kmem_cache_alloc(hpb->m_page_cache, GFP_KERNEL); in ufshpb_get_map_ctx()
742 if (!mctx->m_page) in ufshpb_get_map_ctx()
753 mctx->m_page[i] = mempool_alloc(ufshpb_page_pool, GFP_KERNEL); in ufshpb_get_map_ctx()
754 if (!mctx->m_page[i]) { in ufshpb_get_map_ctx()
756 mempool_free(mctx->m_page[j], ufshpb_page_pool); in ufshpb_get_map_ctx()
759 clear_page(page_address(mctx->m_page[i])); in ufshpb_get_map_ctx()
767 kmem_cache_free(hpb->m_page_cache, mctx->m_page); in ufshpb_get_map_ctx()
779 mempool_free(mctx->m_page[i], ufshpb_page_pool); in ufshpb_put_map_ctx()
782 kmem_cache_free(hpb->m_page_cache, mctx->m_page); in ufshpb_put_map_ctx()
2094 pre_req->wb.m_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in ufshpb_pre_req_mempool_init()
2095 if (!pre_req->wb.m_page) { in ufshpb_pre_req_mempool_init()
2108 __free_page(pre_req->wb.m_page); in ufshpb_pre_req_mempool_init()
2123 if (!pre_req->wb.m_page) in ufshpb_pre_req_mempool_destroy()
2124 __free_page(hpb->pre_req[i].wb.m_page); in ufshpb_pre_req_mempool_destroy()