Home
last modified time | relevance | path

Searched refs:vm_mem_backing_src_alias (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dtest_util.c176 const struct vm_mem_backing_src_alias *vm_mem_backing_src_alias(uint32_t i) in vm_mem_backing_src_alias() function
178 static const struct vm_mem_backing_src_alias aliases[] = { in vm_mem_backing_src_alias()
270 uint32_t flag = vm_mem_backing_src_alias(i)->flag; in get_backing_src_pagesz()
288 return !!(vm_mem_backing_src_alias(i)->flag & MAP_HUGETLB); in is_backing_src_hugetlb()
298 printf("%s %s\n", prefix, vm_mem_backing_src_alias(i)->name); in print_available_backing_src_types()
305 flag, vm_mem_backing_src_alias(DEFAULT_VM_MEM_SRC)->name); in backing_src_help()
314 if (!strcmp(type_name, vm_mem_backing_src_alias(i)->name)) in parse_backing_src_type()
Dkvm_util.c903 vm_mem_backing_src_alias(src_type)->flag, in vm_userspace_mem_region_add()
923 vm_mem_backing_src_alias(src_type)->name); in vm_userspace_mem_region_add()
951 vm_mem_backing_src_alias(src_type)->flag, in vm_userspace_mem_region_add()
/linux-6.1.9/tools/testing/selftests/kvm/include/
Dtest_util.h104 struct vm_mem_backing_src_alias { struct
114 const struct vm_mem_backing_src_alias *vm_mem_backing_src_alias(uint32_t i); argument
127 return vm_mem_backing_src_alias(t)->flag & MAP_SHARED; in backing_src_is_shared()
/linux-6.1.9/tools/testing/selftests/kvm/
Dkvm_page_table_test.c306 vm_mem_backing_src_alias(src_type)->name); in pre_init_before_test()