Lines Matching refs:parent_ah
4540 new_ah->parent_ah = ah; in irdma_ah_exists()
4558 if ((ah_flags & RDMA_DESTROY_AH_SLEEPABLE) && ah->parent_ah) { in irdma_destroy_ah()
4560 if (!refcount_dec_and_test(&ah->parent_ah->refcnt)) { in irdma_destroy_ah()
4564 hash_del(&ah->parent_ah->list); in irdma_destroy_ah()
4565 kfree(ah->parent_ah); in irdma_destroy_ah()
4594 struct irdma_ah *parent_ah; in irdma_create_user_ah() local
4611 parent_ah = kmemdup(ah, sizeof(*ah), GFP_KERNEL); in irdma_create_user_ah()
4612 if (parent_ah) { in irdma_create_user_ah()
4613 u32 key = parent_ah->sc_ah.ah_info.dest_ip_addr[0] ^ in irdma_create_user_ah()
4614 parent_ah->sc_ah.ah_info.dest_ip_addr[1] ^ in irdma_create_user_ah()
4615 parent_ah->sc_ah.ah_info.dest_ip_addr[2] ^ in irdma_create_user_ah()
4616 parent_ah->sc_ah.ah_info.dest_ip_addr[3]; in irdma_create_user_ah()
4618 ah->parent_ah = parent_ah; in irdma_create_user_ah()
4619 hash_add(iwdev->ah_hash_tbl, &parent_ah->list, key); in irdma_create_user_ah()
4620 refcount_set(&parent_ah->refcnt, 1); in irdma_create_user_ah()