Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/intel/
Dpt.c556 struct topa { struct
570 ((PAGE_SIZE - sizeof(struct topa)) / sizeof(struct topa_entry)) argument
579 struct topa topa; member
582 static inline struct topa_page *topa_to_page(struct topa *topa) in topa_to_page() argument
584 return container_of(topa, struct topa_page, topa); in topa_to_page()
592 static inline phys_addr_t topa_pfn(struct topa *topa) in topa_pfn() argument
594 return PFN_DOWN(virt_to_phys(topa_to_page(topa))); in topa_pfn()
612 static struct topa *topa_alloc(int cpu, gfp_t gfp) in topa_alloc()
623 tp->topa.last = 0; in topa_alloc()
630 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_alloc()
[all …]
Dpt.h76 struct topa *first, *last, *cur;