Lines Matching refs:fdh
418 struct fadump_crash_info_header *fdh) in opal_fadump_build_cpu_notes() argument
473 if (fdh->crashing_cpu == thread_pir) { in opal_fadump_build_cpu_notes()
475 &fdh->regs); in opal_fadump_build_cpu_notes()
477 fdh->crashing_cpu, fdh->regs.gpr[1], in opal_fadump_build_cpu_notes()
478 fdh->regs.nip); in opal_fadump_build_cpu_notes()
504 if (fdh->crashing_cpu == FADUMP_CPU_UNKNOWN) { in opal_fadump_build_cpu_notes()
510 note_buf = fadump_regs_to_elf_notes(note_buf, &(fdh->regs)); in opal_fadump_build_cpu_notes()
516 fdh->elfcorehdr_addr); in opal_fadump_build_cpu_notes()
517 fadump_update_elfcore_header(__va(fdh->elfcorehdr_addr)); in opal_fadump_build_cpu_notes()
523 struct fadump_crash_info_header *fdh; in opal_fadump_process() local
530 fdh = __va(fadump_conf->fadumphdr_addr); in opal_fadump_process()
531 if (fdh->magic_number != FADUMP_CRASH_INFO_MAGIC) { in opal_fadump_process()
544 if (fdh->crashing_cpu != FADUMP_CPU_UNKNOWN) in opal_fadump_process()
548 rc = opal_fadump_build_cpu_notes(fadump_conf, fdh); in opal_fadump_process()
557 elfcorehdr_addr = fdh->elfcorehdr_addr; in opal_fadump_process()
597 static void opal_fadump_trigger(struct fadump_crash_info_header *fdh, in opal_fadump_trigger() argument
608 fdh->crashing_cpu = (u32)mfspr(SPRN_PIR); in opal_fadump_trigger()