/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | cq.c | 356 mlx5_frag_buf_free(dev->mdev, &buf->frag_buf); in free_cq_buf() 670 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local 677 frag_buf, in alloc_cq_frag_buf() 682 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 900 cq->buf.frag_buf.npages; in create_cq_kernel() 908 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in create_cq_kernel() 912 cq->buf.frag_buf.page_shift - in create_cq_kernel() 1313 struct mlx5_frag_buf *frag_buf; in mlx5_ib_resize_cq() local 1319 frag_buf = &cq->resize_buf->frag_buf; in mlx5_ib_resize_cq() 1320 npas = frag_buf->npages; in mlx5_ib_resize_cq() [all …]
|
D | mlx5_ib.h | 532 struct mlx5_frag_buf frag_buf; member
|
/linux-6.1.9/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 63 struct mlx5_frag_buf frag_buf; member 77 struct mlx5_frag_buf frag_buf; member 84 struct mlx5_frag_buf frag_buf; member 330 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in cq_frag_buf_alloc() local 335 err = mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, nent * MLX5_VDPA_CQE_SIZE, frag_buf, in cq_frag_buf_alloc() 340 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc() 350 struct mlx5_frag_buf *frag_buf = &umem->frag_buf; in umem_frag_buf_alloc() local 352 return mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, size, frag_buf, in umem_frag_buf_alloc() 358 mlx5_frag_buf_free(ndev->mvdev.mdev, &buf->frag_buf); in cq_frag_buf_free() 421 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 504 struct sk_buff *frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32() local 531 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32() 532 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32() 537 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32() 538 ath10k_htt_append_frag_list(msdu, frag_buf, amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32() 540 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_32() 541 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32() 546 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32() 547 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32() 554 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 286 &eq->frag_buf, dev->priv.numa_node); in create_map_eq() 290 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq() 297 MLX5_FLD_SZ_BYTES(create_eq_in, pas[0]) * eq->frag_buf.npages; in create_map_eq() 306 mlx5_fill_page_frag_array(&eq->frag_buf, pas); in create_map_eq() 321 eq->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_map_eq() 347 mlx5_frag_buf_free(dev, &eq->frag_buf); in create_map_eq() 400 mlx5_frag_buf_free(dev, &eq->frag_buf); in destroy_unmap_eq()
|
/linux-6.1.9/drivers/vfio/pci/mlx5/ |
D | cmd.c | 597 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local 602 err = mlx5_frag_buf_alloc_node(mdev, nent * cqe_size, frag_buf, in alloc_cq_frag_buf() 607 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 630 mlx5_frag_buf_free(mdev, &cq->buf.frag_buf); in mlx5vf_destroy_cq() 714 cq->buf.frag_buf.npages; in mlx5vf_create_cq() 730 MLX5_SET(cqc, cqc, log_page_size, cq->buf.frag_buf.page_shift - in mlx5vf_create_cq() 734 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in mlx5vf_create_cq() 749 mlx5_frag_buf_free(mdev, &cq->buf.frag_buf); in mlx5vf_create_cq()
|
D | cmd.h | 46 struct mlx5_frag_buf frag_buf; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | eq.h | 26 struct mlx5_frag_buf frag_buf; member
|
/linux-6.1.9/sound/usb/line6/ |
D | driver.c | 108 const char *frag_buf = buffer + i; in line6_send_raw_message() local 115 (char *)frag_buf, frag_size, in line6_send_raw_message() 120 (char *)frag_buf, frag_size, in line6_send_raw_message()
|
/linux-6.1.9/drivers/firewire/ |
D | net.c | 354 void *frag_buf, unsigned frag_off, unsigned frag_len) in fwnet_pd_new() argument 376 memcpy(new->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_new() 415 struct fwnet_partial_datagram *pd, void *frag_buf, in fwnet_pd_update() argument 421 memcpy(pd->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_update()
|
/linux-6.1.9/include/linux/mlx5/ |
D | driver.h | 1052 void mlx5_fill_page_frag_array(struct mlx5_frag_buf *frag_buf, __be64 *pas);
|