Lines Matching refs:new_ah
506 struct ib_sa_sm_ah *new_ah;
515 new_ah = kmalloc(sizeof *new_ah, GFP_KERNEL);
516 if (!new_ah) {
520 kref_init(&new_ah->ref);
521 new_ah->src_path_mask = (1 << port_attr.lmc) - 1;
523 new_ah->pkey_index = 0;
525 IB_DEFAULT_PKEY_FULL, &new_ah->pkey_index))
538 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr);
539 if (IS_ERR(new_ah->ah)) {
541 kfree(new_ah);
548 port->sm_ah = new_ah;