Searched refs:resize_buf (Results 1 – 7 of 7) sorted by relevance
199 cq->resize_buf = NULL; in mlx4_ib_create_cq()296 if (cq->resize_buf) in mlx4_alloc_resize_buf()299 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); in mlx4_alloc_resize_buf()300 if (!cq->resize_buf) in mlx4_alloc_resize_buf()305 kfree(cq->resize_buf); in mlx4_alloc_resize_buf()306 cq->resize_buf = NULL; in mlx4_alloc_resize_buf()327 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); in mlx4_alloc_resize_umem()328 if (!cq->resize_buf) in mlx4_alloc_resize_umem()443 if (cq->resize_buf) { in mlx4_ib_resize_cq()467 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()1199 cq->resize_buf = kzalloc(sizeof(*cq->resize_buf), GFP_KERNEL); in resize_kernel()1200 if (!cq->resize_buf) in resize_kernel()1212 kfree(cq->resize_buf); in resize_kernel()1386 if (cq->resize_buf) { in mlx5_ib_resize_cq()1391 kfree(cq->resize_buf); in mlx5_ib_resize_cq()1392 cq->resize_buf = NULL; in mlx5_ib_resize_cq()[all …]
574 struct mlx5_ib_cq_buf *resize_buf; member
Completed in 35 milliseconds