Searched refs:hr_dip (Results 1 – 1 of 1) sorted by relevance
2562 struct hns_roce_dip *hr_dip; in free_dip_entry() local2567 xa_for_each(&hr_dev->qp_table.dip_xa, idx, hr_dip) { in free_dip_entry()2568 __xa_erase(&hr_dev->qp_table.dip_xa, hr_dip->dip_idx); in free_dip_entry()2569 kfree(hr_dip); in free_dip_entry()4702 struct hns_roce_dip *hr_dip; in alloc_dip_entry() local4705 hr_dip = xa_load(dip_xa, qpn); in alloc_dip_entry()4706 if (hr_dip) in alloc_dip_entry()4709 hr_dip = kzalloc(sizeof(*hr_dip), GFP_KERNEL); in alloc_dip_entry()4710 if (!hr_dip) in alloc_dip_entry()4713 ret = xa_err(xa_store(dip_xa, qpn, hr_dip, GFP_KERNEL)); in alloc_dip_entry()[all …]