Lines Matching defs:nfrags
47 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int extralen)
64 len += sizeof(struct scatterlist) * nfrags;
405 int nfrags;
425 nfrags = 1;
454 nfrags = skb_shinfo(skb)->nr_frags;
456 __skb_fill_page_desc(skb, nfrags, page, pfrag->offset,
458 skb_shinfo(skb)->nr_frags = ++nfrags;
464 nfrags++;
477 nfrags = skb_cow_data(skb, tailen, &trailer);
478 if (nfrags < 0)
488 return nfrags;
520 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen);
532 dsg = &sg[esp->nfrags];
537 sg_init_table(sg, esp->nfrags);
648 esp.nfrags = esp_output_head(x, skb, &esp);
649 if (esp.nfrags < 0)
650 return esp.nfrags;
845 int nfrags;
870 nfrags = 1;
874 nfrags = skb_shinfo(skb)->nr_frags;
875 nfrags++;
885 nfrags = err;
889 tmp = esp_alloc_tmp(aead, nfrags, seqhilen);
901 sg_init_table(sg, nfrags);