Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hem.c87 static bool hns_roce_check_hem_null(struct hns_roce_hem **hem, u64 start_idx, in hns_roce_check_hem_null() argument
94 if (hem[i]) in hns_roce_check_hem_null()
283 struct hns_roce_hem *hem; in hns_roce_alloc_hem() local
290 hem = kmalloc(sizeof(*hem), in hns_roce_alloc_hem()
292 if (!hem) in hns_roce_alloc_hem()
295 hem->refcount = 0; in hns_roce_alloc_hem()
296 INIT_LIST_HEAD(&hem->chunk_list); in hns_roce_alloc_hem()
311 list_add_tail(&chunk->list, &hem->chunk_list); in hns_roce_alloc_hem()
335 return hem; in hns_roce_alloc_hem()
338 hns_roce_free_hem(hr_dev, hem); in hns_roce_alloc_hem()
[all …]
Dhns_roce_hem.h95 struct hns_roce_hem *hem; member
110 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem);
150 static inline void hns_roce_hem_first(struct hns_roce_hem *hem, in hns_roce_hem_first() argument
153 iter->hem = hem; in hns_roce_hem_first()
154 iter->chunk = list_empty(&hem->chunk_list) ? NULL : in hns_roce_hem_first()
155 list_entry(hem->chunk_list.next, in hns_roce_hem_first()
168 if (iter->chunk->list.next == &iter->hem->chunk_list) { in hns_roce_hem_next()
Dhns_roce_device.h334 struct hns_roce_hem **hem; member
Dhns_roce_hw_v2.c3040 struct hns_roce_hem *hem; in hns_roce_v2_set_hem() local
3083 hem = table->hem[hem_idx]; in hns_roce_v2_set_hem()
3084 for (hns_roce_hem_first(hem, &iter); in hns_roce_v2_set_hem()
/Linux-v5.4/Documentation/virt/uml/
DUserModeLinux-HOWTO.txt4341 Henrik Nordstrom <http://hem.passagen.se/hno/> - Provided a variety