Home
last modified time | relevance | path

Searched refs:vec2 (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dpagemap_ioctl.c243 struct page_region *vec, *vec2; in sanity_tests_sd() local
254 vec2 = calloc(vec_size, sizeof(struct page_region)); in sanity_tests_sd()
255 if (!vec2) in sanity_tests_sd()
386 ret2 = pagemap_ioctl(mem, mem_size, vec2, vec_size, 0, 0, in sanity_tests_sd()
393 ret2 == 2 && LEN(vec2[0]) == 1 && vec2[0].start == (uintptr_t)mem && in sanity_tests_sd()
394 LEN(vec2[1]) == vec_size - 3 && in sanity_tests_sd()
395 vec2[1].start == (uintptr_t)(mem + 3 * page_size), in sanity_tests_sd()
433 free(vec2); in sanity_tests_sd()
684 struct page_region *vec, *vec2; in base_tests() local
699 vec2 = calloc(vec_size, sizeof(struct page_region)); in base_tests()
[all …]
/linux/rust/kernel/alloc/
H A Dkvec.rs1365 let mut vec2: KVec<usize> = KVec::with_capacity(c.len(), GFP_KERNEL).unwrap(); in test_kvec_retain() localVariable
1370 vec2.push_within_capacity(i).unwrap(); in test_kvec_retain()
1376 assert_eq!(vec1, vec2); in test_kvec_retain()
/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst249 If X is the interface number as in vec0, vec1, vec2, etc, the general