Searched refs:hr_dip (Results 1 – 1 of 1) sorted by relevance
2699 struct hns_roce_dip *hr_dip; in free_dip_entry() local2704 xa_for_each(&hr_dev->qp_table.dip_xa, idx, hr_dip) { in free_dip_entry()2705 __xa_erase(&hr_dev->qp_table.dip_xa, hr_dip->dip_idx); in free_dip_entry()2706 kfree(hr_dip); in free_dip_entry()4830 struct hns_roce_dip *hr_dip; in alloc_dip_entry() local4833 hr_dip = xa_load(dip_xa, qpn); in alloc_dip_entry()4834 if (hr_dip) in alloc_dip_entry()4837 hr_dip = kzalloc(sizeof(*hr_dip), GFP_KERNEL); in alloc_dip_entry()4838 if (!hr_dip) in alloc_dip_entry()4841 ret = xa_err(xa_store(dip_xa, qpn, hr_dip, GFP_KERNEL)); in alloc_dip_entry()[all …]