Lines Matching refs:shca
121 struct ehca_shca *shca = in ehca_create_cq() local
135 if (!atomic_add_unless(&shca->num_cqs, 1, shca->max_num_cqs)) { in ehca_create_cq()
137 "CQs reached.", shca->max_num_cqs); in ehca_create_cq()
147 atomic_dec(&shca->num_cqs); in ehca_create_cq()
161 adapter_handle = shca->ipz_hca_handle; in ehca_create_cq()
162 param.eq_handle = shca->eq.ipz_eq_handle; in ehca_create_cq()
320 atomic_dec(&shca->num_cqs); in ehca_create_cq()
330 struct ehca_shca *shca = container_of(device, struct ehca_shca, in ehca_destroy_cq() local
332 struct ipz_adapter_handle adapter_handle = shca->ipz_hca_handle; in ehca_destroy_cq()
361 ehca_error_data(shca, my_cq, my_cq->ipz_cq_handle.handle); in ehca_destroy_cq()
375 atomic_dec(&shca->num_cqs); in ehca_destroy_cq()