Displaying 1 result from an estimated 1 matches for "tmem_tze_pfp_cmp".
2013 Dec 06
0
[Patch v2] xen/tmem: Fix uses of unmatched __map_domain_page()
...p_domain_page(p2);
+ unmap_domain_page(p1);
+
+ return rc;
}
static inline int tmem_pcd_cmp(void *va1, pagesize_t len1, void *va2, pagesize_t len2)
@@ -271,54 +269,58 @@ static inline int tmem_pcd_cmp(void *va1, pagesize_t len1, void *va2, pagesize_t
return 1;
}
-static inline int tmem_tze_pfp_cmp(struct page_info *pfp1, pagesize_t pfp_len, void *tva, pagesize_t tze_len)
+static inline int tmem_tze_pfp_cmp(struct page_info *pfp1, pagesize_t pfp_len,
+ void *tva, const pagesize_t tze_len)
{
- const uint64_t *p1 = (uint64_t *)__map_domain_page(pfp1);
-...