Home
last modified time | relevance | path

Searched refs:new_ah (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/infiniband/core/
Dsa_query.c362 struct ib_sa_sm_ah *new_ah; in update_sm_ah() local
371 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 …]
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_mad.c77 struct ib_ah *new_ah; in update_sm_ah() local
89 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()
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dmad.c124 struct ib_ah *new_ah; in update_sm_ah() local
135 new_ah = ib_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
137 if (IS_ERR(new_ah)) in update_sm_ah()
143 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()