Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_mr.c749 unsigned int i, mapped_cnt; in hns_roce_mtr_map() local
761 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()
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/
Dmmu.c295 int i, rc, pgt_residency, mapped_cnt = 0; in hl_mmu_map_page() local
346 mapped_cnt++; in hl_mmu_map_page()
358 for (i = 0 ; i < mapped_cnt ; i++) { in hl_mmu_map_page()