Searched refs:ba_num (Results 1 – 2 of 2) sorted by relevance
1252 int ba_num; in alloc_root_hem() local1255 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit); in alloc_root_hem()1256 if (ba_num < 1) in alloc_root_hem()1259 if (ba_num > unit) in alloc_root_hem()1266 ba_num, true); in alloc_root_hem()1270 *max_ba_num = ba_num; in alloc_root_hem()
954 unsigned int ba_num; in cal_best_bt_pg_sz() local962 ba_num = 0; in cal_best_bt_pg_sz()969 ba_num += DIV_ROUND_UP(re->count, pgs_per_l1ba); in cal_best_bt_pg_sz()972 if (ba_num <= ba_per_bt) in cal_best_bt_pg_sz()