Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/fs/
Dbinfmt_elf_fdpic.c1282 static void fill_prstatus(struct elf_prstatus_common *prstatus, in fill_prstatus() argument
1285 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1286 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1287 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1289 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus()
1291 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1292 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1293 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1302 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus()
1303 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
[all …]
Dbinfmt_elf.c1512 static void fill_prstatus(struct elf_prstatus_common *prstatus, in fill_prstatus() argument
1515 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1516 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1517 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1519 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus()
1521 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1522 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1523 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1532 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus()
1533 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
[all …]
/linux-6.12.1/kernel/
Dcrash_core.c420 struct elf_prstatus prstatus; in crash_save_cpu() local
436 memset(&prstatus, 0, sizeof(prstatus)); in crash_save_cpu()
437 prstatus.common.pr_pid = current->pid; in crash_save_cpu()
438 elf_core_copy_regs(&prstatus.pr_reg, regs); in crash_save_cpu()
440 &prstatus, sizeof(prstatus)); in crash_save_cpu()
/linux-6.12.1/arch/powerpc/kernel/
Dfadump.c745 struct elf_prstatus prstatus; in fadump_regs_to_elf_notes() local
747 memset(&prstatus, 0, sizeof(prstatus)); in fadump_regs_to_elf_notes()
752 elf_core_copy_regs(&prstatus.pr_reg, regs); in fadump_regs_to_elf_notes()
754 &prstatus, sizeof(prstatus)); in fadump_regs_to_elf_notes()
/linux-6.12.1/fs/proc/
Dkcore.c430 struct elf_prstatus prstatus = {}; in read_kcore_iter() local
447 append_kcore_note(notes, &i, CORE_STR, NT_PRSTATUS, &prstatus, in read_kcore_iter()
448 sizeof(prstatus)); in read_kcore_iter()