Home | History | Annotate | Download | only in libkvm

Lines Matching defs:pte

91 	u_int pte;
177 * Step 2: Locate and read the PTE.
181 if (_kvm_pread(kd, kd->pmfd, &pte, sizeof(pte),
182 _kvm_pa2off(kd, pte_pa)) != sizeof(pte)) {
183 _kvm_syserr(kd, 0, "could not read PTE");
188 * Step 3: Validate the PTE and return the physical address.
190 if ((pte & cpu_kh->pg_v) == 0) {
191 _kvm_err(kd, 0, "invalid translation (invalid PTE)");
194 *pa = (((pte & cpu_kh->pg_frame) >> cpu_kh->pg_shift) << PGSHIFT) +