/linux-3.4.99/drivers/infiniband/hw/nes/ |
D | nes_mgt.c | 158 skb = fpdu_info->frags[i].skb; in nes_download_callback() 159 if (fpdu_info->frags[i].cmplt) { in nes_download_callback() 247 struct pau_fpdu_frag frags[MAX_FPDU_FRAGS]; in get_fpdu_info() local 277 memset(&frags, 0, sizeof frags); in get_fpdu_info() 279 frags[i].physaddr = cb->busaddr; in get_fpdu_info() 280 frags[i].physaddr += skb->data - cb->data_start; in get_fpdu_info() 281 frags[i].frag_len = min(tmp_len, skb->len); in get_fpdu_info() 282 frags[i].skb = skb; in get_fpdu_info() 283 frags[i].cmplt = (skb->len == frags[i].frag_len); in get_fpdu_info() 284 frag_tot += frags[i].frag_len; in get_fpdu_info() [all …]
|
D | nes_mgt.h | 82 struct pau_fpdu_frag frags[MAX_FPDU_FRAGS]; member
|
/linux-3.4.99/net/ipv4/ |
D | inet_lro.c | 157 lro_desc->next_frag = &(skb_shinfo(skb)->frags[nr_frags]); in lro_init_desc() 377 struct skb_frag_struct *frags, in lro_gen_skb() argument 400 skb_frags = skb_shinfo(skb)->frags; in lro_gen_skb() 402 *skb_frags = *frags; in lro_gen_skb() 403 data_len -= skb_frag_size(frags); in lro_gen_skb() 405 frags++; in lro_gen_skb() 409 skb_shinfo(skb)->frags[0].page_offset += hdr_len; in lro_gen_skb() 410 skb_frag_size_sub(&skb_shinfo(skb)->frags[0], hdr_len); in lro_gen_skb() 419 struct skb_frag_struct *frags, in __lro_proc_segment() argument 434 lro_mgr->get_frag_header(frags, (void *)&mac_hdr, (void *)&iph, in __lro_proc_segment() [all …]
|
D | ip_fragment.c | 120 return net->ipv4.frags.nqueues; in ip_frag_nqueues() 125 return atomic_read(&net->ipv4.frags.mem); in ip_frag_mem() 218 evicted = inet_frag_evictor(&net->ipv4.frags, &ip4_frags); in ip_evictor() 232 net = container_of(qp->q.net, struct net, ipv4.frags); in ip_expire() 296 q = inet_frag_find(&net->ipv4.frags, &ip4_frags, &arg, hash); in ip_find() 325 net = container_of(qp->q.net, struct net, ipv4.frags); in ip_frag_too_far() 546 struct net *net = container_of(qp->q.net, struct net, ipv4.frags); in ip_frag_reasm() 609 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in ip_frag_reasm() 668 if (atomic_read(&net->ipv4.frags.mem) > net->ipv4.frags.high_thresh) in ip_defrag() 731 .data = &init_net.ipv4.frags.high_thresh, [all …]
|
/linux-3.4.99/net/ipv6/ |
D | reassembly.c | 93 return net->ipv6.frags.nqueues; in ip6_frag_nqueues() 98 return atomic_read(&net->ipv6.frags.mem); in ip6_frag_mem() 183 evicted = inet_frag_evictor(&net->ipv6.frags, &ip6_frags); in ip6_evictor() 203 net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_expire() 245 q = inet_frag_find(&net->ipv6.frags, &ip6_frags, &arg, hash); in fq_find() 426 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() 481 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in ip6_frag_reasm() 582 if (atomic_read(&net->ipv6.frags.mem) > net->ipv6.frags.high_thresh) in ipv6_frag_rcv() 618 .data = &init_net.ipv6.frags.high_thresh, 625 .data = &init_net.ipv6.frags.low_thresh, [all …]
|
/linux-3.4.99/net/core/ |
D | skbuff.c | 701 skb_frag_t *f = &skb_shinfo(skb)->frags[i]; in skb_copy_ubufs() 712 vaddr = kmap_skb_frag(&skb_shinfo(skb)->frags[i]); in skb_copy_ubufs() 729 skb_shinfo(skb)->frags[i - 1].size); in skb_copy_ubufs() 887 skb_shinfo(n)->frags[i] = skb_shinfo(skb)->frags[i]; in __pskb_copy() 950 frags[skb_shinfo(skb)->nr_frags])); in pskb_expand_head() 970 offsetof(struct skb_shared_info, frags[skb_shinfo(skb)->nr_frags])); in pskb_expand_head() 1248 int end = offset + skb_frag_size(&skb_shinfo(skb)->frags[i]); in ___pskb_trim() 1255 skb_frag_size_set(&skb_shinfo(skb)->frags[i++], len - offset); in ___pskb_trim() 1364 int size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in __pskb_pull_tail() 1431 int size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in __pskb_pull_tail() [all …]
|
D | datagram.c | 332 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_datagram_iovec() 418 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_datagram_const_iovec() 508 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_datagram_from_iovec() 593 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_and_csum_datagram()
|
/linux-3.4.99/drivers/net/ |
D | xen-netfront.c | 313 pfn = page_to_pfn(skb_frag_page(&skb_shinfo(skb)->frags[0])); in xennet_alloc_rx_buffers() 314 vaddr = page_address(skb_frag_page(&skb_shinfo(skb)->frags[0])); in xennet_alloc_rx_buffers() 419 int frags = skb_shinfo(skb)->nr_frags; in xennet_make_frags() local 453 for (i = 0; i < frags; i++) { in xennet_make_frags() 454 skb_frag_t *frag = skb_shinfo(skb)->frags + i; in xennet_make_frags() 490 int frags = skb_shinfo(skb)->nr_frags; in xennet_start_xmit() local 505 frags += DIV_ROUND_UP(offset + len, PAGE_SIZE); in xennet_start_xmit() 506 if (unlikely(frags > MAX_SKB_FRAGS + 1)) { in xennet_start_xmit() 508 frags); in xennet_start_xmit() 516 (frags > 1 && !xennet_can_sg(dev)) || in xennet_start_xmit() [all …]
|
/linux-3.4.99/drivers/net/ethernet/tile/ |
D | tilepro.c | 1681 static unsigned int tile_net_tx_frags(lepp_frag_t *frags, in tile_net_tx_frags() argument 1697 frags[n].cpa_lo = cpa; in tile_net_tx_frags() 1698 frags[n].cpa_hi = cpa >> 32; in tile_net_tx_frags() 1699 frags[n].length = b_len; in tile_net_tx_frags() 1700 frags[n].hash_for_home = hash_default; in tile_net_tx_frags() 1706 skb_frag_t *f = &sh->frags[i]; in tile_net_tx_frags() 1721 frags[n].cpa_lo = cpa; in tile_net_tx_frags() 1722 frags[n].cpa_hi = cpa >> 32; in tile_net_tx_frags() 1723 frags[n].length = skb_frag_size(f); in tile_net_tx_frags() 1724 frags[n].hash_for_home = hash_for_home; in tile_net_tx_frags() [all …]
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 216 end = &si->frags[si->nr_frags]; in map_skb() 218 for (fp = si->frags; fp < end; fp++) { in map_skb() 227 while (fp-- > si->frags) in map_skb() 245 end = &si->frags[si->nr_frags]; in unmap_skb() 246 for (fp = si->frags; fp < end; fp++) in unmap_skb() 721 sgl->len0 = htonl(skb_frag_size(&si->frags[0])); in write_sgl() 736 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); in write_sgl() 737 to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); in write_sgl() 742 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); in write_sgl() 1419 __skb_fill_page_desc(skb, 0, gl->frags[0].page, in copy_frags() [all …]
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 297 end = &si->frags[si->nr_frags]; in map_skb() 298 for (fp = si->frags; fp < end; fp++) { in map_skb() 307 while (fp-- > si->frags) in map_skb() 901 sgl->len0 = htonl(skb_frag_size(&si->frags[0])); in write_sgl() 917 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); in write_sgl() 918 to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); in write_sgl() 923 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); in write_sgl() 1374 __skb_fill_page_desc(skb, 0, gl->frags[0].page, in copy_frags() 1375 gl->frags[0].offset + offset, in copy_frags() 1376 gl->frags[0].size - offset); in copy_frags() [all …]
|
/linux-3.4.99/block/partitions/ |
D | ldm.c | 1296 static bool ldm_frag_add (const u8 *data, int size, struct list_head *frags) in ldm_frag_add() argument 1302 BUG_ON (!data || !frags); in ldm_frag_add() 1321 list_for_each (item, frags) { in ldm_frag_add() 1338 list_add_tail (&f->list, frags); in ldm_frag_add() 1387 static bool ldm_frag_commit (struct list_head *frags, struct ldmdb *ldb) in ldm_frag_commit() argument 1392 BUG_ON (!frags || !ldb); in ldm_frag_commit() 1394 list_for_each (item, frags) { in ldm_frag_commit() 1428 LIST_HEAD (frags); in ldm_get_vblks() 1455 if (!ldm_frag_add (data, size, &frags)) in ldm_get_vblks() 1464 result = ldm_frag_commit (&frags, ldb); /* Failures, already logged */ in ldm_get_vblks() [all …]
|
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 207 int frags = skb_shinfo(skb)->nr_frags; in mlx4_en_free_tx_desc() local 223 for (i = 0; i < frags; i++) { in mlx4_en_free_tx_desc() 224 frag = &skb_shinfo(skb)->frags[i]; in mlx4_en_free_tx_desc() 250 for (i = 0; i < frags; i++) { in mlx4_en_free_tx_desc() 254 frag = &skb_shinfo(skb)->frags[i]; in mlx4_en_free_tx_desc() 468 ptr = skb_frag_address_safe(&skb_shinfo(skb)->frags[0]); in is_inline() 539 skb_frag_size(&skb_shinfo(skb)->frags[0])); in build_inline_wqe() 559 fragptr, skb_frag_size(&skb_shinfo(skb)->frags[0])); in build_inline_wqe() 739 frag = &skb_shinfo(skb)->frags[i]; in mlx4_en_xmit()
|
/linux-3.4.99/drivers/net/xen-netback/ |
D | netback.c | 367 unsigned long size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in xen_netbk_count_skb_slots() 558 skb_frag_page(&skb_shinfo(skb)->frags[i]), in netbk_gop_skb() 559 skb_frag_size(&skb_shinfo(skb)->frags[i]), in netbk_gop_skb() 560 skb_shinfo(skb)->frags[i].page_offset, in netbk_gop_skb() 1006 skb_frag_t *frags = shinfo->frags; in xen_netbk_get_requests() local 1022 start = (frag_get_pending_idx(&shinfo->frags[0]) == pending_idx); in xen_netbk_get_requests() 1104 frag_set_pending_idx(&frags[shinfo->nr_frags], head_idx); in xen_netbk_get_requests() 1114 frag_get_pending_idx(&frags[shinfo->nr_frags]), in xen_netbk_get_requests() 1142 start = (frag_get_pending_idx(&shinfo->frags[0]) == pending_idx); in xen_netbk_tx_check_gop() 1148 pending_idx = frag_get_pending_idx(&shinfo->frags[i]); in xen_netbk_tx_check_gop() [all …]
|
/linux-3.4.99/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 490 struct scatterlist frags[4]; member 505 sg_set_page(&desc->frags[desc->fragno], sg_page(sg), sg->length, in decryptor() 516 sg_mark_end(&desc->frags[desc->fragno - 1]); in decryptor() 518 ret = crypto_blkcipher_decrypt_iv(&desc->desc, desc->frags, in decryptor() 519 desc->frags, thislen); in decryptor() 523 sg_init_table(desc->frags, 4); in decryptor() 526 sg_set_page(&desc->frags[0], sg_page(sg), fraglen, in decryptor() 553 sg_init_table(desc.frags, 4); in gss_decrypt_xdr_buf() 813 sg_init_table(desc.frags, 4); in gss_krb5_aes_decrypt()
|
/linux-3.4.99/net/sctp/ |
D | outqueue.c | 1120 sctp_sack_variable_t *frags; in sctp_sack_update_unack_data() local 1126 frags = sack->variable; in sctp_sack_update_unack_data() 1128 unack_data -= ((ntohs(frags[i].gab.end) - in sctp_sack_update_unack_data() 1129 ntohs(frags[i].gab.start) + 1)); in sctp_sack_update_unack_data() 1146 sctp_sack_variable_t *frags = sack->variable; in sctp_outq_sack() local 1201 highest_tsn += ntohs(frags[gap_ack_blocks - 1].gab.end); in sctp_outq_sack() 1769 sctp_sack_variable_t *frags; in sctp_acked() local 1788 frags = sack->variable; in sctp_acked() 1791 if (TSN_lte(ntohs(frags[i].gab.start), gap) && in sctp_acked() 1792 TSN_lte(gap, ntohs(frags[i].gab.end))) in sctp_acked()
|
/linux-3.4.99/sound/soc/txx9/ |
D | txx9aclc.c | 99 dmadata->frags = 2; in txx9aclc_pcm_prepare() 102 dmadata->frags = dmadata->buffer_bytes / dmadata->period_bytes; in txx9aclc_pcm_prepare() 180 dmadata->frag_count = NR_DMA_CHAIN % dmadata->frags; in txx9aclc_dma_tasklet() 197 dmadata->frag_count %= dmadata->frags; in txx9aclc_dma_tasklet()
|
D | txx9aclc.h | 58 int frags; member
|
/linux-3.4.99/drivers/media/dvb/ttpci/ |
D | av7110_av.c | 584 p->frags = 0; in av7110_p2t_init() 594 p->frags = 0; in clear_p2t() 598 static int find_pes_header(u8 const *buf, long int length, int *frags) in find_pes_header() argument 603 *frags = 0; in find_pes_header() 632 *frags = 1; in find_pes_header() 635 *frags = 2; in find_pes_header() 639 *frags = 3; in find_pes_header() 653 if (p->frags){ in av7110_p2t_write() 655 switch(p->frags) { in av7110_p2t_write() 700 p->frags = 0; in av7110_p2t_write() [all …]
|
/linux-3.4.99/include/net/netns/ |
D | ipv4.h | 34 struct netns_frags frags; member
|
D | ipv6.h | 34 struct netns_frags frags; member
|
/linux-3.4.99/fs/jffs2/ |
D | nodelist.c | 105 this->node->frags--; in jffs2_obsolete_node_frag() 106 if (!this->node->frags) { in jffs2_obsolete_node_frag() 114 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag() 286 this->node->frags++; in jffs2_add_frag_to_fragtree() 374 newfrag->node->frags = 1; in jffs2_add_full_dnode_to_inode() 586 if (frag->node && !(--frag->node->frags)) { in jffs2_kill_fragtree()
|
/linux-3.4.99/Documentation/networking/ |
D | pktgen.txt | 48 frags: 0 delay: 0 clone_skb: 1000000 ifname: eth1 63 Result: OK: 13101142(c12220741+d880401) usec, 10000000 (60byte,0frags) 75 pgset "frags 5" packet will consist of 5 fragments 202 frags
|
/linux-3.4.99/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ib.c | 113 skb_frag_t *frag = &skb_shinfo(skb)->frags[0]; in ipoib_ud_skb_put_frags() 330 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in ipoib_dma_map_tx() 342 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i - 1]; in ipoib_dma_map_tx() 368 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in ipoib_dma_unmap_tx() 507 skb_frag_t *frags = skb_shinfo(skb)->frags; in post_send() local 520 priv->tx_sge[i + off].length = skb_frag_size(&frags[i]); in post_send()
|
/linux-3.4.99/include/linux/ |
D | inet_lro.h | 153 struct skb_frag_struct *frags,
|