Lines Matching refs:tmp
26 void *tmp; member
66 static inline void *esp_tmp_extra(void *tmp) in esp_tmp_extra() argument
68 return PTR_ALIGN(tmp, __alignof__(struct esp_output_extra)); in esp_tmp_extra()
71 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int extralen) in esp_tmp_iv() argument
74 PTR_ALIGN((u8 *)tmp + extralen, in esp_tmp_iv()
75 crypto_aead_alignmask(aead) + 1) : tmp + extralen; in esp_tmp_iv()
96 static void esp_ssg_unref(struct xfrm_state *x, void *tmp) in esp_ssg_unref() argument
98 struct esp_output_extra *extra = esp_tmp_extra(tmp); in esp_ssg_unref()
108 extra = esp_tmp_extra(tmp); in esp_ssg_unref()
109 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
124 void *tmp; in esp_output_done() local
135 tmp = ESP_SKB_CB(skb)->tmp; in esp_output_done()
136 esp_ssg_unref(x, tmp); in esp_output_done()
137 kfree(tmp); in esp_output_done()
158 void *tmp = ESP_SKB_CB(skb)->tmp; in esp_restore_header() local
159 __be32 *seqhi = esp_tmp_extra(tmp); in esp_restore_header()
167 void *tmp = ESP_SKB_CB(skb)->tmp; in esp_output_restore_header() local
168 struct esp_output_extra *extra = esp_tmp_extra(tmp); in esp_output_restore_header()
369 void *tmp; in esp_output_tail() local
393 tmp = esp_alloc_tmp(aead, esp->nfrags + 2, extralen); in esp_output_tail()
394 if (!tmp) in esp_output_tail()
397 extra = esp_tmp_extra(tmp); in esp_output_tail()
398 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()
458 ESP_SKB_CB(skb)->tmp = tmp; in esp_output_tail()
475 esp_ssg_unref(x, tmp); in esp_output_tail()
478 kfree(tmp); in esp_output_tail()
589 kfree(ESP_SKB_CB(skb)->tmp); in esp_input_done2()
707 void *tmp; in esp_input() local
747 tmp = esp_alloc_tmp(aead, nfrags, seqhilen); in esp_input()
748 if (!tmp) in esp_input()
751 ESP_SKB_CB(skb)->tmp = tmp; in esp_input()
752 seqhi = esp_tmp_extra(tmp); in esp_input()
753 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_input()
762 kfree(tmp); in esp_input()