Searched refs:fpu_enabled (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/arch/x86/crypto/
H A Dcast5_avx_glue.c49 static inline bool cast5_fpu_begin(bool fpu_enabled, unsigned int nbytes) cast5_fpu_begin() argument
52 NULL, fpu_enabled, nbytes); cast5_fpu_begin()
55 static inline void cast5_fpu_end(bool fpu_enabled) cast5_fpu_end() argument
57 return glue_fpu_end(fpu_enabled); cast5_fpu_end()
63 bool fpu_enabled = false; ecb_crypt() local
79 fpu_enabled = cast5_fpu_begin(fpu_enabled, nbytes); ecb_crypt()
110 cast5_fpu_end(fpu_enabled); ecb_crypt()
231 bool fpu_enabled = false; cbc_decrypt() local
240 fpu_enabled = cast5_fpu_begin(fpu_enabled, nbytes); cbc_decrypt()
245 cast5_fpu_end(fpu_enabled); cbc_decrypt()
315 bool fpu_enabled = false; ctr_crypt() local
324 fpu_enabled = cast5_fpu_begin(fpu_enabled, nbytes); ctr_crypt()
329 cast5_fpu_end(fpu_enabled); ctr_crypt()
H A Dglue_helper.c42 bool fpu_enabled = false; __glue_ecb_crypt_128bit() local
51 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, __glue_ecb_crypt_128bit()
52 desc, fpu_enabled, nbytes); __glue_ecb_crypt_128bit()
77 glue_fpu_end(fpu_enabled); __glue_ecb_crypt_128bit()
197 bool fpu_enabled = false; glue_cbc_decrypt_128bit() local
205 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, glue_cbc_decrypt_128bit()
206 desc, fpu_enabled, nbytes); glue_cbc_decrypt_128bit()
211 glue_fpu_end(fpu_enabled); glue_cbc_decrypt_128bit()
280 bool fpu_enabled = false; glue_ctr_crypt_128bit() local
288 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, glue_ctr_crypt_128bit()
289 desc, fpu_enabled, nbytes); glue_ctr_crypt_128bit()
294 glue_fpu_end(fpu_enabled); glue_ctr_crypt_128bit()
350 bool fpu_enabled = false; glue_xts_crypt_128bit() local
362 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, glue_xts_crypt_128bit()
363 desc, fpu_enabled, glue_xts_crypt_128bit()
376 glue_fpu_end(fpu_enabled); glue_xts_crypt_128bit()
H A Dcamellia_aesni_avx_glue.c190 static inline bool camellia_fpu_begin(bool fpu_enabled, unsigned int nbytes) camellia_fpu_begin() argument
193 CAMELLIA_AESNI_PARALLEL_BLOCKS, NULL, fpu_enabled, camellia_fpu_begin()
197 static inline void camellia_fpu_end(bool fpu_enabled) camellia_fpu_end() argument
199 glue_fpu_end(fpu_enabled); camellia_fpu_end()
211 bool fpu_enabled; member in struct:crypt_priv
220 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
244 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
269 .fpu_enabled = false, lrw_encrypt()
283 camellia_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
295 .fpu_enabled = false, lrw_decrypt()
309 camellia_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
H A Dserpent_avx2_glue.c172 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) serpent_fpu_begin() argument
175 return glue_fpu_begin(SERPENT_BLOCK_SIZE, 8, NULL, fpu_enabled, nbytes); serpent_fpu_begin()
178 static inline void serpent_fpu_end(bool fpu_enabled) serpent_fpu_end() argument
180 glue_fpu_end(fpu_enabled); serpent_fpu_end()
185 bool fpu_enabled; member in struct:crypt_priv
194 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
218 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
243 .fpu_enabled = false, lrw_encrypt()
257 serpent_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
269 .fpu_enabled = false, lrw_decrypt()
283 serpent_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
H A Dserpent_sse2_glue.c174 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) serpent_fpu_begin() argument
177 NULL, fpu_enabled, nbytes); serpent_fpu_begin()
180 static inline void serpent_fpu_end(bool fpu_enabled) serpent_fpu_end() argument
182 glue_fpu_end(fpu_enabled); serpent_fpu_end()
187 bool fpu_enabled; member in struct:crypt_priv
196 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
213 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
251 .fpu_enabled = false, lrw_encrypt()
265 serpent_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
277 .fpu_enabled = false, lrw_decrypt()
291 serpent_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
339 .fpu_enabled = false, xts_encrypt()
354 serpent_fpu_end(crypt_ctx.fpu_enabled); xts_encrypt()
366 .fpu_enabled = false, xts_decrypt()
381 serpent_fpu_end(crypt_ctx.fpu_enabled); xts_decrypt()
H A Dcamellia_aesni_avx2_glue.c186 static inline bool camellia_fpu_begin(bool fpu_enabled, unsigned int nbytes) camellia_fpu_begin() argument
189 CAMELLIA_AESNI_PARALLEL_BLOCKS, NULL, fpu_enabled, camellia_fpu_begin()
193 static inline void camellia_fpu_end(bool fpu_enabled) camellia_fpu_end() argument
195 glue_fpu_end(fpu_enabled); camellia_fpu_end()
207 bool fpu_enabled; member in struct:crypt_priv
216 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
246 ctx->fpu_enabled = camellia_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
277 .fpu_enabled = false, lrw_encrypt()
291 camellia_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
303 .fpu_enabled = false, lrw_decrypt()
317 camellia_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
H A Dcast6_avx_glue.c193 static inline bool cast6_fpu_begin(bool fpu_enabled, unsigned int nbytes) cast6_fpu_begin() argument
196 NULL, fpu_enabled, nbytes); cast6_fpu_begin()
199 static inline void cast6_fpu_end(bool fpu_enabled) cast6_fpu_end() argument
201 glue_fpu_end(fpu_enabled); cast6_fpu_end()
206 bool fpu_enabled; member in struct:crypt_priv
215 ctx->fpu_enabled = cast6_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
232 ctx->fpu_enabled = cast6_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
269 .fpu_enabled = false, lrw_encrypt()
283 cast6_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
295 .fpu_enabled = false, lrw_decrypt()
309 cast6_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
H A Dserpent_avx_glue.c206 static inline bool serpent_fpu_begin(bool fpu_enabled, unsigned int nbytes) serpent_fpu_begin() argument
209 NULL, fpu_enabled, nbytes); serpent_fpu_begin()
212 static inline void serpent_fpu_end(bool fpu_enabled) serpent_fpu_end() argument
214 glue_fpu_end(fpu_enabled); serpent_fpu_end()
219 bool fpu_enabled; member in struct:crypt_priv
228 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
245 ctx->fpu_enabled = serpent_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
279 .fpu_enabled = false, lrw_encrypt()
293 serpent_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
305 .fpu_enabled = false, lrw_decrypt()
319 serpent_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
H A Dtwofish_avx_glue.c207 static inline bool twofish_fpu_begin(bool fpu_enabled, unsigned int nbytes) twofish_fpu_begin() argument
210 fpu_enabled, nbytes); twofish_fpu_begin()
213 static inline void twofish_fpu_end(bool fpu_enabled) twofish_fpu_end() argument
215 glue_fpu_end(fpu_enabled); twofish_fpu_end()
220 bool fpu_enabled; member in struct:crypt_priv
229 ctx->fpu_enabled = twofish_fpu_begin(ctx->fpu_enabled, nbytes); encrypt_callback()
251 ctx->fpu_enabled = twofish_fpu_begin(ctx->fpu_enabled, nbytes); decrypt_callback()
274 .fpu_enabled = false, lrw_encrypt()
288 twofish_fpu_end(crypt_ctx.fpu_enabled); lrw_encrypt()
300 .fpu_enabled = false, lrw_decrypt()
314 twofish_fpu_end(crypt_ctx.fpu_enabled); lrw_decrypt()
/linux-4.1.27/arch/x86/include/asm/crypto/
H A Dglue_helper.h48 bool fpu_enabled, unsigned int nbytes) glue_fpu_begin()
53 if (fpu_enabled) glue_fpu_begin()
72 static inline void glue_fpu_end(bool fpu_enabled) glue_fpu_end() argument
74 if (fpu_enabled) glue_fpu_end()
46 glue_fpu_begin(unsigned int bsize, int fpu_blocks_limit, struct blkcipher_desc *desc, bool fpu_enabled, unsigned int nbytes) glue_fpu_begin() argument
/linux-4.1.27/arch/arc/kernel/
H A Dsetup.c249 int fpu_enabled; arc_chk_core_config() local
284 fpu_enabled = IS_ENABLED(CONFIG_ARC_FPU_SAVE_RESTORE); arc_chk_core_config()
286 if (cpu->extn.fpu_dp && !fpu_enabled) arc_chk_core_config()
288 else if (!cpu->extn.fpu_dp && fpu_enabled) arc_chk_core_config()
/linux-4.1.27/arch/mips/include/asm/
H A Dkvm_host.h440 u8 fpu_enabled; member in struct:kvm_vcpu_arch
577 vcpu->fpu_enabled; kvm_mips_guest_can_have_fpu()
/linux-4.1.27/arch/mips/kvm/
H A Dmips.c884 vcpu->arch.fpu_enabled = true; kvm_vcpu_ioctl_enable_cap()

Completed in 491 milliseconds