Searched refs:num_hem (Results 1 – 2 of 2) sorted by relevance
490 if (unlikely(hem_idx >= table->num_hem)) { in hns_roce_table_mhop_get()492 table->type, hem_idx, table->num_hem); in hns_roce_table_mhop_get()732 chunk_ba_num, table->num_hem)) { in hns_roce_table_mhop_put()746 chunk_ba_num, table->num_hem)) { in hns_roce_table_mhop_put()931 unsigned long num_hem; in hns_roce_init_hem_table() local936 num_hem = (nobj + obj_per_chunk - 1) / obj_per_chunk; in hns_roce_init_hem_table()938 table->hem = kcalloc(num_hem, sizeof(*table->hem), GFP_KERNEL); in hns_roce_init_hem_table()958 num_hem = (nobj + obj_per_chunk - 1) / obj_per_chunk; in hns_roce_init_hem_table()963 table->hem = kcalloc(num_hem, sizeof(*table->hem), in hns_roce_init_hem_table()971 num_bt_l1 = (num_hem + bt_chunk_num - 1) / in hns_roce_init_hem_table()[all …]
326 unsigned long num_hem; member