Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 6 of 6) sorted by relevance

/virt/kvm/arm/
Dmmio.c87 int mask; in kvm_handle_mmio_return() local
104 mask = 1U << ((len * 8) - 1); in kvm_handle_mmio_return()
105 data = (data ^ mask) - mask; in kvm_handle_mmio_return()
Dmmu.c1394 unsigned long mask; in transparent_hugepage_adjust() local
1413 mask = PTRS_PER_PMD - 1; in transparent_hugepage_adjust()
1414 VM_BUG_ON((gfn & mask) != (pfn & mask)); in transparent_hugepage_adjust()
1415 if (pfn & mask) { in transparent_hugepage_adjust()
1418 pfn &= ~mask; in transparent_hugepage_adjust()
1572 gfn_t gfn_offset, unsigned long mask) in kvm_mmu_write_protect_pt_masked() argument
1575 phys_addr_t start = (base_gfn + __ffs(mask)) << PAGE_SHIFT; in kvm_mmu_write_protect_pt_masked()
1576 phys_addr_t end = (base_gfn + __fls(mask) + 1) << PAGE_SHIFT; in kvm_mmu_write_protect_pt_masked()
1590 gfn_t gfn_offset, unsigned long mask) in kvm_arch_mmu_enable_log_dirty_pt_masked() argument
1592 kvm_mmu_write_protect_pt_masked(kvm, slot, gfn_offset, mask); in kvm_arch_mmu_enable_log_dirty_pt_masked()
Dpmu.c533 u64 mask; in kvm_pmu_handle_pmcr() local
536 mask = kvm_pmu_valid_counter_mask(vcpu); in kvm_pmu_handle_pmcr()
539 __vcpu_sys_reg(vcpu, PMCNTENSET_EL0) & mask); in kvm_pmu_handle_pmcr()
541 kvm_pmu_disable_counter_mask(vcpu, mask); in kvm_pmu_handle_pmcr()
Darm.c492 void force_vm_exit(const cpumask_t *mask) in force_vm_exit() argument
495 smp_call_function_many(mask, exit_vm_noop, NULL, true); in force_vm_exit()
Darch_timer.c135 timecounter->mask, in kvm_timer_compute_delta()
/virt/kvm/
Dkvm_main.c1300 unsigned long mask; in kvm_get_dirty_log_protect() local
1307 mask = xchg(&dirty_bitmap[i], 0); in kvm_get_dirty_log_protect()
1308 dirty_bitmap_buffer[i] = mask; in kvm_get_dirty_log_protect()
1312 offset, mask); in kvm_get_dirty_log_protect()
1372 unsigned long mask = *dirty_bitmap_buffer++; in kvm_clear_dirty_log_protect() local
1374 if (!mask) in kvm_clear_dirty_log_protect()
1377 mask &= atomic_long_fetch_andnot(mask, p); in kvm_clear_dirty_log_protect()
1385 if (mask) { in kvm_clear_dirty_log_protect()
1388 offset, mask); in kvm_clear_dirty_log_protect()