Searched refs:gentry (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 162 struct mtrr_gentry gentry; in mtrr_ioctl() local 165 memset(&gentry, 0, sizeof(gentry)); in mtrr_ioctl() 181 if (copy_from_user(&gentry, arg, sizeof(gentry))) in mtrr_ioctl() 208 err = get_user(gentry.regnum, &g32->regnum); in mtrr_ioctl() 209 err |= get_user(gentry.base, &g32->base); in mtrr_ioctl() 210 err |= get_user(gentry.size, &g32->size); in mtrr_ioctl() 211 err |= get_user(gentry.type, &g32->type); in mtrr_ioctl() 252 if (gentry.regnum >= num_var_ranges) in mtrr_ioctl() 254 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 257 if (base + size - 1 >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT)) in mtrr_ioctl() [all …]
|
/linux-6.12.1/Documentation/arch/x86/ |
D | mtrr.rst | 215 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.12.1/arch/x86/kvm/mmu/ |
D | mmu.c | 5853 u64 gentry = 0; in mmu_pte_write_fetch_gpte() local 5868 r = kvm_vcpu_read_guest_atomic(vcpu, *gpa, &gentry, *bytes); in mmu_pte_write_fetch_gpte() 5870 gentry = 0; in mmu_pte_write_fetch_gpte() 5873 return gentry; in mmu_pte_write_fetch_gpte() 5955 u64 entry, gentry, *spte; in kvm_mmu_track_write() local 5973 gentry = mmu_pte_write_fetch_gpte(vcpu, &gpa, &bytes); in kvm_mmu_track_write() 5992 if (gentry && sp->role.level != PG_LEVEL_4K) in kvm_mmu_track_write()
|