Lines Matching refs:new_ah
2105 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
2115 new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL); in update_sm_ah()
2116 if (!new_ah) in update_sm_ah()
2119 kref_init(&new_ah->ref); in update_sm_ah()
2120 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()
2122 new_ah->pkey_index = 0; in update_sm_ah()
2124 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()
2156 new_ah->ah = rdma_create_ah(port->agent->qp->pd, &ah_attr, in update_sm_ah()
2158 if (IS_ERR(new_ah->ah)) { in update_sm_ah()
2160 kfree(new_ah); in update_sm_ah()
2167 port->sm_ah = new_ah; in update_sm_ah()