Home
last modified time | relevance | path

Searched refs:gmap (Results 1 – 7 of 7) sorted by relevance

/linux/arch/s390/kvm/
H A Dgmap.c52 struct gmap *gmap_new(struct kvm *kvm, gfn_t limit) in gmap_new()
55 struct gmap *gmap; in gmap_new() local
60 gmap = kzalloc_obj(*gmap, GFP_KERNEL_ACCOUNT); in gmap_new()
61 if (!gmap) in gmap_new()
63 INIT_LIST_HEAD(&gmap->children); in gmap_new()
64 INIT_LIST_HEAD(&gmap->list); in gmap_new()
65 INIT_LIST_HEAD(&gmap->scb_users); in gmap_new()
66 INIT_RADIX_TREE(&gmap->host_to_rmap, GFP_KVM_S390_MMU_CACHE); in gmap_new()
67 spin_lock_init(&gmap->children_lock); in gmap_new()
68 spin_lock_init(&gmap->host_to_rmap_lock); in gmap_new()
[all …]
H A Dpv.c466 if (kvm->arch.gmap->asce.dt == TABLE_TYPE_SEGMENT) in kvm_s390_pv_set_aside()
479 priv->old_gmap_table = (unsigned long)dereference_asce(kvm->arch.gmap->asce); in kvm_s390_pv_set_aside()
480 if (s390_replace_asce(kvm->arch.gmap)) in kvm_s390_pv_set_aside()
489 gmap_pv_destroy_range(kvm->arch.gmap, 0, gpa_to_gfn(SZ_2G), false); in kvm_s390_pv_set_aside()
528 s390_replace_asce(kvm->arch.gmap); in kvm_s390_pv_deinit_vm()
605 gmap_pv_destroy_range(kvm->arch.gmap, 0, asce_end(kvm->arch.gmap->asce), false); in kvm_s390_pv_deinit_cleanup_all()
643 if (gmap_pv_destroy_range(kvm->arch.gmap, 0, asce_end(kvm->arch.gmap->asce), true)) in kvm_s390_pv_deinit_aside_vm()
682 set_bit(GMAP_FLAG_EXPORT_ON_UNMAP, &kvm->arch.gmap->flags); in kvm_s390_pv_mmu_notifier_release()
716 uvcb.guest_asce = kvm->arch.gmap->asce.val; in kvm_s390_pv_init_vm()
724 clear_bit(GMAP_FLAG_ALLOW_HPAGE_1M, &kvm->arch.gmap->flags); in kvm_s390_pv_init_vm()
[all …]
H A Dkvm-s390.c560 union asce asce = kvm->arch.gmap->asce; in kvm_s390_keyop()
726 gmap_sync_dirty_log(kvm->arch.gmap, memslot->base_gfn, last_gfn); in kvm_arch_sync_dirty_log()
886 set_bit(GMAP_FLAG_ALLOW_HPAGE_1M, &kvm->arch.gmap->flags); in kvm_vm_ioctl_enable_cap()
990 start_gfn = dat_reset_cmma(kvm->arch.gmap->asce, start_gfn); in kvm_s390_set_mem_control()
1014 ret = gmap_set_limit(kvm->arch.gmap, gpa_to_gfn(new_limit)); in kvm_s390_set_mem_control()
1017 (void *)kvm->arch.gmap->asce.val); in kvm_s390_set_mem_control()
1188 gmap_set_cmma_all_dirty(kvm->arch.gmap); in kvm_s390_vm_start_migration()
2101 if (!uses_skeys(kvm->arch.gmap)) in kvm_s390_get_skeys()
2114 r = dat_get_storage_key(kvm->arch.gmap->asce, in kvm_s390_get_skeys()
2157 r = gmap_enable_skeys(kvm->arch.gmap); in kvm_s390_set_skeys()
[all …]
H A Dinterrupt.c2635 set_bit(GMAP_FLAG_PFAULT_ENABLED, &dev->kvm->arch.gmap->flags); in flic_set_attr()
2640 clear_bit(GMAP_FLAG_PFAULT_ENABLED, &dev->kvm->arch.gmap->flags); in flic_set_attr()
/linux/include/video/
H A Dgbe.h60 volatile uint32_t gmap[256]; /* gamma map */ member
/linux/drivers/net/dsa/lantiq/
H A Dlantiq_gswip_common.c52 u8 gmap; member
275 tbl->gmap = (crtl & GSWIP_PCE_TBL_CTRL_GMAP_MASK) >> 7; in gswip_pce_table_entry_read()
327 crtl |= (tbl->gmap << 7) & GSWIP_PCE_TBL_CTRL_GMAP_MASK; in gswip_pce_table_entry_write()
/linux/drivers/video/fbdev/
H A Dgbefb.c806 gbe->gmap[i] = (i << 24) | (i << 16) | (i << 8); in gbefb_set_par()