Lines Matching defs:sm_ah
63 struct ib_sa_sm_ah *sm_ah;
81 struct ib_sa_sm_ah *sm_ah;
352 struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref);
354 ib_destroy_ah(sm_ah->ah);
355 kfree(sm_ah);
398 if (port->sm_ah)
399 kref_put(&port->sm_ah->ref, free_sm_ah);
400 port->sm_ah = new_ah;
420 if (port->sm_ah)
421 kref_put(&port->sm_ah->ref, free_sm_ah);
422 port->sm_ah = NULL;
485 src_path_mask = port->sm_ah ? port->sm_ah->src_path_mask : 0x7f;
528 if (!query->port->sm_ah) {
532 kref_get(&query->port->sm_ah->ref);
533 query->sm_ah = query->port->sm_ah;
537 query->sm_ah->pkey_index,
541 kref_put(&query->sm_ah->ref, free_sm_ah);
545 query->mad_buf->ah = query->sm_ah->ah;
553 kref_put(&query->sm_ah->ref, free_sm_ah);
1020 sa_dev->port[i].sm_ah = NULL;
1075 if (sa_dev->port[i].sm_ah)
1076 kref_put(&sa_dev->port[i].sm_ah->ref, free_sm_ah);