Searched refs:gmap (Results 1 – 15 of 15) sorted by relevance
/linux-3.4.99/arch/s390/mm/ |
D | pgtable.c | 128 struct gmap *gmap_alloc(struct mm_struct *mm) in gmap_alloc() 130 struct gmap *gmap; in gmap_alloc() local 134 gmap = kzalloc(sizeof(struct gmap), GFP_KERNEL); in gmap_alloc() 135 if (!gmap) in gmap_alloc() 137 INIT_LIST_HEAD(&gmap->crst_list); in gmap_alloc() 138 gmap->mm = mm; in gmap_alloc() 142 list_add(&page->lru, &gmap->crst_list); in gmap_alloc() 145 gmap->table = table; in gmap_alloc() 146 gmap->asce = _ASCE_TYPE_REGION1 | _ASCE_TABLE_LENGTH | in gmap_alloc() 148 list_add(&gmap->list, &mm->context.gmap_list); in gmap_alloc() [all …]
|
D | fault.c | 297 if (test_tsk_thread_flag(current, TIF_SIE) && S390_lowcore.gmap) { in do_exception() 299 (struct gmap *) S390_lowcore.gmap); in do_exception()
|
/linux-3.4.99/arch/s390/kvm/ |
D | gaccess.h | 31 return (void __user *) gmap_fault(guestaddr, vcpu->arch.gmap); in __guestaddr_to_user() 164 uptr = (void __user *) gmap_fault(guestdest, vcpu->arch.gmap); in __copy_to_guest_fast() 178 uptr = (void __user *)gmap_fault(guestdest, vcpu->arch.gmap); in __copy_to_guest_fast() 197 uptr = (void __user *)gmap_fault(guestdest, vcpu->arch.gmap); in __copy_to_guest_fast() 215 uptr = (void __user *)gmap_fault(guestdest, vcpu->arch.gmap); in __copy_to_guest_fast() 290 uptr = (void __user *) gmap_fault(guestsrc, vcpu->arch.gmap); in __copy_from_guest_fast() 304 uptr = (void __user *)gmap_fault(guestsrc, vcpu->arch.gmap); in __copy_from_guest_fast() 323 uptr = (void __user *)gmap_fault(guestsrc, vcpu->arch.gmap); in __copy_from_guest_fast() 341 uptr = (void __user *)gmap_fault(guestsrc, vcpu->arch.gmap); in __copy_from_guest_fast()
|
D | diag.c | 35 gmap_discard(start, end, vcpu->arch.gmap); in diag_release_pages() 38 gmap_discard(start, prefix, vcpu->arch.gmap); in diag_release_pages() 41 end, vcpu->arch.gmap); in diag_release_pages()
|
D | kvm-s390.c | 217 kvm->arch.gmap = NULL; in kvm_arch_init_vm() 219 kvm->arch.gmap = gmap_alloc(current->mm); in kvm_arch_init_vm() 220 if (!kvm->arch.gmap) in kvm_arch_init_vm() 245 gmap_free(vcpu->arch.gmap); in kvm_arch_vcpu_destroy() 278 gmap_free(kvm->arch.gmap); in kvm_arch_destroy_vm() 285 vcpu->arch.gmap = gmap_alloc(current->mm); in kvm_arch_vcpu_init() 286 if (!vcpu->arch.gmap) in kvm_arch_vcpu_init() 291 vcpu->arch.gmap = vcpu->kvm->arch.gmap; in kvm_arch_vcpu_init() 311 gmap_enable(vcpu->arch.gmap); in kvm_arch_vcpu_load() 318 gmap_disable(vcpu->arch.gmap); in kvm_arch_vcpu_put() [all …]
|
D | intercept.c | 175 vcpu->arch.gmap); in handle_validity() 188 vcpu->arch.gmap); in handle_validity()
|
D | kvm-s390.h | 54 if (kvm->arch.gmap) in kvm_is_ucontrol()
|
/linux-3.4.99/arch/s390/include/asm/ |
D | pgtable.h | 657 struct gmap { struct 685 struct gmap *gmap_alloc(struct mm_struct *mm); 686 void gmap_free(struct gmap *gmap); 687 void gmap_enable(struct gmap *gmap); 688 void gmap_disable(struct gmap *gmap); 689 int gmap_map_segment(struct gmap *gmap, unsigned long from, 691 int gmap_unmap_segment(struct gmap *gmap, unsigned long to, unsigned long len); 692 unsigned long __gmap_fault(unsigned long address, struct gmap *); 693 unsigned long gmap_fault(unsigned long address, struct gmap *); 694 void gmap_discard(unsigned long from, unsigned long to, struct gmap *);
|
D | kvm_host.h | 241 struct gmap *gmap; member 255 struct gmap *gmap; member
|
D | lowcore.h | 287 __u64 gmap; /* 0x0398 */ member
|
/linux-3.4.99/arch/s390/kernel/ |
D | asm-offsets.c | 159 DEFINE(__LC_GMAP, offsetof(struct _lowcore, gmap)); in main() 160 DEFINE(__GMAP_ASCE, offsetof(struct gmap, asce)); in main()
|
/linux-3.4.99/include/video/ |
D | gbe.h | 62 volatile uint32_t gmap[256]; /* gamma map */ member
|
D | sgivw.h | 97 volatile u32 gmap[256]; /* 0x060000 - 0x0603fc gamma map */ member
|
/linux-3.4.99/drivers/video/ |
D | sgivwfb.c | 441 DBE_ISETREG(gmap, i, (i << 24) | (i << 16) | (i << 8)); in sgivwfb_set_par()
|
D | gbefb.c | 818 gbe->gmap[i] = (i << 24) | (i << 16) | (i << 8); in gbefb_set_par()
|