Searched refs:vec2 (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/mm/ |
| H A D | pagemap_ioctl.c | 248 struct page_region *vec, *vec2; in sanity_tests_sd() 259 vec2 = calloc(vec_size, sizeof(struct page_region)); in sanity_tests_sd() 260 if (!vec2) in sanity_tests_sd() 391 ret2 = pagemap_ioctl(mem, mem_size, vec2, vec_size, 0, 0, in sanity_tests_sd() 398 ret2 == 2 && LEN(vec2[0]) == 1 && vec2[0].start == (uintptr_t)mem && in sanity_tests_sd() 399 LEN(vec2[1]) == vec_size - 3 && in sanity_tests_sd() 400 vec2[1].start == (uintptr_t)(mem + 3 * page_size), in sanity_tests_sd() 438 free(vec2); in sanity_tests_sd() 689 struct page_region *vec, *vec2; in base_tests() 245 struct page_region *vec, *vec2; sanity_tests_sd() local 686 struct page_region *vec, *vec2; base_tests() local 810 struct page_region *vec, *vec2; hpage_unit_tests() local [all...] |
| /linux/block/ |
| H A D | blk.h | 121 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable() argument 125 phys_addr_t addr2 = bvec_phys(vec2); in biovec_phys_mergeable() 136 if (!zone_device_pages_have_same_pgmap(vec1->bv_page, vec2->bv_page)) in biovec_phys_mergeable() 138 if (xen_domain() && !xen_biovec_phys_mergeable(vec1, vec2->bv_page)) in biovec_phys_mergeable() 140 if ((addr1 | mask) != ((addr2 + vec2->bv_len - 1) | mask)) in biovec_phys_mergeable()
|
| /linux/rust/kernel/alloc/ |
| H A D | kvec.rs | 1550 let mut vec2: KVec<usize> = KVec::with_capacity(c.len(), GFP_KERNEL).unwrap(); in test_kvvec_shrink_to() 1555 vec2.push_within_capacity(i).unwrap(); 1561 assert_eq!(vec1, vec2); in test_kvvec_shrink_to_empty() 1477 let mut vec2: KVec<usize> = KVec::with_capacity(c.len(), GFP_KERNEL).unwrap(); test_kvec_retain() localVariable
|