Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c78 struct ib_ah *new_ah; in update_sm_ah() local
91 new_ah = rdma_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
93 if (IS_ERR(new_ah)) in update_sm_ah()
99 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()
/openbmc/linux/drivers/infiniband/core/
H A Dsa_query.c2044 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()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch26 struct locarhandle new_ah;
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c4379 struct irdma_ah *new_ah) in irdma_ah_exists() argument
4382 u32 key = new_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_ah_exists()
4383 new_ah->sc_ah.ah_info.dest_ip_addr[1] ^ in irdma_ah_exists()
4384 new_ah->sc_ah.ah_info.dest_ip_addr[2] ^ in irdma_ah_exists()
4385 new_ah->sc_ah.ah_info.dest_ip_addr[3]; in irdma_ah_exists()
4389 new_ah->sc_ah.ah_info.ah_idx = ah->sc_ah.ah_info.ah_idx; in irdma_ah_exists()
4390 new_ah->sc_ah.ah_info.ah_valid = ah->sc_ah.ah_info.ah_valid; in irdma_ah_exists()
4391 if (!memcmp(&ah->sc_ah.ah_info, &new_ah->sc_ah.ah_info, in irdma_ah_exists()
4394 new_ah->parent_ah = ah; in irdma_ah_exists()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c191 struct ib_ah *new_ah; in update_sm_ah() local
204 new_ah = rdma_create_ah(dev->send_agent[port_num - 1][0]->qp->pd, in update_sm_ah()
206 if (IS_ERR(new_ah)) in update_sm_ah()
212 dev->sm_ah[port_num - 1] = new_ah; in update_sm_ah()