Lines Matching defs:cq
39 static void mlx5_ib_cq_comp(struct mlx5_core_cq *cq) in mlx5_ib_cq_comp()
48 struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq); in mlx5_ib_cq_event() local
72 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe()
82 static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n) in get_sw_cqe()
97 static void *next_cqe_sw(struct mlx5_ib_cq *cq) in next_cqe_sw()
402 static int mlx5_poll_one(struct mlx5_ib_cq *cq, in mlx5_poll_one()
548 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_poll_cq() local
605 struct ib_ucontext *context, struct mlx5_ib_cq *cq, in create_cq_user()
672 static void destroy_cq_user(struct mlx5_ib_cq *cq, struct ib_ucontext *context) in destroy_cq_user()
678 static void init_cq_buf(struct mlx5_ib_cq *cq, struct mlx5_ib_cq_buf *buf) in init_cq_buf()
691 static int create_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, in create_cq_kernel()
733 static void destroy_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq) in destroy_cq_kernel()
745 struct mlx5_ib_cq *cq; in mlx5_ib_create_cq() local
830 int mlx5_ib_destroy_cq(struct ib_cq *cq) in mlx5_ib_destroy_cq()
855 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean()
906 void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) in mlx5_ib_cq_clean()
916 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx5_ib_modify_cq()
945 static int resize_user(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, in resize_user()
978 static void un_resize_user(struct mlx5_ib_cq *cq) in un_resize_user()
983 static int resize_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, in resize_kernel()
1005 static void un_resize_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq) in un_resize_kernel()
1011 static int copy_resize_cqes(struct mlx5_ib_cq *cq) in copy_resize_cqes()
1070 struct mlx5_ib_cq *cq = to_mcq(ibcq); in mlx5_ib_resize_cq() local
1182 struct mlx5_ib_cq *cq; in mlx5_ib_get_cqe_size() local