Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/intel/
H A Dpt.c984 unsigned int idx, cur_pg = 0, z_pg = 0, start_idx = 0; in pt_topa_entry_for_page() local
1017 cur_pg = PFN_DOWN(topa->offset); in pt_topa_entry_for_page()
1027 if (pg >= cur_pg && pg < cur_pg + z_pg) { in pt_topa_entry_for_page()
1028 idx = (pg - cur_pg) / TOPA_ENTRY_PAGES(topa, 0); in pt_topa_entry_for_page()
1035 for (idx = start_idx, cur_pg += z_pg; idx < topa->last; idx++) { in pt_topa_entry_for_page()
1036 if (cur_pg + TOPA_ENTRY_PAGES(topa, idx) > pg) in pt_topa_entry_for_page()
1039 cur_pg += TOPA_ENTRY_PAGES(topa, idx); in pt_topa_entry_for_page()