Lines Matching defs:hr_qp
48 struct hns_roce_qp *hr_qp = container_of(flush_work, in flush_work_handle() local
73 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in init_flush_work()
114 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event()
157 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpn()
208 struct hns_roce_qp *hr_qp, in add_qp_to_list()
231 struct hns_roce_qp *hr_qp, in hns_roce_qp_store()
251 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc()
315 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove()
329 static void free_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpc()
343 static void free_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpn()
357 struct hns_roce_qp *hr_qp, int has_rq) in set_rq_size()
408 struct hns_roce_qp *hr_qp, in set_extend_sge_param()
464 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
493 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
545 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
598 static int alloc_rq_inline_buf(struct hns_roce_qp *hr_qp, in alloc_rq_inline_buf()
635 static void free_rq_inline_buf(struct hns_roce_qp *hr_qp) in free_rq_inline_buf()
642 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
682 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
717 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
779 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
797 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
828 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
834 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
895 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
990 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1012 struct hns_roce_qp *hr_qp; in hns_roce_create_qp() local
1064 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1089 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr() local
1136 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp() local
1242 static inline void *get_wqe(struct hns_roce_qp *hr_qp, int offset) in get_wqe()
1247 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, int n) in hns_roce_get_recv_wqe()
1252 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, int n) in hns_roce_get_send_wqe()
1257 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, int n) in hns_roce_get_extend_sge()