Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kernel/cpu/mtrr/
H A Dif.c160 struct mtrr_gentry gentry; in mtrr_ioctl() local
163 memset(&gentry, 0, sizeof(gentry)); in mtrr_ioctl()
179 if (copy_from_user(&gentry, arg, sizeof(gentry))) in mtrr_ioctl()
257 gentry.base = gentry.size = gentry.type = 0; in mtrr_ioctl()
259 gentry.base = base << PAGE_SHIFT; in mtrr_ioctl()
261 gentry.type = type; in mtrr_ioctl()
301 gentry.base = gentry.size = gentry.type = 0; in mtrr_ioctl()
303 gentry.base = base; in mtrr_ioctl()
304 gentry.size = size; in mtrr_ioctl()
305 gentry.type = type; in mtrr_ioctl()
[all …]
/linux-6.15/Documentation/arch/x86/
H A Dmtrr.rst215 struct mtrr_gentry gentry;
228 for (gentry.regnum = 0; ioctl (fd, MTRRIOC_GET_ENTRY, &gentry) == 0;
229 ++gentry.regnum)
231 if (gentry.size < 1)
233 fprintf (stderr, "Register: %u disabled\n", gentry.regnum);
237 gentry.regnum, gentry.base, gentry.size,
238 mtrr_strings[gentry.type]);
/linux-6.15/arch/x86/kvm/mmu/
H A Dmmu.c5982 u64 gentry = 0; in mmu_pte_write_fetch_gpte() local
5997 r = kvm_vcpu_read_guest_atomic(vcpu, *gpa, &gentry, *bytes); in mmu_pte_write_fetch_gpte()
5999 gentry = 0; in mmu_pte_write_fetch_gpte()
6002 return gentry; in mmu_pte_write_fetch_gpte()
6084 u64 entry, gentry, *spte; in kvm_mmu_track_write() local
6102 gentry = mmu_pte_write_fetch_gpte(vcpu, &gpa, &bytes); in kvm_mmu_track_write()
6121 if (gentry && sp->role.level != PG_LEVEL_4K) in kvm_mmu_track_write()