Lines Matching refs:fdh
410 struct fadump_crash_info_header *fdh) in opal_fadump_build_cpu_notes() argument
465 if (fdh->crashing_cpu == thread_pir) { in opal_fadump_build_cpu_notes()
467 &fdh->regs); in opal_fadump_build_cpu_notes()
469 fdh->crashing_cpu, fdh->regs.gpr[1], in opal_fadump_build_cpu_notes()
470 fdh->regs.nip); in opal_fadump_build_cpu_notes()
496 if (fdh->crashing_cpu == FADUMP_CPU_UNKNOWN) { in opal_fadump_build_cpu_notes()
502 note_buf = fadump_regs_to_elf_notes(note_buf, &(fdh->regs)); in opal_fadump_build_cpu_notes()
508 fdh->elfcorehdr_addr); in opal_fadump_build_cpu_notes()
509 fadump_update_elfcore_header(__va(fdh->elfcorehdr_addr)); in opal_fadump_build_cpu_notes()
515 struct fadump_crash_info_header *fdh; in opal_fadump_process() local
522 fdh = __va(fadump_conf->fadumphdr_addr); in opal_fadump_process()
523 if (fdh->magic_number != FADUMP_CRASH_INFO_MAGIC) { in opal_fadump_process()
536 if (fdh->crashing_cpu != FADUMP_CPU_UNKNOWN) in opal_fadump_process()
540 rc = opal_fadump_build_cpu_notes(fadump_conf, fdh); in opal_fadump_process()
549 elfcorehdr_addr = fdh->elfcorehdr_addr; in opal_fadump_process()
588 static void opal_fadump_trigger(struct fadump_crash_info_header *fdh, in opal_fadump_trigger() argument
599 fdh->crashing_cpu = (u32)mfspr(SPRN_PIR); in opal_fadump_trigger()