Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hem.c88 u32 bt_chunk_num, u64 hem_max_num) in hns_roce_check_hem_null() argument
90 u64 check_max_num = start_idx + bt_chunk_num; in hns_roce_check_hem_null()
100 static bool hns_roce_check_bt_null(u64 **bt, u64 start_idx, u32 bt_chunk_num) in hns_roce_check_bt_null() argument
104 for (i = 0; i < bt_chunk_num; i++) in hns_roce_check_bt_null()
945 unsigned long bt_chunk_num; in hns_roce_init_hem_table() local
959 bt_chunk_num = bt_chunk_size / BA_BYTE_LEN; in hns_roce_init_hem_table()
961 num_bt_l0 = bt_chunk_num; in hns_roce_init_hem_table()
971 num_bt_l1 = (num_hem + bt_chunk_num - 1) / in hns_roce_init_hem_table()
972 bt_chunk_num; in hns_roce_init_hem_table()