Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c84 static bool hns_roce_check_hem_null(struct hns_roce_hem **hem, u64 hem_idx, in hns_roce_check_hem_null() argument
92 if (i != hem_idx && hem[i]) in hns_roce_check_hem_null()
257 struct hns_roce_hem *hem; in hns_roce_alloc_hem() local
264 hem = kmalloc(sizeof(*hem), in hns_roce_alloc_hem()
266 if (!hem) in hns_roce_alloc_hem()
269 INIT_LIST_HEAD(&hem->chunk_list); in hns_roce_alloc_hem()
284 list_add_tail(&chunk->list, &hem->chunk_list); in hns_roce_alloc_hem()
308 return hem; in hns_roce_alloc_hem()
311 hns_roce_free_hem(hr_dev, hem); in hns_roce_alloc_hem()
315 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem) in hns_roce_free_hem() argument
[all …]
H A Dhns_roce_hem.h89 struct hns_roce_hem *hem; member
104 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem);
136 static inline void hns_roce_hem_first(struct hns_roce_hem *hem, in hns_roce_hem_first() argument
139 iter->hem = hem; in hns_roce_hem_first()
140 iter->chunk = list_empty(&hem->chunk_list) ? NULL : in hns_roce_hem_first()
141 list_entry(hem->chunk_list.next, in hns_roce_hem_first()
154 if (iter->chunk->list.next == &iter->hem->chunk_list) { in hns_roce_hem_next()
H A Dhns_roce_device.h253 struct hns_roce_hem **hem; member
H A Dhns_roce_hw_v2.c4055 struct hns_roce_hem *hem; in hns_roce_v2_set_hem() local
4089 hem = table->hem[hem_idx]; in hns_roce_v2_set_hem()
4090 for (hns_roce_hem_first(hem, &iter); in hns_roce_v2_set_hem()
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DCC-BY-3.0-NL63 … voor zover de Maker (en/of de uitvoerende kunstenaar) op grond van een op hem van toepassing zijn…