Lines Matching refs:db
54 unsigned int db = 0; in uefi_check_ignore_db() local
55 unsigned long size = sizeof(db); in uefi_check_ignore_db()
58 status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db); in uefi_check_ignore_db()
70 void *db; in get_cert_list() local
81 db = kmalloc(lsize, GFP_KERNEL); in get_cert_list()
82 if (!db) in get_cert_list()
85 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
87 kfree(db); in get_cert_list()
93 return db; in get_cert_list()
164 void *db = NULL, *dbx = NULL, *mokx = NULL; in load_uefi_certs() local
183 db = get_cert_list(L"db", &secure_var, &dbsize, &status); in load_uefi_certs()
184 if (!db) { in load_uefi_certs()
191 db, dbsize, get_handler_for_db); in load_uefi_certs()
195 kfree(db); in load_uefi_certs()