Searched defs:pde (Results 1 - 20 of 20) sorted by relevance

/freebsd-head/lib/libkvm/
H A Dkvm_amd64.c177 amd64_pde_t pde; local
247 if (s < sizeof(pde)) {
251 if (pread(kd->pmfd, &pde, sizeof(pde), ofs) != sizeof(pde)) {
252 _kvm_syserr(kd, kd->program, "_amd64_vatop: read pde");
255 pde = le64toh(pde);
256 if ((pde & AMD64_PG_V) == 0) {
257 _kvm_err(kd, kd->program, "_amd64_vatop: pde no
[all...]
H A Dkvm_i386.c220 i386_pde_t pde; local
248 pde = le32toh(PTD[pdeindex]);
249 if ((pde & I386_PG_V) == 0) {
250 _kvm_err(kd, kd->program, "_i386_vatop: pde not valid");
254 if (pde & I386_PG_PS) {
261 a = (pde & I386_PG_PS_FRAME) + offset;
272 pte_pa = (pde & I386_PG_FRAME) + (pteindex * sizeof(pte));
310 i386_pde_pae_t pde; local
338 pde = le64toh(PTD[pdeindex]);
339 if ((pde
[all...]
H A Dkvm_minidump_amd64.c80 amd64_pde_t *pde = _kvm_pmap_get(kd, pdeindex, sizeof(*pde)); local
82 return le64toh(*pde);
248 amd64_pde_t pde; local
260 if (pdeindex >= vm->hdr.pmapsize / sizeof(pde))
262 pde = _amd64_pde_get(kd, pdeindex);
263 if ((pde & AMD64_PG_V) == 0) {
265 "_amd64_minidump_vatop: pde not valid");
268 if ((pde & AMD64_PG_PS) == 0) {
269 a = pde
363 amd64_pde_t pde = _amd64_pde_get(kd, pdeindex); local
[all...]
/freebsd-head/sys/amd64/amd64/
H A Defirt_machdep.c117 pd_entry_t *pde; local
159 pde = (pd_entry_t *)PHYS_TO_DMAP(mphys);
161 pde += pd_idx;
162 if (*pde == 0) {
165 *pde = mphys | X86_PG_RW | X86_PG_V;
167 mphys = *pde & PG_FRAME;
H A Dpmap.c1212 static bool pmap_pv_insert_pde(pmap_t pmap, vm_offset_t va, pd_entry_t pde,
1225 static boolean_t pmap_demote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va);
1226 static boolean_t pmap_demote_pde_locked(pmap_t pmap, pd_entry_t *pde,
1243 pd_entry_t pde);
1248 static void pmap_promote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va,
1251 static boolean_t pmap_protect_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t sva,
1264 static void pmap_remove_page(pmap_t pmap, vm_offset_t va, pd_entry_t *pde,
1267 pd_entry_t *pde, struct spglist *free,
1271 static void pmap_update_pde(pmap_t pmap, vm_offset_t va, pd_entry_t *pde,
1273 static void pmap_update_pde_invalidate(pmap_t, vm_offset_t va, pd_entry_t pde);
1399 pd_entry_t *pde; local
1425 pmap_pde_to_pte(pd_entry_t *pde, vm_offset_t va) argument
1439 pd_entry_t *pde; local
2626 pmap_update_pde_store(pmap_t pmap, pd_entry_t *pde, pd_entry_t newpde) argument
3113 pd_entry_t *pde; member in struct:pde_action
3145 pmap_update_pde(pmap_t pmap, vm_offset_t va, pd_entry_t *pde, pd_entry_t newpde) argument
3318 pmap_update_pde(pmap_t pmap, vm_offset_t va, pd_entry_t *pde, pd_entry_t newpde) argument
3330 pmap_invalidate_pde_page(pmap_t pmap, vm_offset_t va, pd_entry_t pde) argument
3536 pd_entry_t *pde; local
3576 pd_entry_t pde, *pdep; local
3622 pd_entry_t pde; local
4407 pd_entry_t *pde; local
4577 pd_entry_t *pde, newpdir; local
4619 pd_entry_t *pde, newpdir; local
4769 pd_entry_t *pde; local
5422 pmap_pv_insert_pde(pmap_t pmap, vm_offset_t va, pd_entry_t pde, u_int flags, struct rwlock **lockp) argument
5462 pmap_demote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va) argument
5502 pmap_demote_pde_abort(pmap_t pmap, vm_offset_t va, pd_entry_t *pde, pd_entry_t oldpde, struct rwlock **lockp) argument
5519 pmap_demote_pde_locked(pmap_t pmap, pd_entry_t *pde, vm_offset_t va, struct rwlock **lockp) argument
5667 pmap_remove_kernel_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va) argument
5807 pmap_remove_page(pmap_t pmap, vm_offset_t va, pd_entry_t *pde, struct spglist *free) argument
5831 pmap_remove_ptes(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, pd_entry_t *pde, struct spglist *free, struct rwlock **lockp) argument
5880 pd_entry_t ptpaddr, *pde; local
6042 pd_entry_t *pde; local
6123 pmap_protect_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t sva, vm_prot_t prot) argument
6178 pd_entry_t ptpaddr, *pde; local
6333 pmap_pde_ept_executable(pmap_t pmap, pd_entry_t pde) argument
6349 pmap_promote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va, struct rwlock **lockp) argument
6479 pt_entry_t origpte, *pml4e, *pdpe, *pde, pten, PG_V; local
6589 pd_entry_t *pde; local
6922 pd_entry_t oldpde, *pde; local
7235 pd_entry_t *pde; local
7339 pd_entry_t *pde; local
7431 pd_entry_t *pde, srcptepaddr; local
8151 pd_entry_t *pde; local
8192 pd_entry_t *pde; local
8325 pd_entry_t oldpde, *pde; local
8527 pd_entry_t oldpde, *pde; local
8676 pd_entry_t oldpde, *pde; local
8916 pd_entry_t *firstpde, newpde, *pde; local
9050 pd_entry_t *pde, pde_bits, pde_mask; local
9295 pd_entry_t *pde; local
9677 pd_entry_t *pde; local
9770 pd_entry_t *pde; local
10013 pd_entry_t *pde; local
10037 pd_entry_t *pde, pd; local
10085 pd_entry_t *pde; local
10171 pd_entry_t *pde, pd; local
10545 pmap_pti_unwire_pde(void *pde, bool only_ref) argument
10560 pd_entry_t *pde; local
10577 pd_entry_t *pde; local
10609 pd_entry_t *pde; local
10648 pd_entry_t *pde; local
10868 pd_entry_t newpde, ptpaddr, *pde; local
11103 sysctl_kmaps_check(struct sbuf *sb, struct pmap_kernel_map_range *range, vm_offset_t va, pml4_entry_t pml4e, pdp_entry_t pdpe, pd_entry_t pde, pt_entry_t pte) argument
11144 pd_entry_t *pd, pde; local
11275 pd_entry_t *pde; local
[all...]
/freebsd-head/usr.sbin/uefisign/
H A Dpe.c170 const struct pe_directory_entry *pde; local
175 pde = (struct pe_directory_entry *)
178 if (pde->pde_rva != 0 && pde->pde_size == 0)
179 warnx("signature size is 0, but its RVA is %d", pde->pde_rva);
180 if (pde->pde_rva == 0 && pde->pde_size != 0)
181 warnx("signature RVA is 0, but its size is %d", pde->pde_size);
183 return (pde->pde_size);
190 const struct pe_directory_entry *pde; local
268 const struct pe_directory_entry *pde; local
523 struct pe_directory_entry pde; local
[all...]
/freebsd-head/sys/x86/iommu/
H A Dintel_idpgtbl.c578 dmar_pte_t *pde; local
582 pde = domain_pgtbl_map_pte(domain, base, lvl, flags, &idx, &sf);
583 domain_unmap_clear_pte(domain, base, lvl, flags, pde, &sf, true);
/freebsd-head/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kstat.c452 struct proc_dir_entry *pde; local
454 pde = proc_mkdir(name, proc_spl_kstat);
455 if (pde == NULL)
459 module->ksm_proc = pde;
/freebsd-head/sys/fs/tmpfs/
H A Dtmpfs_vnops.c1649 struct tmpfs_dirent **pde)
1657 *pde = de;
1648 tmpfs_vptocnp_dir(struct tmpfs_node *tn, struct tmpfs_node *tnp, struct tmpfs_dirent **pde) argument
H A Dtmpfs_subr.c1004 struct tmpfs_dirent *de, *pde; local
1025 pde = de;
1027 if (de == NULL && pde->td_cookie != TMPFS_DIRCOOKIE_DUP_MIN) {
1033 LIST_INSERT_AFTER(pde, nde, uh.td_dup.index_entries);
1049 if (de->td_cookie + 1 == pde->td_cookie ||
1054 MPASS(pde->td_cookie > nde->td_cookie);
/freebsd-head/sys/amd64/vmm/amd/
H A Damdvi_hw.c352 bool pde, bool page)
365 cmd->addr |= pde ? AMDVI_INVD_PAGE_PDE : 0;
350 amdvi_cmd_inv_iommu_pages(struct amdvi_softc *softc, uint16_t domain_id, uint64_t addr, bool guest_nested, bool pde, bool page) argument
/freebsd-head/contrib/gdb/gdb/
H A Dgo32-nat.c1731 unsigned long pde = 0; local
1735 pde = _farpeekl (_dos_ds, pdbr + 4*n);
1737 return pde;
1743 get_pte (unsigned long pde, int n) argument
1747 /* pde & 0x80 tests the 4MB page bit. We don't support 4MB
1749 if ((pde & 1) && !(pde & 0x80) && n >= 0 && n < 1024)
1751 pde &= ~0xfff; /* clear non-address bits */
1752 pte = _farpeekl (_dos_ds, pde + 4*n);
1819 unsigned long pde local
[all...]
/freebsd-head/usr.sbin/bhyve/
H A Dpci_emul.c743 pci_emul_init(struct vmctx *ctx, struct pci_devemu *pde, int bus, int slot, argument
760 pdi->pi_d = pde;
761 snprintf(pdi->pi_name, PI_NAMESZ, "%s-pci-%d", pde->pe_emu, slot);
769 err = (*pde->pe_init)(ctx, pdi, fi->fi_param);
1099 struct pci_devemu *pde; local
1128 pde = pci_emul_finddev(fi->fi_name);
1129 assert(pde != NULL);
1130 error = pci_emul_init(ctx, pde, bus, slot,
2021 pci_find_slotted_dev(const char *dev_name, struct pci_devemu **pde, argument
2030 assert(pde !
2061 struct pci_devemu *pde; local
2098 struct pci_devemu *pde; local
2127 struct pci_devemu *pde; local
[all...]
/freebsd-head/sys/dev/mpt/
H A Dmpt_cam.c2545 PTR_EVENT_DATA_DISCOVERY_ERROR pde; local
2547 pde = (PTR_EVENT_DATA_DISCOVERY_ERROR)msg->Data;
2548 pde->DiscoveryStatus = le32toh(pde->DiscoveryStatus);
2551 pde->Port, pde->DiscoveryStatus);
/freebsd-head/sys/geom/raid/
H A Dmd_ddf.c574 struct ddf_pd_entry *pde; local
709 pde = &meta->pdr->entry[0];
713 snprintf(pde->PD_GUID, 25, "DISK%20s", serial_buffer);
715 snprintf(pde->PD_GUID, 25, "DISK%04d%02d%02d%08x%04x",
718 SET32D(meta, pde->PD_Reference, arc4random());
719 SET16D(meta, pde->PD_Type, DDF_PDE_GUID_FORCE);
720 SET16D(meta, pde->PD_State, 0);
721 SET64D(meta, pde->Configured_Size,
723 SET16D(meta, pde->Block_Size, ss);
744 memcpy(meta->pdd->PD_GUID, pde
788 struct ddf_pd_entry *pde, *spde; local
[all...]
/freebsd-head/sys/arm/arm/
H A Dpmap-v4.c197 #define l1pte_section_p(pde) (((pde) & L1_TYPE_MASK) == L1_TYPE_S)
864 pd_entry_t *pde; local
867 if (pmap_get_pde_pte(pm, va, &pde, &ptep) &&
1864 pd_entry_t *pdep, pde; local
1873 pde = *pdep;
1875 if (l1pte_section_p(pde)) {
1876 if ((pde & L1_S_CACHE_MASK) != pte_l1_s_cache_mode_pt) {
1877 *pdep = (pde & ~L1_S_CACHE_MASK) |
1887 pa = (vm_paddr_t)(pde
1947 pd_entry_t pde; local
2663 pd_entry_t *pde; local
4187 pd_entry_t *pde = (pd_entry_t *) l1pt; local
4222 pd_entry_t *pde = (pd_entry_t *) l1pt, proto; local
4248 pd_entry_t *pde = (pd_entry_t *) l1pt; local
4293 pd_entry_t *pde = (pd_entry_t *) l1pt; local
[all...]
/freebsd-head/sys/mips/mips/
H A Dpmap.c173 pd_entry_t pde);
341 pd_entry_t *pde; local
343 pde = (pd_entry_t *)*pdpe;
344 return (&pde[pmap_pde_index(va)]);
375 pmap_pde_to_pte(pd_entry_t *pde, vm_offset_t va) argument
379 pte = (pt_entry_t *)*pde;
386 pd_entry_t *pde; local
388 pde = pmap_pde(pmap, va);
389 if (pde == NULL || *pde
437 pd_entry_t *pde; local
1006 pd_entry_t *pde; local
1067 pmap_unuse_pt(pmap_t pmap, vm_offset_t va, pd_entry_t pde) argument
1198 pd_entry_t *pdep, *pde; local
1232 pd_entry_t *pde; local
1297 pd_entry_t *pde, *pdpe; local
1441 pd_entry_t *pde; local
1761 pmap_remove_pte(struct pmap *pmap, pt_entry_t *ptq, vm_offset_t va, pd_entry_t pde) argument
1811 pd_entry_t *pde; local
1844 pd_entry_t *pde, *pdpe; local
1956 pd_entry_t *pde; local
2023 pd_entry_t *pde, *pdpe; local
2341 pd_entry_t *pde; local
2541 pd_entry_t *pde, *pdpe; local
2822 pd_entry_t *pde; local
3055 pd_entry_t *pde; local
3078 pd_entry_t *pde, *pdpe; local
3409 pt_entry_t *pde; local
3687 pd_entry_t *pde, *pdpe; local
[all...]
/freebsd-head/sys/i386/i386/
H A Dpmap.c304 static bool pmap_pv_insert_pde(pmap_t pmap, vm_offset_t va, pd_entry_t pde,
315 static boolean_t pmap_demote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va);
324 pd_entry_t pde);
330 static void pmap_pde_attr(pd_entry_t *pde, int cache_bits);
332 static void pmap_promote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va);
334 static boolean_t pmap_protect_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t sva,
349 static void pmap_update_pde(pmap_t pmap, vm_offset_t va, pd_entry_t *pde,
1175 pd_entry_t *pde; local
1177 pde = pmap_pde(kernel_pmap, va);
1178 pde_store(pde, newpd
1325 pd_entry_t *pde; member in struct:pde_action
1334 pd_entry_t *pde; local
1369 pmap_update_pde(pmap_t pmap, vm_offset_t va, pd_entry_t *pde, pd_entry_t newpde) argument
1443 pmap_update_pde(pmap_t pmap, vm_offset_t va, pd_entry_t *pde, pd_entry_t newpde) argument
1478 pmap_invalidate_pde_page(pmap_t pmap, vm_offset_t va, pd_entry_t pde) argument
1516 pd_entry_t *pde; local
1577 pd_entry_t *pde; local
1614 pd_entry_t *pde; local
1645 pmap_pte_ufast(pmap_t pmap, vm_offset_t va, pd_entry_t pde) argument
1702 pd_entry_t pde; local
1729 pd_entry_t pde; local
2338 pd_entry_t *pde; local
2748 pmap_pv_insert_pde(pmap_t pmap, vm_offset_t va, pd_entry_t pde, u_int flags) argument
2784 pmap_demote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va) argument
2933 pmap_remove_kernel_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va) argument
3235 pd_entry_t *pde; local
3293 pmap_protect_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t sva, vm_prot_t prot) argument
3500 pmap_promote_pde(pmap_t pmap, pd_entry_t *pde, vm_offset_t va) argument
3641 pd_entry_t *pde; local
3958 pd_entry_t oldpde, *pde; local
4221 pd_entry_t *pde; local
4298 pd_entry_t *pde; local
4960 pd_entry_t pde; local
5030 pd_entry_t *pde; local
5106 pd_entry_t *pde; local
5211 pd_entry_t oldpde, *pde; local
5335 pd_entry_t oldpde, *pde; local
5423 pmap_pde_attr(pd_entry_t *pde, int cache_bits) argument
5637 pd_entry_t *pde; local
5745 pd_entry_t pde; local
6233 sysctl_kmaps_check(struct sbuf *sb, struct pmap_kernel_map_range *range, vm_offset_t va, pd_entry_t pde, pt_entry_t pte) argument
6263 pd_entry_t pde; local
[all...]
/freebsd-head/sys/powerpc/aim/
H A Dmmu_radix.c546 static boolean_t pmap_demote_l3e(pmap_t pmap, pml3_entry_t *pde, vm_offset_t va);
553 static bool pmap_remove_page(pmap_t pmap, vm_offset_t va, pml3_entry_t *pde,
2652 pmap_promote_l3e(pmap_t pmap, pml3_entry_t *pde, vm_offset_t va, argument
2666 firstpte = (pt_entry_t *)PHYS_TO_DMAP(*pde & PG_FRAME);
2723 mpte = PHYS_TO_VM_PAGE(*pde & PG_FRAME);
2742 pte_store(pde, PG_PROMOTED | newpde);
3162 KASSERT(*l3e == 0, ("pmap_enter_pde: non-zero pde %p",
4759 pmap_pv_insert_l3e(pmap_t pmap, vm_offset_t va, pml3_entry_t pde, u_int flags, argument
4772 pa = pde & PG_PS_FRAME;
4795 pmap_demote_l3e(pmap_t pmap, pml3_entry_t *pde, vm_offset_ argument
5863 pml3_entry_t *firstpde, newpde, *pde; local
6273 pml3_entry_t *pde; local
[all...]
/freebsd-head/sys/arm64/arm64/
H A Dpmap.c513 * Returns the lowest valid pde for a given virtual address.
1407 pd_entry_t *pde; local
1423 pde = pmap_pde(kernel_pmap, va, &lvl);
1424 KASSERT(pde != NULL,
1428 pte = pmap_l2_to_l3(pde, va);
1518 pd_entry_t *pde; local
1526 pde = pmap_pde(kernel_pmap, va, &lvl);
1527 KASSERT(pde != NULL,
1536 pte = pmap_l2_to_l3(pde, va);
1946 pd_entry_t *pde, tpd local
2210 pd_entry_t *pde; local
3063 pd_entry_t *pde, tpde; local
3623 pd_entry_t *pde; local
4173 pd_entry_t *pde; local
4827 pd_entry_t *pde; local
5246 pd_entry_t *pde, tpde; local
5615 pd_entry_t *pde; local
5722 pd_entry_t *pde; local
[all...]

Completed in 207 milliseconds