Home
last modified time | relevance | path

Searched refs:prstatus (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/arch/ia64/kernel/
A Dcrash.c43 struct elf_prstatus *prstatus = &per_cpu(elf_prstatus, cpu); in crash_save_this_cpu() local
45 elf_greg_t *dst = (elf_greg_t *)&(prstatus->pr_reg); in crash_save_this_cpu()
46 memset(prstatus, 0, sizeof(*prstatus)); in crash_save_this_cpu()
47 prstatus->common.pr_pid = current->pid; in crash_save_this_cpu()
59 buf = append_elf_note(buf, KEXEC_CORE_NOTE_NAME, NT_PRSTATUS, prstatus, in crash_save_this_cpu()
60 sizeof(*prstatus)); in crash_save_this_cpu()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal-core.c114 memset(prstatus, 0, sizeof(struct elf_prstatus)); in fill_prstatus()
115 elf_core_copy_regs(&(prstatus->pr_reg), regs); in fill_prstatus()
123 prstatus->common.pr_ppid = cpu_to_be32(1); in fill_prstatus()
133 prstatus->common.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, &regs); in opalcore_append_cpu_notes()
283 NT_PRSTATUS, &prstatus, in opalcore_append_cpu_notes()
284 sizeof(prstatus)); in opalcore_append_cpu_notes()
291 NT_PRSTATUS, &prstatus, in opalcore_append_cpu_notes()
[all …]
/linux-6.3-rc2/fs/
A Dbinfmt_elf_fdpic.c1293 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1294 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1295 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1299 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1300 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1301 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1393 fill_prstatus(&t->prstatus.common, p, signr); in elf_dump_thread_status()
1397 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in elf_dump_thread_status()
1400 &t->prstatus); in elf_dump_thread_status()
1412 t->prstatus.pr_fpvalid = 1; in elf_dump_thread_status()
[all …]
A Dbinfmt_elf.c1539 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1541 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1545 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1546 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1547 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1731 struct elf_prstatus prstatus; member
1781 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in fill_thread_core_info()
1784 PRSTATUS_SIZE, &t->prstatus); in fill_thread_core_info()
1815 SET_PR_FPVALID(&t->prstatus); in fill_thread_core_info()
1838 &(t->prstatus)); in fill_thread_core_info()
[all …]
/linux-6.3-rc2/kernel/
A Dkexec_core.c1160 struct elf_prstatus prstatus; in crash_save_cpu() local
1176 memset(&prstatus, 0, sizeof(prstatus)); in crash_save_cpu()
1177 prstatus.common.pr_pid = current->pid; in crash_save_cpu()
1178 elf_core_copy_regs(&prstatus.pr_reg, regs); in crash_save_cpu()
1180 &prstatus, sizeof(prstatus)); in crash_save_cpu()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dfadump.c754 struct elf_prstatus prstatus; in fadump_regs_to_elf_notes() local
756 memset(&prstatus, 0, sizeof(prstatus)); in fadump_regs_to_elf_notes()
761 elf_core_copy_regs(&prstatus.pr_reg, regs); in fadump_regs_to_elf_notes()
763 &prstatus, sizeof(prstatus)); in fadump_regs_to_elf_notes()
/linux-6.3-rc2/fs/proc/
A Dkcore.c416 struct elf_prstatus prstatus = {}; in read_kcore() local
433 append_kcore_note(notes, &i, CORE_STR, NT_PRSTATUS, &prstatus, in read_kcore()
434 sizeof(prstatus)); in read_kcore()

Completed in 26 milliseconds