Home
last modified time | relevance | path

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

/linux/arch/x86/events/intel/
H A Dpt.c597 struct topa { struct
611 ((PAGE_SIZE - sizeof(struct topa)) / sizeof(struct topa_entry)) argument
620 struct topa topa; member
623 static inline struct topa_page *topa_to_page(struct topa *topa) in topa_to_page() argument
625 return container_of(topa, struct topa_page, topa); in topa_to_page()
633 static inline phys_addr_t topa_pfn(struct topa *topa) in topa_pfn() argument
635 return PFN_DOWN(virt_to_phys(topa_to_page(topa))); in topa_pfn()
680 static struct topa *topa_alloc(int cpu, gfp_t gfp) in topa_alloc()
691 tp->topa.last = 0; in topa_alloc()
698 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_alloc()
[all …]
H A Dpt.h75 struct topa *first, *last, *cur;