• Home
  • Raw
  • Download

Lines Matching refs:tmp

39 	void *tmp;  member
75 static inline __be32 *esp_tmp_seqhi(void *tmp) in esp_tmp_seqhi() argument
77 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); in esp_tmp_seqhi()
80 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) in esp_tmp_iv() argument
83 PTR_ALIGN((u8 *)tmp + seqhilen, in esp_tmp_iv()
84 crypto_aead_alignmask(aead) + 1) : tmp + seqhilen; in esp_tmp_iv()
105 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() argument
116 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_ssg_unref()
131 void *tmp; in esp_output_done() local
142 tmp = ESP_SKB_CB(skb)->tmp; in esp_output_done()
143 esp_ssg_unref(x, tmp); in esp_output_done()
144 kfree(tmp); in esp_output_done()
165 void *tmp = ESP_SKB_CB(skb)->tmp; in esp_restore_header() local
166 __be32 *seqhi = esp_tmp_seqhi(tmp); in esp_restore_header()
311 void *tmp; in esp6_output_tail() local
335 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, seqhilen); in esp6_output_tail()
336 if (!tmp) in esp6_output_tail()
339 seqhi = esp_tmp_seqhi(tmp); in esp6_output_tail()
340 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp6_output_tail()
399 ESP_SKB_CB(skb)->tmp = tmp; in esp6_output_tail()
416 esp_ssg_unref(x, tmp); in esp6_output_tail()
419 kfree(tmp); in esp6_output_tail()
527 kfree(ESP_SKB_CB(skb)->tmp); in esp6_input_done2()
602 void *tmp; in esp6_input() local
646 tmp = esp_alloc_tmp(aead, nfrags, seqhilen); in esp6_input()
647 if (!tmp) in esp6_input()
650 ESP_SKB_CB(skb)->tmp = tmp; in esp6_input()
651 seqhi = esp_tmp_seqhi(tmp); in esp6_input()
652 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp6_input()
661 kfree(tmp); in esp6_input()