Searched refs:cached_result (Results 1 – 4 of 4) sorted by relevance
239 static int cached_result = -1; in arcfour_crypt_on_intel() local241 if (cached_result == -1) { /* first time */ in arcfour_crypt_on_intel()243 cached_result = (cpuid_getvendor(CPU) == X86_VENDOR_Intel); in arcfour_crypt_on_intel()248 cached_result = ((ui & AV_386_AMD_MMX) == 0); in arcfour_crypt_on_intel()252 return (cached_result); in arcfour_crypt_on_intel()
738 static int cached_result = -1; in intel_pclmulqdq_instruction_present() local740 if (cached_result == -1) { /* first time */ in intel_pclmulqdq_instruction_present()742 cached_result = in intel_pclmulqdq_instruction_present()748 cached_result = (ui & AV_386_PCLMULQDQ) != 0; in intel_pclmulqdq_instruction_present()752 return (cached_result); in intel_pclmulqdq_instruction_present()
1775 static int cached_result = -1; in intel_aes_instructions_present() local1777 if (cached_result == -1) { /* first time */ in intel_aes_instructions_present()1779 cached_result = is_x86_feature(x86_featureset, X86FSET_AES); in intel_aes_instructions_present()1784 cached_result = (ui & AV_386_AES) != 0; in intel_aes_instructions_present()1788 return (cached_result); in intel_aes_instructions_present()
194 static int cached_result = -1; in bignum_on_intel() local196 if (cached_result == -1) { /* first time */ in bignum_on_intel()198 cached_result = (cpuid_getvendor(CPU) == X86_VENDOR_Intel); in bignum_on_intel()203 cached_result = ((ui & AV_386_AMD_MMX) == 0); in bignum_on_intel()207 return (cached_result); in bignum_on_intel()