Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hns/
Dhns_roce_hem.c376 if (unlikely(index->buf >= table->num_hem)) { in calc_hem_config()
378 table->type, index->buf, table->num_hem); in calc_hem_config()
627 chunk_ba_num, table->num_hem)) in clear_mhop_hem()
631 chunk_ba_num, table->num_hem)) { in clear_mhop_hem()
786 unsigned long num_hem; in hns_roce_init_hem_table() local
791 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()
793 table->hem = kcalloc(num_hem, sizeof(*table->hem), GFP_KERNEL); in hns_roce_init_hem_table()
813 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()
819 table->hem = kcalloc(num_hem, sizeof(*table->hem), in hns_roce_init_hem_table()
827 num_bt_l1 = DIV_ROUND_UP(num_hem, bt_chunk_num); in hns_roce_init_hem_table()
[all …]
Dhns_roce_device.h241 unsigned long num_hem; member