Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hem.c56 static bool hns_roce_check_hem_null(struct hns_roce_hem **hem, u64 start_idx, in hns_roce_check_hem_null() argument
62 if (hem[start_idx + i]) in hns_roce_check_hem_null()
200 struct hns_roce_hem *hem; in hns_roce_alloc_hem() local
207 hem = kmalloc(sizeof(*hem), in hns_roce_alloc_hem()
209 if (!hem) in hns_roce_alloc_hem()
212 hem->refcount = 0; in hns_roce_alloc_hem()
213 INIT_LIST_HEAD(&hem->chunk_list); in hns_roce_alloc_hem()
228 list_add_tail(&chunk->list, &hem->chunk_list); in hns_roce_alloc_hem()
252 return hem; in hns_roce_alloc_hem()
255 hns_roce_free_hem(hr_dev, hem); in hns_roce_alloc_hem()
[all …]
Dhns_roce_hem.h90 struct hns_roce_hem *hem; member
105 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem);
131 static inline void hns_roce_hem_first(struct hns_roce_hem *hem, in hns_roce_hem_first() argument
134 iter->hem = hem; in hns_roce_hem_first()
135 iter->chunk = list_empty(&hem->chunk_list) ? NULL : in hns_roce_hem_first()
136 list_entry(hem->chunk_list.next, in hns_roce_hem_first()
149 if (iter->chunk->list.next == &iter->hem->chunk_list) { in hns_roce_hem_next()
Dhns_roce_device.h282 struct hns_roce_hem **hem; member
Dhns_roce_hw_v2.c2334 struct hns_roce_hem *hem; in hns_roce_v2_set_hem() local
2390 hem = table->hem[hem_idx]; in hns_roce_v2_set_hem()
2391 for (hns_roce_hem_first(hem, &iter); in hns_roce_v2_set_hem()
/Linux-v4.19/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt4341 Henrik Nordstrom <http://hem.passagen.se/hno/> - Provided a variety