Searched refs:vec1 (Results 1 – 2 of 2) sorted by relevance
7 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable() argument11 unsigned long bfn1 = pfn_to_bfn(page_to_pfn(vec1->bv_page)); in xen_biovec_phys_mergeable()14 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
145 #define __BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ argument146 ((bvec_to_phys((vec1)) + (vec1)->bv_len) == bvec_to_phys((vec2)))152 #define BIOVEC_PHYS_MERGEABLE(vec1, vec2) \ argument153 __BIOVEC_PHYS_MERGEABLE(vec1, vec2)