Lines Matching refs:mlx5_ib_cq

48 	struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq);  in mlx5_ib_cq_event()
67 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe()
77 static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n) in get_sw_cqe()
92 static void *next_cqe_sw(struct mlx5_ib_cq *cq) in next_cqe_sw()
488 static void mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries, in mlx5_ib_poll_sw_comp()
508 static int mlx5_poll_one(struct mlx5_ib_cq *cq, in mlx5_poll_one()
639 static int poll_soft_wc(struct mlx5_ib_cq *cq, int num_entries, in poll_soft_wc()
667 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq()
705 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_arm_cq()
777 struct ib_ucontext *context, struct mlx5_ib_cq *cq, in create_cq_user()
893 static void destroy_cq_user(struct mlx5_ib_cq *cq, struct ib_ucontext *context) in destroy_cq_user()
899 static void init_cq_frag_buf(struct mlx5_ib_cq *cq, in init_cq_frag_buf()
913 static int create_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, in create_cq_kernel()
964 static void destroy_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq) in destroy_cq_kernel()
972 struct mlx5_ib_cq *cq = container_of(work, struct mlx5_ib_cq, in notify_soft_wc_handler()
986 struct mlx5_ib_cq *cq; in mlx5_ib_create_cq()
1097 struct mlx5_ib_cq *mcq = to_mcq(cq); in mlx5_ib_destroy_cq()
1119 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean()
1170 void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) in mlx5_ib_cq_clean()
1183 struct mlx5_ib_cq *mcq = to_mcq(cq); in mlx5_ib_modify_cq()
1200 static int resize_user(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, in resize_user()
1238 static void un_resize_user(struct mlx5_ib_cq *cq) in un_resize_user()
1243 static int resize_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, in resize_kernel()
1265 static void un_resize_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq) in un_resize_kernel()
1271 static int copy_resize_cqes(struct mlx5_ib_cq *cq) in copy_resize_cqes()
1329 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_resize_cq()
1464 struct mlx5_ib_cq *cq; in mlx5_ib_get_cqe_size()
1477 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_generate_wc()