Lines Matching refs:pd
88 struct ib_ah *ehca_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in ehca_create_ah() argument
92 struct ehca_shca *shca = container_of(pd->device, struct ehca_shca, in ehca_create_ah()
97 ehca_err(pd->device, "Out of memory pd=%p ah_attr=%p", in ehca_create_ah()
98 pd, ah_attr); in ehca_create_ah()
132 rc = ehca_query_port(pd->device, ah_attr->port_num, in ehca_create_ah()
136 ehca_err(pd->device, "Invalid port number " in ehca_create_ah()
138 "pd=%p ah_attr=%p", rc, pd, ah_attr); in ehca_create_ah()
142 rc = ehca_query_gid(pd->device, in ehca_create_ah()
147 ehca_err(pd->device, "Failed to retrieve sgid " in ehca_create_ah()
149 "pd=%p ah_attr=%p", rc, pd, ah_attr); in ehca_create_ah()
172 struct ehca_shca *shca = container_of(ah->pd->device, struct ehca_shca, in ehca_modify_ah()