Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/events/intel/
Dpt.c574 struct topa { struct
588 ((PAGE_SIZE - sizeof(struct topa)) / sizeof(struct topa_entry)) argument
597 struct topa topa; member
600 static inline struct topa_page *topa_to_page(struct topa *topa) in topa_to_page() argument
602 return container_of(topa, struct topa_page, topa); in topa_to_page()
610 static inline phys_addr_t topa_pfn(struct topa *topa) in topa_pfn() argument
612 return PFN_DOWN(virt_to_phys(topa_to_page(topa))); in topa_pfn()
657 static struct topa *topa_alloc(int cpu, gfp_t gfp) in topa_alloc()
668 tp->topa.last = 0; in topa_alloc()
675 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_alloc()
[all …]
Dpt.h77 struct topa *first, *last, *cur;