Home
last modified time | relevance | path

Searched refs:size (Results 1 – 8 of 8) sorted by relevance

/virt/kvm/arm/
Dmmu.c335 static void __unmap_stage2_range(struct kvm *kvm, phys_addr_t start, u64 size, in __unmap_stage2_range() argument
339 phys_addr_t addr = start, end = start + size; in __unmap_stage2_range()
343 WARN_ON(size & ~PAGE_MASK); in __unmap_stage2_range()
366 static void unmap_stage2_range(struct kvm *kvm, phys_addr_t start, u64 size) in unmap_stage2_range() argument
368 __unmap_stage2_range(kvm, start, size, true); in unmap_stage2_range()
541 phys_addr_t start, u64 size) in __unmap_hyp_range() argument
544 phys_addr_t addr = start, end = start + size; in __unmap_hyp_range()
559 static void unmap_hyp_range(pgd_t *pgdp, phys_addr_t start, u64 size) in unmap_hyp_range() argument
561 __unmap_hyp_range(pgdp, PTRS_PER_PGD, start, size); in unmap_hyp_range()
564 static void unmap_hyp_idmap_range(pgd_t *pgdp, phys_addr_t start, u64 size) in unmap_hyp_idmap_range() argument
[all …]
Dpmu.c593 attr.size = sizeof(attr); in kvm_pmu_create_perf_event()
/virt/kvm/
Dcoalesced_mmio.c38 if (addr + len > dev->zone.addr + dev->zone.size) in coalesced_mmio_in_range()
162 zone->addr, zone->size, &dev->dev); in kvm_vm_ioctl_register_coalesced_mmio()
190 coalesced_mmio_in_range(dev, zone->addr, zone->size)) { in kvm_vm_ioctl_unregister_coalesced_mmio()
Dkvm_main.c1435 unsigned long addr, size; in kvm_host_page_size() local
1437 size = PAGE_SIZE; in kvm_host_page_size()
1448 size = vma_kernel_pagesize(vma); in kvm_host_page_size()
1453 return size; in kvm_host_page_size()
/virt/kvm/arm/vgic/
Dvgic.h297 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size);
299 static inline bool vgic_dist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_dist_overlap() argument
303 return (base + size > d->vgic_dist_base) && in vgic_dist_overlap()
Dvgic-mmio-v3.c724 size_t size = count * KVM_VGIC_V3_REDIST_SIZE; in vgic_v3_insert_redist_region() local
732 if (base + size < base) in vgic_v3_insert_redist_region()
755 vgic_dist_overlap(kvm, base, size)) in vgic_v3_insert_redist_region()
759 if (vgic_v3_rdist_overlap(kvm, base, size)) in vgic_v3_insert_redist_region()
Dvgic-v3.c420 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_v3_rdist_overlap() argument
426 if ((base + size > rdreg->base) && in vgic_v3_rdist_overlap()
Dvgic-its.c828 static u64 its_cmd_mask_field(u64 *its_cmd, int word, int shift, int size) in its_cmd_mask_field() argument
830 return (le64_to_cpu(its_cmd[word]) >> shift) & (BIT_ULL(size) - 1); in its_cmd_mask_field()
2096 static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz, in scan_its_table() argument
2100 unsigned long len = size; in scan_its_table()