Lines Matching refs:cert
2369 unsigned char flags, unsigned short cert) in ipl_report_add_component() argument
2381 comp->entry.certificate_index = cert; in ipl_report_add_component()
2391 struct ipl_report_certificate *cert; in ipl_report_add_certificate() local
2393 cert = vzalloc(sizeof(*cert)); in ipl_report_add_certificate()
2394 if (!cert) in ipl_report_add_certificate()
2396 list_add_tail(&cert->list, &report->certificates); in ipl_report_add_certificate()
2398 cert->entry.addr = addr; in ipl_report_add_certificate()
2399 cert->entry.len = len; in ipl_report_add_certificate()
2400 cert->key = key; in ipl_report_add_certificate()
2402 report->size += sizeof(cert->entry); in ipl_report_add_certificate()
2403 report->size += cert->entry.len; in ipl_report_add_certificate()
2430 struct ipl_report_certificate *cert; in ipl_report_finish() local
2466 list_for_each_entry(cert, &report->certificates, list) { in ipl_report_finish()
2467 memcpy(ptr, &cert->entry, sizeof(cert->entry)); in ipl_report_finish()
2468 ptr += sizeof(cert->entry); in ipl_report_finish()
2473 list_for_each_entry(cert, &report->certificates, list) { in ipl_report_finish()
2474 memcpy(ptr, cert->key, cert->entry.len); in ipl_report_finish()
2475 ptr += cert->entry.len; in ipl_report_finish()
2486 struct ipl_report_certificate *cert, *ncert; in ipl_report_free() local
2491 list_for_each_entry_safe(cert, ncert, &report->certificates, list) in ipl_report_free()
2492 vfree(cert); in ipl_report_free()