Lines Matching refs:new_ah
2044 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
2054 new_ah = kmalloc(sizeof(*new_ah), GFP_KERNEL); in update_sm_ah()
2055 if (!new_ah) in update_sm_ah()
2058 kref_init(&new_ah->ref); in update_sm_ah()
2059 new_ah->src_path_mask = (1 << port_attr.lmc) - 1; in update_sm_ah()
2061 new_ah->pkey_index = 0; in update_sm_ah()
2063 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index)) in update_sm_ah()
2095 new_ah->ah = rdma_create_ah(port->agent->qp->pd, &ah_attr, in update_sm_ah()
2097 if (IS_ERR(new_ah->ah)) { in update_sm_ah()
2099 kfree(new_ah); in update_sm_ah()
2106 port->sm_ah = new_ah; in update_sm_ah()