Lines Matching refs:auth_str
425 char *auth_str, *new_pwd; in new_password_store() local
490 auth_str = kasprintf(GFP_KERNEL, "%s,%s,%s,%s,%s;", in new_password_store()
493 if (!auth_str) { in new_password_store()
497 ret = tlmi_simple_call(LENOVO_SET_BIOS_PASSWORD_GUID, auth_str); in new_password_store()
498 kfree(auth_str); in new_password_store()
697 char *auth_str, *passwd; in cert_to_password_store() local
720 auth_str = kasprintf(GFP_KERNEL, "%s,%s", passwd, setting->signature); in cert_to_password_store()
721 if (!auth_str) { in cert_to_password_store()
725 ret = tlmi_simple_call(LENOVO_CERT_TO_PASSWORD_GUID, auth_str); in cert_to_password_store()
726 kfree(auth_str); in cert_to_password_store()
739 char *auth_str, *new_cert; in certificate_store() local
756 auth_str = kasprintf(GFP_KERNEL, "%s,%s", in certificate_store()
759 if (!auth_str) in certificate_store()
762 ret = tlmi_simple_call(LENOVO_CLEAR_BIOS_CERT_GUID, auth_str); in certificate_store()
763 kfree(auth_str); in certificate_store()
782 auth_str = kasprintf(GFP_KERNEL, "%s,%s", in certificate_store()
792 auth_str = kasprintf(GFP_KERNEL, "%s,%s", in certificate_store()
796 if (!auth_str) in certificate_store()
799 ret = tlmi_simple_call(guid, auth_str); in certificate_store()
800 kfree(auth_str); in certificate_store()
982 char *auth_str = NULL; in current_value_store() local
1048 auth_str = kasprintf(GFP_KERNEL, "%s,%s,%s;", in current_value_store()
1052 if (!auth_str) { in current_value_store()
1058 if (auth_str) in current_value_store()
1060 new_setting, auth_str); in current_value_store()
1073 if (auth_str) in current_value_store()
1074 ret = tlmi_save_bios_settings(auth_str); in current_value_store()
1085 kfree(auth_str); in current_value_store()
1162 char *auth_str = NULL; in debug_cmd_store() local
1176 auth_str = kasprintf(GFP_KERNEL, "%s,%s,%s;", in debug_cmd_store()
1180 if (!auth_str) { in debug_cmd_store()
1186 if (auth_str) in debug_cmd_store()
1187 set_str = kasprintf(GFP_KERNEL, "%s,%s", new_setting, auth_str); in debug_cmd_store()
1205 kfree(auth_str); in debug_cmd_store()