Searched refs:resize_buf (Results 1 - 12 of 12) sorted by relevance
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cq.c | 197 cq->resize_buf = NULL; 289 if (cq->resize_buf) 292 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); 293 if (!cq->resize_buf) 296 err = mlx4_ib_alloc_cq_buf(dev, &cq->resize_buf->buf, entries); 298 kfree(cq->resize_buf); 299 cq->resize_buf = NULL; 303 cq->resize_buf->cqe = entries - 1; 320 cq->resize_buf [all...] |
H A D | mlx4_ib.h | 125 struct mlx4_ib_cq_resize *resize_buf; member in struct:mlx4_ib_cq
|
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_provider.c | 711 cq->resize_buf = NULL; 737 if (cq->resize_buf) { 742 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); 743 if (!cq->resize_buf) { 748 cq->resize_buf->state = CQ_RESIZE_ALLOC; 758 ret = mthca_alloc_cq_buf(dev, &cq->resize_buf->buf, entries); 761 kfree(cq->resize_buf); 762 cq->resize_buf = NULL; 767 cq->resize_buf [all...] |
H A D | mthca_cq.c | 341 cq->ibcq.cqe < cq->resize_buf->cqe) { 348 memcpy(get_cqe_from_buf(&cq->resize_buf->buf, 349 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 D | mthca_provider.h | 210 struct mthca_cq_resize *resize_buf; member in struct:mthca_cq
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cq.c | 546 if (likely(cq->resize_buf)) { 548 cq->buf = *cq->resize_buf; 549 kfree(cq->resize_buf); 550 cq->resize_buf = NULL; 937 cq->resize_buf = NULL; 1162 cq->resize_buf = kzalloc(sizeof(*cq->resize_buf), GFP_KERNEL); 1163 if (!cq->resize_buf) 1166 err = alloc_cq_buf(dev, cq->resize_buf, entries, cqe_size); 1170 init_cq_buf(cq, cq->resize_buf); [all...] |
H A D | mlx5_ib.h | 444 struct mlx5_ib_cq_buf *resize_buf; member in struct:mlx5_ib_cq
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | read.c | 64 static void resize_buf(struct buf *, size_t); 279 resize_buf(struct buf *buf, size_t initial) function 394 resize_buf(&ln, 256); 431 resize_buf(&ln, 256); 610 resize_buf(fb, 65536);
|
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | verbs.c | 465 cq->resize_buf = NULL; 552 cq->resize_buf = &cq->buf_b; 554 cq->resize_buf = &cq->buf_a; 558 cq->resize_buf = NULL; 566 err = mlx5_alloc_cq_buf(mctx, cq, cq->resize_buf, cq->resize_cqes, cq->resize_cqe_sz); 568 cq->resize_buf = NULL; 573 cmd.buf_addr = (uintptr_t)cq->resize_buf->buf; 583 cq->active_buf = cq->resize_buf; 586 cq->resize_buf = NULL; 590 mlx5_free_cq_buf(mctx, cq->resize_buf); [all...] |
H A D | mlx5.h | 322 struct mlx5_buf *resize_buf; member in struct:mlx5_cq
|
H A D | cq.c | 1459 dcqe = get_buf_cqe(cq->resize_buf, (i + 1) & (cq->resize_cqes - 1), dsize);
|
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | mlx4.h | 180 struct mlx4_buf resize_buf; member in struct:mlx4_cq
|
Completed in 378 milliseconds