Searched refs:resize_buf (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/
H A Dcq.c196 cq->resize_buf = NULL;
281 if (cq->resize_buf)
284 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC);
285 if (!cq->resize_buf)
288 err = mlx4_ib_alloc_cq_buf(dev, &cq->resize_buf->buf, entries);
290 kfree(cq->resize_buf);
291 cq->resize_buf = NULL;
295 cq->resize_buf->cqe = entries - 1;
312 cq->resize_buf
[all...]
H A Dmlx4_ib.h124 struct mlx4_ib_cq_resize *resize_buf; member in struct:mlx4_ib_cq
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c731 cq->resize_buf = NULL;
757 if (cq->resize_buf) {
762 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC);
763 if (!cq->resize_buf) {
768 cq->resize_buf->state = CQ_RESIZE_ALLOC;
778 ret = mthca_alloc_cq_buf(dev, &cq->resize_buf->buf, entries);
781 kfree(cq->resize_buf);
782 cq->resize_buf = NULL;
787 cq->resize_buf
[all...]
H A Dmthca_cq.c340 cq->ibcq.cqe < cq->resize_buf->cqe) {
347 memcpy(get_cqe_from_buf(&cq->resize_buf->buf,
348 i & cq->resize_buf->cqe),
693 if (unlikely(err == -EAGAIN && cq->resize_buf &&
694 cq->resize_buf->state == CQ_RESIZE_READY)) {
705 if (cqe_sw(get_cqe_from_buf(&cq->resize_buf->buf,
706 cq->cons_index & cq->resize_buf->cqe))) {
712 cq->buf = cq->resize_buf->buf;
713 cq->ibcq.cqe = cq->resize_buf->cqe;
715 cq->resize_buf
[all...]
H A Dmthca_provider.h207 struct mthca_cq_resize *resize_buf; member in struct:mthca_cq
/freebsd-10.0-release/contrib/mdocml/
H A Dread.c71 static void resize_buf(struct buf *, size_t);
216 resize_buf(struct buf *buf, size_t initial) function
342 resize_buf(&ln, 256);
351 resize_buf(&ln, 256);
396 resize_buf(&ln, 256);
403 resize_buf(&ln, 256);
600 resize_buf(fb, 65536);
/freebsd-10.0-release/contrib/ofed/libmlx4/src/
H A Dmlx4.h222 struct mlx4_buf resize_buf; member in struct:mlx4_cq

Completed in 276 milliseconds