Searched refs:new_ah (Results 1 – 3 of 3) sorted by relevance
362 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local371 new_ah = kmalloc(sizeof *new_ah, GFP_KERNEL); in update_sm_ah()372 if (!new_ah) { in update_sm_ah()377 kref_init(&new_ah->ref); in update_sm_ah()378 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()380 new_ah->pkey_index = 0; in update_sm_ah()382 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()390 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah()391 if (IS_ERR(new_ah->ah)) { in update_sm_ah()393 kfree(new_ah); in update_sm_ah()[all …]
77 struct ib_ah *new_ah; in update_sm_ah() local89 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()91 if (IS_ERR(new_ah)) in update_sm_ah()97 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
126 struct ib_ah *new_ah; in update_sm_ah() local137 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()139 if (IS_ERR(new_ah)) in update_sm_ah()145 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()