Home
last modified time | relevance | path

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

/linux-6.1.9/arch/ia64/kernel/
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.1.9/arch/powerpc/platforms/powernv/
Dopal-core.c111 static void __init 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_regs(&(prstatus->pr_reg), regs); in fill_prstatus()
122 prstatus->common.pr_pid = cpu_to_be32(100 + pir); 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()
[all …]
/linux-6.1.9/fs/
Dbinfmt_elf.c1537 static void fill_prstatus(struct elf_prstatus_common *prstatus, in fill_prstatus() argument
1540 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1541 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1542 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1544 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus()
1546 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1547 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1548 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1557 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus()
1558 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
[all …]
Dbinfmt_elf_fdpic.c1290 static void fill_prstatus(struct elf_prstatus_common *prstatus, in fill_prstatus() argument
1293 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()
1297 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); 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()
1310 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus()
1311 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
[all …]
/linux-6.1.9/kernel/
Dkexec_core.c1073 struct elf_prstatus prstatus; in crash_save_cpu() local
1089 memset(&prstatus, 0, sizeof(prstatus)); in crash_save_cpu()
1090 prstatus.common.pr_pid = current->pid; in crash_save_cpu()
1091 elf_core_copy_regs(&prstatus.pr_reg, regs); in crash_save_cpu()
1093 &prstatus, sizeof(prstatus)); in crash_save_cpu()
/linux-6.1.9/arch/powerpc/kernel/
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.1.9/fs/proc/
Dkcore.c417 struct elf_prstatus prstatus = {}; in read_kcore() local
434 append_kcore_note(notes, &i, CORE_STR, NT_PRSTATUS, &prstatus, in read_kcore()
435 sizeof(prstatus)); in read_kcore()