Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_mr.c801 unsigned int i, mapped_cnt; in hns_roce_mtr_map() local
813 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()
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/
Dmmu.c296 int i, rc, pgt_residency, mapped_cnt = 0; in hl_mmu_map_page() local
347 mapped_cnt++; in hl_mmu_map_page()
359 for (i = 0 ; i < mapped_cnt ; i++) { in hl_mmu_map_page()