Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c2526 struct hns_roce_dip *hr_dip; in free_dip_list() local
2532 list_for_each_entry_safe(hr_dip, tmp, &hr_dev->dip_list, node) { in free_dip_list()
2533 list_del(&hr_dip->node); in free_dip_list()
2534 kfree(hr_dip); in free_dip_list()
4670 struct hns_roce_dip *hr_dip; in get_dip_ctx_idx() local
4679 list_for_each_entry(hr_dip, &hr_dev->dip_list, node) { in get_dip_ctx_idx()
4680 if (!memcmp(grh->dgid.raw, hr_dip->dgid, 16)) { in get_dip_ctx_idx()
4681 *dip_idx = hr_dip->dip_idx; in get_dip_ctx_idx()
4689 hr_dip = kzalloc(sizeof(*hr_dip), GFP_ATOMIC); in get_dip_ctx_idx()
4690 if (!hr_dip) { in get_dip_ctx_idx()
[all …]