Searched refs:ucodefp (Results 1 – 2 of 2) sorted by relevance
81 ucode_file_intel_t *ucodefp = &intel_ucodef; in ucode_file_reset_intel() local84 if (ucodefp->uf_header == NULL) in ucode_file_reset_intel()87 total_size = UCODE_TOTAL_SIZE_INTEL(ucodefp->uf_header->uh_total_size); in ucode_file_reset_intel()88 body_size = UCODE_BODY_SIZE_INTEL(ucodefp->uf_header->uh_body_size); in ucode_file_reset_intel()90 if (ucodefp->uf_body != NULL) { in ucode_file_reset_intel()91 ucode_free(ucodefp->uf_body, body_size); in ucode_file_reset_intel()92 ucodefp->uf_body = NULL; in ucode_file_reset_intel()95 if (ucodefp->uf_ext_table != NULL) { in ucode_file_reset_intel()98 ucode_free(ucodefp->uf_ext_table, size); in ucode_file_reset_intel()99 ucodefp->uf_ext_table = NULL; in ucode_file_reset_intel()[all …]
221 ucode_file_amd_t *ucodefp, int size) in ucode_match_amd() argument225 if (ucodefp == NULL || size < sizeof (ucode_header_amd_t)) in ucode_match_amd()228 uh = &ucodefp->uf_header; in ucode_match_amd()236 ucodefp->uf_code_present) { in ucode_match_amd()266 ucode_copy_amd(const ucode_file_amd_t *ucodefp, cpu_ucode_info_t *uinfop) in ucode_copy_amd() argument270 uinfop->cui_pending_ucode = ucode_zalloc(sizeof (*ucodefp)); in ucode_copy_amd()273 memcpy(uinfop->cui_pending_ucode, ucodefp, sizeof (*ucodefp)); in ucode_copy_amd()275 uinfop->cui_pending_size = sizeof (*ucodefp); in ucode_copy_amd()276 uinfop->cui_pending_rev = ucodefp->uf_header.uh_patch_id; in ucode_copy_amd()290 ucode_file_amd_t *ucodefp = amd_ucodef; in ucode_locate_amd() local[all …]