Searched refs:segs (Results 76 - 100 of 108) sorted by relevance

12345

/linux-master/net/ipv6/
H A Dudp.c772 struct sk_buff *next, *segs;
779 segs = udp_rcv_segment(sk, skb, false);
780 skb_list_walk_safe(segs, skb, next) {
771 struct sk_buff *next, *segs; local
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c892 pko_command.s.segs = num_segs;
/linux-master/drivers/net/ethernet/intel/e1000e/
H A De1000.h140 unsigned int segs; member in struct:e1000_buffer::__anon19::__anon20
H A Dnetdev.c1242 total_tx_packets += buffer_info->segs;
5555 unsigned int f, bytecount, segs; local
5614 segs = skb_shinfo(skb)->gso_segs ? : 1;
5616 bytecount = ((segs - 1) * skb_headlen(skb)) + skb->len;
5619 tx_ring->buffer_info[i].segs = segs;
/linux-master/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c808 unsigned int segs, bytecount; local
811 segs = skb_shinfo(skb)->gso_segs ?: 1;
813 bytecount = ((segs - 1) * skb_headlen(skb)) +
815 total_packets += segs;
/linux-master/drivers/block/
H A Dxen-blkfront.c1209 int i, j, segs; local
1250 segs = rinfo->shadow[i].req.operation == BLKIF_OP_INDIRECT ?
1253 for (j = 0; j < segs; j++) {
1268 for (j = 0; j < INDIRECT_GREFS(segs); j++) {
/linux-master/arch/x86/kvm/vmx/
H A Dvmx.h309 struct kvm_segment segs[8]; member in struct:vcpu_vmx::__anon46
/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000_main.c2832 unsigned int f, bytecount, segs; local
2940 segs = skb_shinfo(skb)->gso_segs ?: 1;
2942 bytecount = ((segs - 1) * skb_headlen(skb)) + skb->len;
2945 tx_ring->buffer_info[i].segs = segs;
3852 total_tx_packets += buffer_info->segs;
/linux-master/net/ipv4/
H A Droute.c461 static u32 ip_idents_reserve(u32 hash, int segs) argument
480 return atomic_add_return(segs + delta, p_id) - segs;
483 void __ip_select_ident(struct net *net, struct iphdr *iph, int segs) argument
496 id = ip_idents_reserve(hash, segs);
H A Dudp.c2190 struct sk_buff *next, *segs;
2198 segs = udp_rcv_segment(sk, skb, true);
2199 skb_list_walk_safe(segs, skb, next) {
2189 struct sk_buff *next, *segs; local
/linux-master/drivers/usb/host/
H A Dxhci-mem.c2272 xhci_alloc_interrupter(struct xhci_hcd *xhci, int segs, gfp_t flags) argument
2276 unsigned int num_segs = segs;
2284 if (segs <= 0)
/linux-master/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c2892 struct sk_buff *segs, *curr, *next; local
2897 segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6);
2898 if (IS_ERR(segs))
2901 skb_list_walk_safe(segs, curr, next) {
/linux-master/drivers/scsi/
H A Dst.c3915 int segs, max_segs, b_size, order, got;
3949 for (segs = STbuffer->frp_segs, got = STbuffer->buffer_size;
3950 segs < max_segs && got < new_size;) {
3963 STbuffer->reserved_pages[segs] = page;
3964 segs++;
4467 printk(KERN_INFO "st: Version %s, fixed bufsize %d, s/g segs %d\n",
3900 int segs, max_segs, b_size, order, got; local
/linux-master/net/core/
H A Ddev.c3017 * netif_set_tso_max_segs() - set the max number of segs supported for TSO
3019 * @segs: max number of TCP segments
3025 void netif_set_tso_max_segs(struct net_device *dev, unsigned int segs) argument
3027 dev->tso_max_segs = segs;
3028 if (segs < READ_ONCE(dev->gso_max_segs))
3029 netif_set_gso_max_segs(dev, segs);
3610 struct sk_buff *segs; local
3612 segs = skb_gso_segment(skb, features);
3613 if (IS_ERR(segs)) {
3615 } else if (segs) {
[all...]
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c4672 ahc_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
4677 *baddr = segs->ds_addr;
4935 struct ahc_dma_seg *segs; local
4965 segs = sg_map->sg_vaddr;
4978 next_scb->sg_list = segs;
4990 segs += AHC_NSEG;
H A Daic79xx_core.c6327 ahd_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
6332 *baddr = segs->ds_addr;
6759 uint8_t *segs; local
6810 segs = sg_map->vaddr + offset;
6832 segs = sg_map->vaddr;
6898 next_scb->sg_list = segs;
6925 segs += ahd_sglist_size(ahd);
/linux-master/include/net/
H A Dsock.h2636 int segs = max_t(u16, 1, skb_shinfo(skb)->gso_segs); local
2638 atomic_add(segs, &sk->sk_drops);
/linux-master/drivers/staging/octeon/
H A Docteon-stubs.h1146 uint64_t segs:6; member in struct:cvmx_pko_command_word0::__anon273
/linux-master/include/linux/
H A Dskbuff.h1266 void kfree_skb_list_reason(struct sk_buff *segs,
1271 static inline void kfree_skb_list(struct sk_buff *segs) argument
1273 kfree_skb_list_reason(segs, SKB_DROP_REASON_NOT_SPECIFIED);
/linux-master/net/mac80211/
H A Dtx.c3633 struct sk_buff *segs; local
3635 segs = skb_gso_segment(skb, features);
3636 if (!segs)
3638 if (IS_ERR(segs))
3642 return segs;
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dmain.h1851 const u32 *segs; member in struct:rtw_fwcd_segs
/linux-master/fs/f2fs/
H A Df2fs.h1059 unsigned int additional_reserved_segments;/* reserved segs for IO align feature */
1771 /* For reclaimed segs statistics per each GC mode */
1773 unsigned int gc_reclaimed_segs[MAX_GC_MODE]; /* Reclaimed segs for each mode */
1819 #define SEGS_TO_BLKS(sbi, segs) \
1820 ((segs) << (sbi)->log_blocks_per_seg)
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1675 u16 segs; local
1677 segs = TPA_END_TPA_SEGS(tpa_end);
1678 if (segs == 1)
1681 NAPI_GRO_CB(skb)->count = segs;
5949 u32 nsegs, n, segs = 0, flags; local
5966 /* Number of segs are log2 units, and first packet is not
5980 segs = MAX_TPA_SEGS_P5;
5983 segs = ilog2(nsegs);
5985 req->max_agg_segs = cpu_to_le16(segs);
/linux-master/drivers/net/usb/
H A Dr8152.c2218 struct sk_buff *segs, *seg, *next; local
2222 segs = skb_gso_segment(skb, features);
2223 if (IS_ERR(segs) || !segs)
2228 skb_list_walk_safe(segs, seg, next) {
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_os.c7652 { .name = FW_FILE_ISP21XX, .segs = { 0x1000, 0 }, },
7653 { .name = FW_FILE_ISP22XX, .segs = { 0x1000, 0 }, },
7654 { .name = FW_FILE_ISP2300, .segs = { 0x800, 0 }, },
7655 { .name = FW_FILE_ISP2322, .segs = { 0x800, 0x1c000, 0x1e000, 0 }, },

Completed in 563 milliseconds

12345