Home
last modified time | relevance | path

Searched refs:ptd (Results 1 – 2 of 2) sorted by relevance

/xnu-8020.121.3/tools/lldbmacros/
H A Dpmap.py1055 ptd = GetPtDesc(KVToPhysARM(ptep))
1056 iommu = dereference(ptd.iommu)
1076 ptd = GetPtDesc(KVToPhysARM(ptep))
1077 if ptd.pmap == kern.globals.kernel_pmap:
1078 extra_str = "Mapped by kernel task (kernel_pmap: {:#x})".format(ptd.pmap)
1080 task = TaskForPmapHelper(ptd.pmap)
1081 …extra_str = "Mapped by user task (pmap: {:#x}, task: {:s})".format(ptd.pmap, "{:#x}".format(task) …
1199 ptd = kern.GetValueFromAddress(pvh & ~0x3, 'pt_desc_t *')
1200 RunLldbCmdHelper("p/x *(pt_desc_t*)" + hex(ptd))
1205 RunLldbCmdHelper("p/x ((pt_desc_t*)" + hex(ptd) + ")->ptd_info[0]")
[all …]
/xnu-8020.121.3/osfmk/arm/pmap/
H A Dpmap_data.h1011 ptd_get_index(__unused const pt_desc_t *ptd, __unused const tt_entry_t *ttep) in ptd_get_index() argument
1016 assert(ptd != NULL); in ptd_get_index()
1018 const uint64_t pmap_page_shift = pt_attr_leaf_shift(pmap_get_pt_attr(ptd->pmap)); in ptd_get_index()
1052 ptd_get_info(pt_desc_t *ptd, const tt_entry_t *ttep) in ptd_get_info() argument
1054 assert((ptd != NULL) && (ptd->ptd_info[0].refcnt < PT_DESC_IOMMU_GRANTED_REFCOUNT)); in ptd_get_info()
1056 return &ptd->ptd_info[ptd_get_index(ptd, ttep)]; in ptd_get_info()