Searched refs:cur_pg (Results 1 – 1 of 1) sorted by relevance
979 unsigned int idx, cur_pg = 0, z_pg = 0, start_idx = 0; in pt_topa_entry_for_page() local1012 cur_pg = PFN_DOWN(topa->offset); in pt_topa_entry_for_page()1022 if (pg >= cur_pg && pg < cur_pg + z_pg) { in pt_topa_entry_for_page()1023 idx = (pg - cur_pg) / TOPA_ENTRY_PAGES(topa, 0); in pt_topa_entry_for_page()1030 for (idx = start_idx, cur_pg += z_pg; idx < topa->last; idx++) { in pt_topa_entry_for_page()1031 if (cur_pg + TOPA_ENTRY_PAGES(topa, idx) > pg) in pt_topa_entry_for_page()1034 cur_pg += TOPA_ENTRY_PAGES(topa, idx); in pt_topa_entry_for_page()