Home
last modified time | relevance | path

Searched refs:bt_chunk_num (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_hem.c85 u32 bt_chunk_num, u64 hem_max_num) in hns_roce_check_hem_null() argument
87 u64 start_idx = round_down(hem_idx, bt_chunk_num); in hns_roce_check_hem_null()
88 u64 check_max_num = start_idx + bt_chunk_num; in hns_roce_check_hem_null()
98 static bool hns_roce_check_bt_null(u64 **bt, u64 ba_idx, u32 bt_chunk_num) in hns_roce_check_bt_null() argument
100 u64 start_idx = round_down(ba_idx, bt_chunk_num); in hns_roce_check_bt_null()
103 for (i = 0; i < bt_chunk_num; i++) in hns_roce_check_bt_null()
812 unsigned long bt_chunk_num; in hns_roce_init_hem_table() local
826 bt_chunk_num = bt_chunk_size / BA_BYTE_LEN; in hns_roce_init_hem_table()
829 num_bt_l0 = bt_chunk_num; in hns_roce_init_hem_table()
839 num_bt_l1 = DIV_ROUND_UP(num_hem, bt_chunk_num); in hns_roce_init_hem_table()