/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | cq.c | 359 mlx5_frag_buf_free(dev->mdev, &buf->frag_buf); in free_cq_buf() 673 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local 680 frag_buf, in alloc_cq_frag_buf() 685 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 903 cq->buf.frag_buf.npages; in create_cq_kernel() 911 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in create_cq_kernel() 915 cq->buf.frag_buf.page_shift - in create_cq_kernel() 1316 struct mlx5_frag_buf *frag_buf; in mlx5_ib_resize_cq() local 1322 frag_buf = &cq->resize_buf->frag_buf; in mlx5_ib_resize_cq() 1323 npas = frag_buf->npages; in mlx5_ib_resize_cq() [all …]
|
D | mlx5_ib.h | 549 struct mlx5_frag_buf frag_buf; member
|
/linux-6.6.21/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 52 struct mlx5_frag_buf frag_buf; member 66 struct mlx5_frag_buf frag_buf; member 73 struct mlx5_frag_buf frag_buf; member 289 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in cq_frag_buf_alloc() local 294 err = mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, nent * MLX5_VDPA_CQE_SIZE, frag_buf, in cq_frag_buf_alloc() 299 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc() 309 struct mlx5_frag_buf *frag_buf = &umem->frag_buf; in umem_frag_buf_alloc() local 311 return mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, size, frag_buf, in umem_frag_buf_alloc() 317 mlx5_frag_buf_free(ndev->mvdev.mdev, &buf->frag_buf); in cq_frag_buf_free() 380 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare() [all …]
|
/linux-6.6.21/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.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 289 &eq->frag_buf, dev->priv.numa_node); in create_map_eq() 293 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq() 300 MLX5_FLD_SZ_BYTES(create_eq_in, pas[0]) * eq->frag_buf.npages; in create_map_eq() 309 mlx5_fill_page_frag_array(&eq->frag_buf, pas); in create_map_eq() 324 eq->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_map_eq() 350 mlx5_frag_buf_free(dev, &eq->frag_buf); in create_map_eq() 403 mlx5_frag_buf_free(dev, &eq->frag_buf); in destroy_unmap_eq()
|
/linux-6.6.21/drivers/vfio/pci/mlx5/ |
D | cmd.c | 858 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local 863 err = mlx5_frag_buf_alloc_node(mdev, nent * cqe_size, frag_buf, in alloc_cq_frag_buf() 868 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf() 891 mlx5_frag_buf_free(mdev, &cq->buf.frag_buf); in mlx5vf_destroy_cq() 975 cq->buf.frag_buf.npages; in mlx5vf_create_cq() 991 MLX5_SET(cqc, cqc, log_page_size, cq->buf.frag_buf.page_shift - in mlx5vf_create_cq() 995 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in mlx5vf_create_cq() 1010 mlx5_frag_buf_free(mdev, &cq->buf.frag_buf); in mlx5vf_create_cq()
|
D | cmd.h | 111 struct mlx5_frag_buf frag_buf; member
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | eq.h | 26 struct mlx5_frag_buf frag_buf; member
|
/linux-6.6.21/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.6.21/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.6.21/include/linux/mlx5/ |
D | driver.h | 1067 void mlx5_fill_page_frag_array(struct mlx5_frag_buf *frag_buf, __be64 *pas);
|