Searched refs:num_hem (Results 1 – 2 of 2) sorted by relevance
/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 376 if (unlikely(index->buf >= table->num_hem)) { in calc_hem_config() 378 table->type, index->buf, table->num_hem); in calc_hem_config() 628 chunk_ba_num, table->num_hem)) in clear_mhop_hem() 632 chunk_ba_num, table->num_hem)) { in clear_mhop_hem() 798 unsigned long num_hem; in hns_roce_init_hem_table() local 803 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table() 805 table->hem = kcalloc(num_hem, sizeof(*table->hem), GFP_KERNEL); in hns_roce_init_hem_table() 825 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table() 831 table->hem = kcalloc(num_hem, sizeof(*table->hem), in hns_roce_init_hem_table() 839 num_bt_l1 = DIV_ROUND_UP(num_hem, bt_chunk_num); in hns_roce_init_hem_table() [all …]
|
D | hns_roce_device.h | 248 unsigned long num_hem; member
|