Searched refs:hr_dip (Results 1 – 1 of 1) sorted by relevance
2863 struct hns_roce_dip *hr_dip; in free_dip_entry() local2868 xa_for_each(&hr_dev->qp_table.dip_xa, idx, hr_dip) { in free_dip_entry()2869 __xa_erase(&hr_dev->qp_table.dip_xa, hr_dip->dip_idx); in free_dip_entry()2870 kfree(hr_dip); in free_dip_entry()5017 struct hns_roce_dip *hr_dip; in alloc_dip_entry() local5020 hr_dip = xa_load(dip_xa, qpn); in alloc_dip_entry()5021 if (hr_dip) in alloc_dip_entry()5024 hr_dip = kzalloc_obj(*hr_dip); in alloc_dip_entry()5025 if (!hr_dip) in alloc_dip_entry()5028 ret = xa_err(xa_store(dip_xa, qpn, hr_dip, GFP_KERNEL)); in alloc_dip_entry()[all …]