Searched refs:hr_dip (Results 1 – 1 of 1) sorted by relevance
2522 struct hns_roce_dip *hr_dip; in free_dip_list() local2528 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() local4672 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 …]