Lines Matching defs:nfrags
64 static void *esp_alloc_tmp(struct crypto_aead *aead, int nfrags, int seqihlen)
81 len += sizeof(struct scatterlist) * nfrags;
435 int nfrags;
454 nfrags = 1;
483 nfrags = skb_shinfo(skb)->nr_frags;
485 __skb_fill_page_desc(skb, nfrags, page, pfrag->offset,
487 skb_shinfo(skb)->nr_frags = ++nfrags;
493 nfrags++;
508 nfrags = skb_cow_data(skb, tailen, &trailer);
509 if (nfrags < 0)
519 return nfrags;
551 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen);
563 dsg = &sg[esp->nfrags];
568 sg_init_table(sg, esp->nfrags);
680 esp.nfrags = esp6_output_head(x, skb, &esp);
681 if (esp.nfrags < 0)
682 return esp.nfrags;
883 int nfrags;
912 nfrags = 1;
916 nfrags = skb_shinfo(skb)->nr_frags;
917 nfrags++;
923 nfrags = skb_cow_data(skb, 0, &trailer);
924 if (nfrags < 0) {
931 tmp = esp_alloc_tmp(aead, nfrags, seqhilen);
943 sg_init_table(sg, nfrags);