Searched refs:host_page_size (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/kvm/ |
H A D | kvm_page_table_test.c | 50 uint64_t host_page_size; member 135 addr += p->host_page_size; in guest_code() 156 addr += p->host_page_size; in guest_code() 171 addr += p->host_page_size; in guest_code() 242 uint64_t host_page_size = getpagesize(); in pre_init_before_test() local 272 test_args.host_page_size = host_page_size; in pre_init_before_test() 273 test_args.host_num_pages = test_mem_size / host_page_size; in pre_init_before_test() 276 test_args.host_pages_per_lpage = large_page_size / host_page_size; in pre_init_before_test()
|
H A D | memslot_perf_test.c | 245 static bool check_slot_pages(uint32_t host_page_size, uint32_t guest_page_size, in check_slot_pages() 251 if ((pages_per_slot * guest_page_size) % host_page_size) in check_slot_pages() 254 if ((rempages * guest_page_size) % host_page_size) in check_slot_pages() 261 static uint64_t get_max_slots(struct vm_data *data, uint32_t host_page_size) in get_max_slots() 275 if (check_slot_pages(host_page_size, guest_page_size, in get_max_slots() 289 uint32_t slot, host_page_size, guest_page_size; in prepare_vm() 293 host_page_size = getpagesize(); in prepare_vm() 305 if (!check_slot_pages(host_page_size, guest_page_size, in prepare_vm() 307 *maxslots = get_max_slots(data, host_page_size); in prepare_vm() 748 uint32_t host_page_size in test_memslot_unmap_loop() 243 check_slot_pages(uint32_t host_page_size,uint32_t guest_page_size,uint64_t pages_per_slot,uint64_t rempages) check_slot_pages() argument 259 get_max_slots(struct vm_data * data,uint32_t host_page_size) get_max_slots() argument 287 uint32_t slot, host_page_size, guest_page_size; prepare_vm() local 744 uint32_t host_page_size = getpagesize(); test_memslot_unmap_loop() local 922 uint32_t host_page_size = getpagesize(); check_memory_sizes() local [all...] |
H A D | dirty_log_test.c | 74 static uint64_t host_page_size; variable 117 addr = align_down(addr, host_page_size); in guest_code() 556 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify() 720 host_page_size = getpagesize(); in run_test() 726 guest_test_phys_mem = align_down(guest_test_phys_mem, host_page_size); in run_test() 755 sync_global_to_guest(vm, host_page_size); in run_test()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 2605 u32 host_page_size, in vm_ctx_init_with_ranges() argument 2637 host_range_start, host_range_end, host_page_size); in vm_ctx_init_with_ranges() 2705 u32 host_page_size, host_huge_page_size, dram_page_size; in hl_vm_ctx_init() local 2722 host_page_size = prop->pmmu.page_size; in hl_vm_ctx_init() 2728 host_page_size, host_huge_range_start, in hl_vm_ctx_init()
|