Lines Matching refs:init_attr
289 struct ib_srq_init_attr *init_attr, in set_srq_basic_param() argument
293 struct ib_srq_attr *attr = &init_attr->attr; in set_srq_basic_param()
317 struct ib_srq_init_attr *init_attr) in set_srq_ext_param() argument
319 srq->cqn = ib_srq_has_cq(init_attr->srq_type) ? in set_srq_ext_param()
320 to_hr_cq(init_attr->ext.cq)->cqn : 0; in set_srq_ext_param()
322 srq->xrcdn = (init_attr->srq_type == IB_SRQT_XRC) ? in set_srq_ext_param()
323 to_hr_xrcd(init_attr->ext.xrc.xrcd)->xrcdn : 0; in set_srq_ext_param()
327 struct ib_srq_init_attr *init_attr, in set_srq_param() argument
332 ret = set_srq_basic_param(srq, init_attr, udata); in set_srq_param()
336 set_srq_ext_param(srq, init_attr); in set_srq_param()
390 struct ib_srq_init_attr *init_attr, in hns_roce_create_srq() argument
401 ret = set_srq_param(srq, init_attr, udata); in hns_roce_create_srq()