Searched refs:src_type (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/kvm/ |
D | kvm_page_table_test.c | 62 enum vm_mem_backing_src_type src_type; member 143 if (p->src_type == VM_MEM_SRC_ANONYMOUS) { in guest_code() 246 enum vm_mem_backing_src_type src_type; member 254 enum vm_mem_backing_src_type src_type = p->src_type; in pre_init_before_test() local 255 uint64_t large_page_size = get_backing_src_pagesz(src_type); in pre_init_before_test() 293 test_args.src_type = src_type; in pre_init_before_test() 302 vm_userspace_mem_region_add(vm, src_type, guest_test_phys_mem, in pre_init_before_test() 326 vm_mem_backing_src_alias(src_type)->name); in pre_init_before_test() 468 .src_type = DEFAULT_VM_MEM_SRC, in main() 491 p.src_type = parse_backing_src_type(optarg); in main()
|
D | demand_paging_test.c | 278 enum vm_mem_backing_src_type src_type; member 296 p->src_type); in run_test() 300 demand_paging_size = get_backing_src_pagesz(p->src_type); in run_test() 441 .src_type = DEFAULT_VM_MEM_SRC, in main() 468 p.src_type = parse_backing_src_type(optarg); in main() 486 !backing_src_is_shared(p.src_type)) { in main()
|
/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 810 enum vm_mem_backing_src_type src_type, in vm_userspace_mem_region_add() argument 816 size_t backing_src_pagesz = get_backing_src_pagesz(src_type); in vm_userspace_mem_region_add() 878 if (src_type == VM_MEM_SRC_ANONYMOUS_THP) in vm_userspace_mem_region_add() 886 if (backing_src_is_shared(src_type)) { in vm_userspace_mem_region_add() 889 if (src_type == VM_MEM_SRC_SHARED_HUGETLB) in vm_userspace_mem_region_add() 907 vm_mem_backing_src_alias(src_type)->flag, in vm_userspace_mem_region_add() 917 if ((src_type == VM_MEM_SRC_ANONYMOUS || in vm_userspace_mem_region_add() 918 src_type == VM_MEM_SRC_ANONYMOUS_THP) && thp_configured()) { in vm_userspace_mem_region_add() 920 src_type == VM_MEM_SRC_ANONYMOUS ? MADV_NOHUGEPAGE : MADV_HUGEPAGE); in vm_userspace_mem_region_add() 923 vm_mem_backing_src_alias(src_type)->name); in vm_userspace_mem_region_add() [all …]
|
/tools/lib/bpf/ |
D | bpf_core_read.h | 276 #define ___read(read_fn, dst, src_type, src, accessor) \ argument 277 read_fn((void *)(dst), sizeof(*(dst)), &((src_type)(src))->accessor)
|
D | btf.h | 103 const struct btf_type *src_type);
|
D | btf.c | 1680 int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type) in btf__add_type() argument 1686 sz = btf_type_size(src_type); in btf__add_type() 1698 memcpy(t, src_type, sz); in btf__add_type()
|
/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 129 enum vm_mem_backing_src_type src_type,
|