Lines Matching refs:start_idx
56 static bool hns_roce_check_hem_null(struct hns_roce_hem **hem, u64 start_idx, in hns_roce_check_hem_null() argument
62 if (hem[start_idx + i]) in hns_roce_check_hem_null()
68 static bool hns_roce_check_bt_null(u64 **bt, u64 start_idx, u32 bt_chunk_num) in hns_roce_check_bt_null() argument
73 if (bt[start_idx + i]) in hns_roce_check_bt_null()
590 u32 start_idx; in hns_roce_table_mhop_put() local
650 start_idx = mhop.l0_idx * chunk_ba_num; in hns_roce_table_mhop_put()
651 if (hns_roce_check_hem_null(table->hem, start_idx, in hns_roce_table_mhop_put()
663 start_idx = mhop.l0_idx * chunk_ba_num * chunk_ba_num + in hns_roce_table_mhop_put()
665 if (hns_roce_check_hem_null(table->hem, start_idx, in hns_roce_table_mhop_put()
675 start_idx = mhop.l0_idx * chunk_ba_num; in hns_roce_table_mhop_put()
676 if (hns_roce_check_bt_null(table->bt_l1, start_idx, in hns_roce_table_mhop_put()