hem_idx           450 drivers/infiniband/hw/hns/hns_roce_hem.c 	u64 hem_idx;
hem_idx           472 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num +
hem_idx           478 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx;
hem_idx           482 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx;
hem_idx           490 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (unlikely(hem_idx >= table->num_hem)) {
hem_idx           492 drivers/infiniband/hw/hns/hns_roce_hem.c 			     table->type, hem_idx, table->num_hem);
hem_idx           498 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (table->hem[hem_idx]) {
hem_idx           499 drivers/infiniband/hw/hns/hns_roce_hem.c 		++table->hem[hem_idx]->refcount;
hem_idx           555 drivers/infiniband/hw/hns/hns_roce_hem.c 	table->hem[hem_idx] = hns_roce_alloc_hem(hr_dev,
hem_idx           560 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (!table->hem[hem_idx]) {
hem_idx           565 drivers/infiniband/hw/hns/hns_roce_hem.c 	hns_roce_hem_first(table->hem[hem_idx], &iter);
hem_idx           592 drivers/infiniband/hw/hns/hns_roce_hem.c 	++table->hem[hem_idx]->refcount;
hem_idx           672 drivers/infiniband/hw/hns/hns_roce_hem.c 	u64 hem_idx;
hem_idx           687 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num +
hem_idx           692 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx * chunk_ba_num + mhop.l1_idx;
hem_idx           695 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem_idx = mhop.l0_idx;
hem_idx           705 drivers/infiniband/hw/hns/hns_roce_hem.c 	if (check_refcount && (--table->hem[hem_idx]->refcount > 0)) {
hem_idx           726 drivers/infiniband/hw/hns/hns_roce_hem.c 	hns_roce_free_hem(hr_dev, table->hem[hem_idx]);
hem_idx           727 drivers/infiniband/hw/hns/hns_roce_hem.c 	table->hem[hem_idx] = NULL;
hem_idx           815 drivers/infiniband/hw/hns/hns_roce_hem.c 	u32 hem_idx = 0;
hem_idx           836 drivers/infiniband/hw/hns/hns_roce_hem.c 			hem_idx = i * (mhop.bt_chunk_size / BA_BYTE_LEN) + j;
hem_idx           839 drivers/infiniband/hw/hns/hns_roce_hem.c 			hem_idx = i;
hem_idx           841 drivers/infiniband/hw/hns/hns_roce_hem.c 		hem = table->hem[hem_idx];
hem_idx          3047 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	u64 hem_idx = 0;
hem_idx          3065 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hem_idx = i * chunk_ba_num * chunk_ba_num + j * chunk_ba_num +
hem_idx          3069 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hem_idx = i * chunk_ba_num + j;
hem_idx          3071 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hem_idx = i;
hem_idx          3086 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		hem = table->hem[hem_idx];