Searched refs:resize_buf (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | cq.c | 198 cq->resize_buf = NULL; in mlx4_ib_create_cq() 295 if (cq->resize_buf) in mlx4_alloc_resize_buf() 298 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); in mlx4_alloc_resize_buf() 299 if (!cq->resize_buf) in mlx4_alloc_resize_buf() 302 err = mlx4_ib_alloc_cq_buf(dev, &cq->resize_buf->buf, entries); in mlx4_alloc_resize_buf() 304 kfree(cq->resize_buf); in mlx4_alloc_resize_buf() 305 cq->resize_buf = NULL; in mlx4_alloc_resize_buf() 309 cq->resize_buf->cqe = entries - 1; in mlx4_alloc_resize_buf() 326 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_KERNEL); in mlx4_alloc_resize_umem() 327 if (!cq->resize_buf) in mlx4_alloc_resize_umem() [all …]
|
D | mlx4_ib.h | 119 struct mlx4_ib_cq_resize *resize_buf; member
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 634 cq->resize_buf = NULL; in mthca_create_cq() 657 if (cq->resize_buf) { in mthca_alloc_resize_buf() 662 cq->resize_buf = kmalloc(sizeof *cq->resize_buf, GFP_ATOMIC); in mthca_alloc_resize_buf() 663 if (!cq->resize_buf) { in mthca_alloc_resize_buf() 668 cq->resize_buf->state = CQ_RESIZE_ALLOC; in mthca_alloc_resize_buf() 678 ret = mthca_alloc_cq_buf(dev, &cq->resize_buf->buf, entries); in mthca_alloc_resize_buf() 681 kfree(cq->resize_buf); in mthca_alloc_resize_buf() 682 cq->resize_buf = NULL; in mthca_alloc_resize_buf() 687 cq->resize_buf->cqe = entries - 1; in mthca_alloc_resize_buf() 690 cq->resize_buf->state = CQ_RESIZE_READY; in mthca_alloc_resize_buf() [all …]
|
D | mthca_cq.c | 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() 700 if (cqe_sw(get_cqe_from_buf(&cq->resize_buf->buf, 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() [all …]
|
D | mthca_provider.h | 190 struct mthca_cq_resize *resize_buf; member
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | cq.c | 475 if (likely(cq->resize_buf)) { in mlx5_poll_one() 477 cq->buf = *cq->resize_buf; in mlx5_poll_one() 478 kfree(cq->resize_buf); in mlx5_poll_one() 479 cq->resize_buf = NULL; in mlx5_poll_one() 972 cq->resize_buf = NULL; in mlx5_ib_create_cq() 1187 cq->resize_buf = kzalloc(sizeof(*cq->resize_buf), GFP_KERNEL); in resize_kernel() 1188 if (!cq->resize_buf) in resize_kernel() 1191 err = alloc_cq_frag_buf(dev, cq->resize_buf, entries, cqe_size); in resize_kernel() 1195 init_cq_frag_buf(cq->resize_buf); in resize_kernel() 1200 kfree(cq->resize_buf); in resize_kernel() [all …]
|
D | mlx5_ib.h | 556 struct mlx5_ib_cq_buf *resize_buf; member
|
/linux-6.1.9/drivers/net/wireless/ |
D | rndis_wlan.c | 2050 resize_buf: in rndis_check_bssid_list() 2069 goto resize_buf; in rndis_check_bssid_list()
|