Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2522 struct hns_roce_dip *hr_dip; in free_dip_list() local
2528 list_for_each_entry_safe(hr_dip, tmp, &hr_dev->dip_list, node) { in free_dip_list()
2529 list_del(&hr_dip->node); in free_dip_list()
2530 kfree(hr_dip); in free_dip_list()
4663 struct hns_roce_dip *hr_dip; in get_dip_ctx_idx() local
4672 list_for_each_entry(hr_dip, &hr_dev->dip_list, node) { in get_dip_ctx_idx()
4673 if (!memcmp(grh->dgid.raw, hr_dip->dgid, 16)) { in get_dip_ctx_idx()
4674 *dip_idx = hr_dip->dip_idx; in get_dip_ctx_idx()
4682 hr_dip = kzalloc(sizeof(*hr_dip), GFP_ATOMIC); in get_dip_ctx_idx()
4683 if (!hr_dip) { in get_dip_ctx_idx()
[all …]