Searched refs:prstatus (Results 1 – 3 of 3) sorted by relevance
/arch/ia64/kernel/ |
D | crash.c | 42 struct elf_prstatus *prstatus = &per_cpu(elf_prstatus, cpu); in crash_save_this_cpu() local 44 elf_greg_t *dst = (elf_greg_t *)&(prstatus->pr_reg); in crash_save_this_cpu() 45 memset(prstatus, 0, sizeof(*prstatus)); in crash_save_this_cpu() 46 prstatus->pr_pid = current->pid; in crash_save_this_cpu() 58 buf = append_elf_note(buf, KEXEC_CORE_NOTE_NAME, NT_PRSTATUS, prstatus, in crash_save_this_cpu() 59 sizeof(*prstatus)); in crash_save_this_cpu()
|
/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 111 static void fill_prstatus(struct elf_prstatus *prstatus, int pir, in fill_prstatus() argument 114 memset(prstatus, 0, sizeof(struct elf_prstatus)); in fill_prstatus() 115 elf_core_copy_kernel_regs(&(prstatus->pr_reg), regs); in fill_prstatus() 122 prstatus->pr_pid = cpu_to_be32(100 + pir); in fill_prstatus() 123 prstatus->pr_ppid = cpu_to_be32(1); in fill_prstatus() 133 prstatus->pr_cursig = cpu_to_be16(sig); in fill_prstatus() 225 struct elf_prstatus prstatus; in opalcore_append_cpu_notes() local 256 &prstatus, sizeof(prstatus)); in opalcore_append_cpu_notes() 279 fill_prstatus(&prstatus, thread_pir, ®s); in opalcore_append_cpu_notes() 283 NT_PRSTATUS, &prstatus, in opalcore_append_cpu_notes() [all …]
|
/arch/powerpc/kernel/ |
D | fadump.c | 743 struct elf_prstatus prstatus; in fadump_regs_to_elf_notes() local 745 memset(&prstatus, 0, sizeof(prstatus)); in fadump_regs_to_elf_notes() 750 elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); in fadump_regs_to_elf_notes() 752 &prstatus, sizeof(prstatus)); in fadump_regs_to_elf_notes()
|