Home
last modified time | relevance | path

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

/linux-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c268 hem = kmalloc(sizeof(*hem), in hns_roce_alloc_hem()
270 if (!hem) in hns_roce_alloc_hem()
290 if (!hem) in hns_roce_free_hem()
293 dma_free_coherent(hr_dev->dev, hem->size, hem->buf, hem->dma); in hns_roce_free_hem()
702 hem = table->hem[obj / obj_per_chunk]; in hns_roce_table_find()
719 hem = table->hem[hem_idx]; in hns_roce_table_find()
725 if (!hem) in hns_roce_table_find()
950 hem = kzalloc(sizeof(*hem), GFP_KERNEL); in hem_list_alloc_item()
951 if (!hem) in hem_list_alloc_item()
978 hem->addr, hem->dma_addr); in hem_list_free_item()
[all …]
H A Dhns_roce_hem.h88 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem);
H A Dhns_roce_device.h259 struct hns_roce_hem **hem; member
H A Dhns_roce_hw_v2.c4126 struct hns_roce_hem *hem; in hns_roce_v2_set_hem() local
4160 hem = table->hem[hem_idx]; in hns_roce_v2_set_hem()
4162 ret = set_hem_to_hw(hr_dev, obj, hem->dma, table->type, step_idx); in hns_roce_v2_set_hem()