Searched refs:mapped_cnt (Results 1 – 2 of 2) sorted by relevance
801 unsigned int i, mapped_cnt; in hns_roce_mtr_map() local813 for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count && in hns_roce_mtr_map()814 mapped_cnt < page_cnt; i++) { in hns_roce_mtr_map()818 mapped_cnt += r->count; in hns_roce_mtr_map()831 page_cnt - mapped_cnt); in hns_roce_mtr_map()838 mapped_cnt += ret; in hns_roce_mtr_map()842 if (mapped_cnt < page_cnt) { in hns_roce_mtr_map()845 mapped_cnt, page_cnt); in hns_roce_mtr_map()
296 int i, rc, pgt_residency, mapped_cnt = 0; in hl_mmu_map_page() local347 mapped_cnt++; in hl_mmu_map_page()359 for (i = 0 ; i < mapped_cnt ; i++) { in hl_mmu_map_page()