Home
last modified time | relevance | path

Searched refs:gentry (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/x86/kernel/cpu/mtrr/
Dif.c172 struct mtrr_gentry gentry; in mtrr_ioctl() local
189 if (copy_from_user(&gentry, arg, sizeof gentry)) in mtrr_ioctl()
216 err = get_user(gentry.regnum, &g32->regnum); in mtrr_ioctl()
217 err |= get_user(gentry.base, &g32->base); in mtrr_ioctl()
218 err |= get_user(gentry.size, &g32->size); in mtrr_ioctl()
219 err |= get_user(gentry.type, &g32->type); in mtrr_ioctl()
268 if (gentry.regnum >= num_var_ranges) in mtrr_ioctl()
270 mtrr_if->get(gentry.regnum, &gentry.base, &size, &type); in mtrr_ioctl()
273 if (gentry.base + size - 1 >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT)) in mtrr_ioctl()
274 || size >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT))) in mtrr_ioctl()
[all …]
/linux-2.6.39/Documentation/x86/
Dmtrr.txt168 struct mtrr_gentry gentry;
181 for (gentry.regnum = 0; ioctl (fd, MTRRIOC_GET_ENTRY, &gentry) == 0;
182 ++gentry.regnum)
184 if (gentry.size < 1)
186 fprintf (stderr, "Register: %u disabled\n", gentry.regnum);
190 gentry.regnum, gentry.base, gentry.size,
191 mtrr_strings[gentry.type]);
/linux-2.6.39/arch/x86/kvm/
Dmmu.c3233 u64 entry, gentry, *spte; in kvm_mmu_pte_write() local
3256 r = kvm_read_guest(vcpu->kvm, gpa, &gentry, min(bytes, 8)); in kvm_mmu_pte_write()
3258 gentry = 0; in kvm_mmu_pte_write()
3259 new = (const u8 *)&gentry; in kvm_mmu_pte_write()
3264 gentry = *(const u32 *)new; in kvm_mmu_pte_write()
3267 gentry = *(const u64 *)new; in kvm_mmu_pte_write()
3270 gentry = 0; in kvm_mmu_pte_write()
3279 gentry = 0; in kvm_mmu_pte_write()
3345 if (gentry && in kvm_mmu_pte_write()
3348 mmu_pte_write_new_pte(vcpu, sp, spte, &gentry, in kvm_mmu_pte_write()