Searched refs:mapped_cnt (Results 1 – 2 of 2) sorted by relevance
750 unsigned int i, mapped_cnt; in hns_roce_mtr_map() local762 for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count && in hns_roce_mtr_map()763 mapped_cnt < page_cnt; i++) { in hns_roce_mtr_map()767 mapped_cnt += r->count; in hns_roce_mtr_map()780 page_cnt - mapped_cnt); in hns_roce_mtr_map()787 mapped_cnt += ret; in hns_roce_mtr_map()791 if (mapped_cnt < page_cnt) { in hns_roce_mtr_map()794 mapped_cnt, page_cnt); in hns_roce_mtr_map()
295 int i, rc, pgt_residency, mapped_cnt = 0; in hl_mmu_map_page() local346 mapped_cnt++; in hl_mmu_map_page()358 for (i = 0 ; i < mapped_cnt ; i++) { in hl_mmu_map_page()