Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/intel/
Dpt.c925 unsigned int idx, cur_pg = 0, z_pg = 0, start_idx = 0; in pt_topa_entry_for_page() local
958 cur_pg = PFN_DOWN(topa->offset); in pt_topa_entry_for_page()
968 if (pg >= cur_pg && pg < cur_pg + z_pg) { in pt_topa_entry_for_page()
969 idx = (pg - cur_pg) / TOPA_ENTRY_PAGES(topa, 0); in pt_topa_entry_for_page()
976 for (idx = start_idx, cur_pg += z_pg; idx < topa->last; idx++) { in pt_topa_entry_for_page()
977 if (cur_pg + TOPA_ENTRY_PAGES(topa, idx) > pg) in pt_topa_entry_for_page()
980 cur_pg += TOPA_ENTRY_PAGES(topa, idx); in pt_topa_entry_for_page()