Searched refs:hem (Results 1 – 5 of 5) sorted by relevance
265 hem = kmalloc(sizeof(*hem), in hns_roce_alloc_hem()267 if (!hem) in hns_roce_alloc_hem()321 if (!hem) in hns_roce_free_hem()736 hem = table->hem[obj / obj_per_chunk]; in hns_roce_table_find()753 hem = table->hem[hem_idx]; in hns_roce_table_find()759 if (!hem) in hns_roce_table_find()994 hem = kzalloc(sizeof(*hem), GFP_KERNEL); in hem_list_alloc_item()995 if (!hem) in hem_list_alloc_item()1021 hem->addr, hem->dma_addr); in hem_list_free_item()1252 if (!hem) in alloc_root_hem()[all …]
89 struct hns_roce_hem *hem; member104 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem);137 static inline void hns_roce_hem_first(struct hns_roce_hem *hem, in hns_roce_hem_first() argument140 iter->hem = hem; in hns_roce_hem_first()141 iter->chunk = list_empty(&hem->chunk_list) ? NULL : in hns_roce_hem_first()142 list_entry(hem->chunk_list.next, in hns_roce_hem_first()155 if (iter->chunk->list.next == &iter->hem->chunk_list) { in hns_roce_hem_next()
286 struct hns_roce_hem **hem; member
3896 struct hns_roce_hem *hem; in hns_roce_v2_set_hem() local3930 hem = table->hem[hem_idx]; in hns_roce_v2_set_hem()3931 for (hns_roce_hem_first(hem, &iter); in hns_roce_v2_set_hem()
502 for (hns_roce_hem_first(table->hem[i], &iter); in hns_roce_v1_set_hem()
Completed in 31 milliseconds