Searched refs:resize_buf (Results 1 – 7 of 7) sorted by relevance
203 cq->resize_buf = NULL; in mlx4_ib_create_cq()300 if (cq->resize_buf) in mlx4_alloc_resize_buf()303 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); in mlx4_alloc_resize_buf()304 if (!cq->resize_buf) in mlx4_alloc_resize_buf()309 kfree(cq->resize_buf); in mlx4_alloc_resize_buf()310 cq->resize_buf = NULL; in mlx4_alloc_resize_buf()331 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); in mlx4_alloc_resize_umem()332 if (!cq->resize_buf) in mlx4_alloc_resize_umem()447 if (cq->resize_buf) { in mlx4_ib_resize_cq()471 kfree(cq->resize_buf); in mlx4_ib_resize_cq()[all …]
120 struct mlx4_ib_cq_resize *resize_buf; member
635 cq->resize_buf = NULL; in mthca_create_cq()658 if (cq->resize_buf) { in mthca_alloc_resize_buf()663 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); in mthca_alloc_resize_buf()664 if (!cq->resize_buf) { in mthca_alloc_resize_buf()682 kfree(cq->resize_buf); in mthca_alloc_resize_buf()683 cq->resize_buf = NULL; in mthca_alloc_resize_buf()732 if (cq->resize_buf) { in mthca_resize_cq()735 kfree(cq->resize_buf); in mthca_resize_cq()737 cq->resize_buf = NULL; in mthca_resize_cq()759 kfree(cq->resize_buf); in mthca_resize_cq()[all …]
336 cq->ibcq.cqe < cq->resize_buf->cqe) { in mthca_cq_resize_copy_cqes()343 memcpy(get_cqe_from_buf(&cq->resize_buf->buf, in mthca_cq_resize_copy_cqes()344 i & cq->resize_buf->cqe), in mthca_cq_resize_copy_cqes()688 if (unlikely(err == -EAGAIN && cq->resize_buf && in mthca_poll_cq()689 cq->resize_buf->state == CQ_RESIZE_READY)) { in mthca_poll_cq()701 cq->cons_index & cq->resize_buf->cqe))) { in mthca_poll_cq()707 cq->buf = cq->resize_buf->buf; in mthca_poll_cq()708 cq->ibcq.cqe = cq->resize_buf->cqe; in mthca_poll_cq()710 cq->resize_buf->buf = tbuf; in mthca_poll_cq()711 cq->resize_buf->cqe = tcqe; in mthca_poll_cq()[all …]
190 struct mthca_cq_resize *resize_buf; member
483 cq->buf = *cq->resize_buf; in mlx5_poll_one()484 kfree(cq->resize_buf); in mlx5_poll_one()485 cq->resize_buf = NULL; in mlx5_poll_one()984 cq->resize_buf = NULL; in mlx5_ib_create_cq()1210 cq->resize_buf = kzalloc(sizeof(*cq->resize_buf), GFP_KERNEL); in resize_kernel()1211 if (!cq->resize_buf) in resize_kernel()1223 kfree(cq->resize_buf); in resize_kernel()1397 if (cq->resize_buf) { in mlx5_ib_resize_cq()1402 kfree(cq->resize_buf); in mlx5_ib_resize_cq()1403 cq->resize_buf = NULL; in mlx5_ib_resize_cq()[all …]
579 struct mlx5_ib_cq_buf *resize_buf; member
Completed in 27 milliseconds