Home
last modified time | relevance | path

Searched refs:bt_level (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c975 int bt_level) in hem_list_alloc_item()
1059 static bool hem_list_is_bottom_bt(int hopnum, int bt_level) in hem_list_is_bottom_bt() argument
1068 return bt_level >= (hopnum ? hopnum - 1 : hopnum); in hem_list_is_bottom_bt()
1074 * @bt_level: base address table level
1077 static u32 hem_list_calc_ba_range(int hopnum, int bt_level, int unit) in hem_list_calc_ba_range() argument
1083 if (hopnum <= bt_level) in hem_list_calc_ba_range()
1086 * hopnum bt_level range in hem_list_calc_ba_range()
1097 max = hopnum - bt_level; in hem_list_calc_ba_range()
972 hem_list_alloc_item(struct hns_roce_dev *hr_dev, int start, int end, int count, bool exist_bt, int bt_level) hem_list_alloc_item() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1083 static bool hem_list_is_bottom_bt(int hopnum, int bt_level) in hem_list_is_bottom_bt() argument
1092 return bt_level >= (hopnum ? hopnum - 1 : hopnum); in hem_list_is_bottom_bt()
1098 * @bt_level: base address table level
1101 static u32 hem_list_calc_ba_range(int hopnum, int bt_level, int unit) in hem_list_calc_ba_range() argument
1107 if (hopnum <= bt_level) in hem_list_calc_ba_range()
1110 * hopnum bt_level range in hem_list_calc_ba_range()
1121 max = hopnum - bt_level; in hem_list_calc_ba_range()

Completed in 5 milliseconds