Searched refs:mapped_cnt (Results 1 – 2 of 2) sorted by relevance
749 unsigned int i, mapped_cnt; in hns_roce_mtr_map() local761 for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count && in hns_roce_mtr_map()762 mapped_cnt < page_cnt; i++) { in hns_roce_mtr_map()766 mapped_cnt += r->count; in hns_roce_mtr_map()779 page_cnt - mapped_cnt); in hns_roce_mtr_map()786 mapped_cnt += ret; in hns_roce_mtr_map()790 if (mapped_cnt < page_cnt) { in hns_roce_mtr_map()793 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()