Searched refs:gentry (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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.1.9/Documentation/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.1.9/arch/x86/kvm/mmu/ |
D | mmu.c | 5382 u64 gentry = 0; in mmu_pte_write_fetch_gpte() local 5397 r = kvm_vcpu_read_guest_atomic(vcpu, *gpa, &gentry, *bytes); in mmu_pte_write_fetch_gpte() 5399 gentry = 0; in mmu_pte_write_fetch_gpte() 5402 return gentry; in mmu_pte_write_fetch_gpte() 5488 u64 entry, gentry, *spte; in kvm_mmu_pte_write() local 5503 gentry = mmu_pte_write_fetch_gpte(vcpu, &gpa, &bytes); in kvm_mmu_pte_write() 5522 if (gentry && sp->role.level != PG_LEVEL_4K) in kvm_mmu_pte_write()
|