Searched refs:ba_num (Results 1 – 2 of 2) sorted by relevance
1186 int ba_num; in alloc_root_hem() local1189 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit); in alloc_root_hem()1190 if (ba_num < 1) in alloc_root_hem()1193 if (ba_num > unit) in alloc_root_hem()1200 ba_num, true); in alloc_root_hem()1204 *max_ba_num = ba_num; in alloc_root_hem()
969 unsigned int ba_num; in cal_best_bt_pg_sz() local977 ba_num = 0; in cal_best_bt_pg_sz()984 ba_num += DIV_ROUND_UP(re->count, pgs_per_l1ba); in cal_best_bt_pg_sz()987 if (ba_num <= ba_per_bt) in cal_best_bt_pg_sz()