Lines Matching refs:new_ah
362 struct ib_sa_sm_ah *new_ah;
371 new_ah = kmalloc(sizeof *new_ah, GFP_KERNEL);
372 if (!new_ah) {
377 kref_init(&new_ah->ref);
378 new_ah->src_path_mask = (1 << port_attr.lmc) - 1;
380 new_ah->pkey_index = 0;
382 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index))
390 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr);
391 if (IS_ERR(new_ah->ah)) {
393 kfree(new_ah);
400 port->sm_ah = new_ah;