/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.c | 133 skb_frag_t *frag = &xdptxdf.sinfo->frags[i]; 162 skb_frag_t *frag = &xdptxdf.sinfo->frags[i]; 472 skb_frag_t *frag = &xdptxdf->sinfo->frags[0]; 624 skb_frag_t *frag = &xdptxdf->sinfo->frags[i]; 691 skb_frag_t *frag = &sinfo->frags[j]; 893 skb_frag_t *frag = &xdptxdf.sinfo->frags[j]; 903 skb_frag_size(&xdptxdf.sinfo->frags[j]), 920 skb_frag_size(&xdptxdf.sinfo->frags[j]),
|
/linux-master/drivers/misc/mei/ |
H A D | vsc-fw-loader.c | 217 * @frags: image fragments 235 struct vsc_img_frag frags[VSC_IMG_FRAG_MAX]; member in struct:vsc_fw_loader 428 frag = &fw_loader->frags[csi_image_map[i].frag_index]; 505 frag = &fw_loader->frags[frag_index]; 513 last_frag = &fw_loader->frags[frag_index - 1]; 534 struct vsc_img_frag *frag = &fw_loader->frags[VSC_IMG_SKU_CFG_FRAG]; 576 struct vsc_img_frag *frag = &fw_loader->frags[VSC_IMG_BOOTLOADER_FRAG]; 644 struct vsc_img_frag *frag = &fw_loader->frags[i]; 658 struct vsc_img_frag *frag = &fw_loader->frags[i];
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_nic.c | 612 skb_frag_t *frag = &sinfo->frags[frag_count]; 761 skb_frag_t *frag = &skb_shinfo(skb)->frags[frag_count]; 838 unsigned int frags = 1; local 842 frags += sinfo->nr_frags; 845 if (frags > AQ_CFG_SKB_FRAGS_MAX) 857 frags = aq_nic_map_xdp(aq_nic, xdpf, tx_ring); 858 if (likely(frags)) 860 frags); 873 unsigned int frags = 0U; local 876 frags [all...] |
H A D | aq_ptp.c | 752 unsigned int frags; local 759 frags = skb_shinfo(skb)->nr_frags + 1; 764 if (frags > AQ_CFG_SKB_FRAGS_MAX || frags > aq_ring_avail_dx(ring)) { 781 frags = aq_nic_map_skb(aq_nic, skb, ring); 783 if (likely(frags)) { 785 ring, frags);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_xdp.c | 58 /* now let us fill up the frags into the next buffers */ 60 skb_frag_t *frag = &sinfo->frags[i]; 130 int j, frags; local 153 frags = tx_buf->nr_frags; 154 for (j = 0; j < frags; j++) { 213 struct page *page = skb_frag_page(&shinfo->frags[i]);
|
/linux-master/net/sctp/ |
H A D | outqueue.c | 1228 union sctp_sack_variable *frags; local 1234 frags = (union sctp_sack_variable *)(sack + 1); 1236 unack_data -= ((ntohs(frags[i].gab.end) - 1237 ntohs(frags[i].gab.start) + 1)); 1316 union sctp_sack_variable *frags = local 1319 highest_tsn += ntohs(frags[gap_ack_blocks - 1].gab.end); 1776 union sctp_sack_variable *frags; local 1795 frags = (union sctp_sack_variable *)(sack + 1); 1799 if (tsn_offset >= ntohs(frags[i].gab.start) && 1800 tsn_offset <= ntohs(frags[ [all...] |
/linux-master/sound/soc/sof/intel/ |
H A D | hda-stream.c | 72 if (hstream->frags >= HDA_DSP_MAX_BDL_ENTRIES) { 73 dev_err(sdev->dev, "error: stream frags exceeded\n"); 95 hstream->frags++; 132 hstream->frags = 0; 445 hstream->frags = 0; 469 0xffff, (hstream->frags - 1)); 590 hstream->frags = 0; 640 0xffff, (hstream->frags - 1));
|
H A D | hda-loader-skl.c | 274 int frags; local 291 frags = cl_skl_cldma_setup_bdle(sdev, dmab, &bdl, bufsize, 1); 292 cl_skl_cldma_setup_controller(sdev, dmab_bdl, bufsize, frags);
|
/linux-master/drivers/staging/media/av7110/ |
H A D | av7110_av.c | 570 p->frags = 0; 580 p->frags = 0; 584 static int find_pes_header(u8 const *buf, long int length, int *frags) argument 589 *frags = 0; 618 *frags = 1; 621 *frags = 2; 625 *frags = 3; 639 if (p->frags){ 641 switch(p->frags) { 686 p->frags [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-sst-cldma.h | 218 * @frags: Last valid buffer descriptor index in the BDL 232 unsigned int frags; member in struct:skl_cl_dev
|
/linux-master/sound/pci/lola/ |
H A D | lola_pcm.c | 314 if (str->frags >= LOLA_MAX_BDL_ENTRIES) 330 str->frags++; 353 str->frags = 0; 440 lola_dsd_write(chip, str->dsd, LVI, str->frags - 1);
|
/linux-master/net/core/ |
H A D | xdp.c | 421 struct page *page = skb_frag_page(&sinfo->frags[i]); 440 struct page *page = skb_frag_page(&sinfo->frags[i]); 505 skb_frag_t *frag = &sinfo->frags[i]; 526 struct page *page = skb_frag_page(&sinfo->frags[i]); 610 /* xdp frags frame */
|
/linux-master/fs/jffs2/ |
H A D | gc.c | 540 if (nrfrags == frag->node->frags) 1028 if(fn->frags > 1) { 1130 D1(if(unlikely(fn->frags <= 1)) { 1132 __func__, fn->frags, je32_to_cpu(ri.version), 1145 new_fn->frags++; 1146 fn->frags--; 1149 if (fn->frags) { 1150 pr_warn("%s(): Old node still has frags!\n", __func__); 1153 if (!new_fn->frags) { 1154 pr_warn("%s(): New node has no frags!\ [all...] |
H A D | nodelist.c | 105 this->node->frags--; 106 if (!this->node->frags) { 107 /* The node has no valid frags left. It's totally obsoleted */ 113 dbg_fragtree2("marking old node @0x%08x (0x%04x-0x%04x) REF_NORMAL. frags is %d\n", 114 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); 185 because there are no frags with offset greater than it. 201 because there are no frags with offset greater than it. 286 this->node->frags++; 374 newfrag->node->frags = 1; 571 if (frag->node && !(--frag->node->frags)) { [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx_tso.c | 389 skb_shinfo(skb)->frags + frag_i); 412 skb_shinfo(skb)->frags + frag_i);
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 344 struct mlx5_buf_list *frags; member in struct:mlx5_frag_buf 351 struct mlx5_buf_list *frags; member in struct:mlx5_frag_buf_ctrl 943 static inline void mlx5_init_fbc_offset(struct mlx5_buf_list *frags, argument 948 fbc->frags = frags; 957 static inline void mlx5_init_fbc(struct mlx5_buf_list *frags, argument 961 mlx5_init_fbc_offset(frags, log_stride, log_sz, 0, fbc); 972 return fbc->frags[frag].buf + ((fbc->frag_sz_m1 & ix) << fbc->log_stride);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 254 end = &si->frags[si->nr_frags]; 256 for (fp = si->frags; fp < end; fp++) { 265 while (fp-- > si->frags) 283 end = &si->frags[si->nr_frags]; 284 for (fp = si->frags; fp < end; fp++) 839 sgl->len0 = htonl(skb_frag_size(&si->frags[0])); 855 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); 856 to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); 861 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); 913 frag = &si->frags[frag_id 3815 restore_rx_bufs(const struct pkt_gl *si, struct sge_fl *q, int frags) argument 3898 u32 len = ntohl(rc->pldbuflen_qid), bufsz, frags; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_tx.c | 612 skb_frag_t frags[MAX_SKB_FRAGS]; member in struct:tx_sync_info 661 skb_frag_t *frag = &record->frags[i]; 665 info->frags[i++] = *frag; 669 skb_frag_size_add(&info->frags[i - 1], remaining); 793 skb_frag_t *f = &info.frags[i]; 824 put_page(skb_frag_page(&info.frags[i]));
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 83 static void ipoib_cm_dma_unmap_rx(struct ipoib_dev_priv *priv, int frags, argument 90 for (i = 0; i < frags; ++i) 143 int id, int frags, 168 for (i = 0; i < frags; i++) { 541 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; 569 int frags; local 643 frags = PAGE_ALIGN(wc->byte_len - 647 newskb = ipoib_cm_alloc_rx_skb(dev, rx_ring, wr_id, frags, 659 ipoib_cm_dma_unmap_rx(priv, frags, rx_ring[wr_id].mapping); 660 memcpy(rx_ring[wr_id].mapping, mapping, (frags 141 ipoib_cm_alloc_rx_skb(struct net_device *dev, struct ipoib_cm_rx_buf *rx_ring, int id, int frags, u64 mapping[IPOIB_CM_RX_SG], gfp_t gfp) argument [all...] |
H A D | ipoib.h | 550 skb_frag_t *frags = skb_shinfo(skb)->frags; local 563 priv->tx_sge[i + off].length = skb_frag_size(&frags[i]);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | odp.c | 1650 } frags[]; member in struct:prefetch_mr_work 1658 mlx5r_deref_odp_mkey(&work->frags[i].mr->mmkey); 1713 ret = pagefault_mr(work->frags[i].mr, work->frags[i].io_virt, 1714 work->frags[i].length, &bytes_mapped, 1718 mlx5_update_odp_stats(work->frags[i].mr, prefetch, ret); 1742 work->frags[i].io_virt = sg_list[i].addr; 1743 work->frags[i].length = sg_list[i].length; 1744 work->frags[i].mr = mr; 1796 work = kvzalloc(struct_size(work, frags, num_sg [all...] |
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_vf_main.c | 825 int i, frags, iq; local 832 frags = skb_shinfo(skb)->nr_frags; 839 while (frags--) { 840 skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1]; 867 int i, frags, iq; local 876 frags = skb_shinfo(skb)->nr_frags; 883 while (frags--) { 884 skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1]; 1504 int i, frags; local 1534 frags [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 289 .frags = 0, 298 u16 drain_count = MLX5E_PAGECNT_BIAS_MAX - frag_page->frags; 312 * Other frags that point to the same page (with a different 340 return &rq->wqe.frags[ix << rq->wqe.info.log_num_frags]; 516 frag = &sinfo->frags[sinfo->nr_frags++]; 1714 frag_page->frags++; 1776 pwi->frag_page->frags++; 1789 head_wi->frag_page->frags++; 1798 pwi->frag_page->frags++; 1847 wi->frag_page->frags [all...] |
/linux-master/sound/hda/ |
H A D | hdac_stream.c | 287 snd_hdac_stream_writew(azx_dev, SD_LVI, azx_dev->frags - 1); 464 if (azx_dev->frags >= AZX_MAX_BDL_ENTRIES) 487 azx_dev->frags++; 532 azx_dev->frags = 0; 950 azx_dev->frags = 0;
|
/linux-master/net/tls/ |
H A D | tls_strp.c | 53 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; 67 /* Create a new skb with the contents of input copied to its page frags */ 199 __skb_frag_unref(&shinfo->frags[i], false); 217 frag = &skb_shinfo(skb)->frags[skb->len / PAGE_SIZE];
|