prstatus 42 arch/ia64/kernel/crash.c struct elf_prstatus *prstatus = &per_cpu(elf_prstatus, cpu); prstatus 44 arch/ia64/kernel/crash.c elf_greg_t *dst = (elf_greg_t *)&(prstatus->pr_reg); prstatus 45 arch/ia64/kernel/crash.c memset(prstatus, 0, sizeof(*prstatus)); prstatus 46 arch/ia64/kernel/crash.c prstatus->pr_pid = current->pid; prstatus 58 arch/ia64/kernel/crash.c buf = append_elf_note(buf, KEXEC_CORE_NOTE_NAME, NT_PRSTATUS, prstatus, prstatus 59 arch/ia64/kernel/crash.c sizeof(*prstatus)); prstatus 642 arch/powerpc/kernel/fadump.c struct elf_prstatus prstatus; prstatus 644 arch/powerpc/kernel/fadump.c memset(&prstatus, 0, sizeof(prstatus)); prstatus 649 arch/powerpc/kernel/fadump.c elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); prstatus 651 arch/powerpc/kernel/fadump.c &prstatus, sizeof(prstatus)); prstatus 110 arch/powerpc/platforms/powernv/opal-core.c static void fill_prstatus(struct elf_prstatus *prstatus, int pir, prstatus 113 arch/powerpc/platforms/powernv/opal-core.c memset(prstatus, 0, sizeof(struct elf_prstatus)); prstatus 114 arch/powerpc/platforms/powernv/opal-core.c elf_core_copy_kernel_regs(&(prstatus->pr_reg), regs); prstatus 121 arch/powerpc/platforms/powernv/opal-core.c prstatus->pr_pid = cpu_to_be32(100 + pir); prstatus 122 arch/powerpc/platforms/powernv/opal-core.c prstatus->pr_ppid = cpu_to_be32(1); prstatus 132 arch/powerpc/platforms/powernv/opal-core.c prstatus->pr_cursig = cpu_to_be16(sig); prstatus 224 arch/powerpc/platforms/powernv/opal-core.c struct elf_prstatus prstatus; prstatus 255 arch/powerpc/platforms/powernv/opal-core.c &prstatus, sizeof(prstatus)); prstatus 278 arch/powerpc/platforms/powernv/opal-core.c fill_prstatus(&prstatus, thread_pir, ®s); prstatus 282 arch/powerpc/platforms/powernv/opal-core.c NT_PRSTATUS, &prstatus, prstatus 283 arch/powerpc/platforms/powernv/opal-core.c sizeof(prstatus)); prstatus 290 arch/powerpc/platforms/powernv/opal-core.c NT_PRSTATUS, &prstatus, prstatus 291 arch/powerpc/platforms/powernv/opal-core.c sizeof(prstatus)); prstatus 1472 fs/binfmt_elf.c static void fill_prstatus(struct elf_prstatus *prstatus, prstatus 1475 fs/binfmt_elf.c prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; prstatus 1476 fs/binfmt_elf.c prstatus->pr_sigpend = p->pending.signal.sig[0]; prstatus 1477 fs/binfmt_elf.c prstatus->pr_sighold = p->blocked.sig[0]; prstatus 1479 fs/binfmt_elf.c prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); prstatus 1481 fs/binfmt_elf.c prstatus->pr_pid = task_pid_vnr(p); prstatus 1482 fs/binfmt_elf.c prstatus->pr_pgrp = task_pgrp_vnr(p); prstatus 1483 fs/binfmt_elf.c prstatus->pr_sid = task_session_vnr(p); prstatus 1492 fs/binfmt_elf.c prstatus->pr_utime = ns_to_timeval(cputime.utime); prstatus 1493 fs/binfmt_elf.c prstatus->pr_stime = ns_to_timeval(cputime.stime); prstatus 1498 fs/binfmt_elf.c prstatus->pr_utime = ns_to_timeval(utime); prstatus 1499 fs/binfmt_elf.c prstatus->pr_stime = ns_to_timeval(stime); prstatus 1502 fs/binfmt_elf.c prstatus->pr_cutime = ns_to_timeval(p->signal->cutime); prstatus 1503 fs/binfmt_elf.c prstatus->pr_cstime = ns_to_timeval(p->signal->cstime); prstatus 1664 fs/binfmt_elf.c struct elf_prstatus prstatus; prstatus 1712 fs/binfmt_elf.c fill_prstatus(&t->prstatus, t->task, signr); prstatus 1714 fs/binfmt_elf.c &t->prstatus.pr_reg, NULL); prstatus 1717 fs/binfmt_elf.c PRSTATUS_SIZE(t->prstatus, regset0_size), &t->prstatus); prstatus 1747 fs/binfmt_elf.c SET_PR_FPVALID(&t->prstatus, prstatus 1905 fs/binfmt_elf.c WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); prstatus 1920 fs/binfmt_elf.c struct elf_prstatus prstatus; /* NT_PRSTATUS */ prstatus 1941 fs/binfmt_elf.c fill_prstatus(&t->prstatus, p, signr); prstatus 1942 fs/binfmt_elf.c elf_core_copy_task_regs(p, &t->prstatus.pr_reg); prstatus 1944 fs/binfmt_elf.c fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), prstatus 1945 fs/binfmt_elf.c &(t->prstatus)); prstatus 1949 fs/binfmt_elf.c if ((t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, prstatus 1971 fs/binfmt_elf.c struct elf_prstatus *prstatus; /* NT_PRSTATUS */ prstatus 1995 fs/binfmt_elf.c info->prstatus = kmalloc(sizeof(*info->prstatus), GFP_KERNEL); prstatus 1996 fs/binfmt_elf.c if (!info->prstatus) prstatus 2036 fs/binfmt_elf.c memset(info->prstatus, 0, sizeof(*info->prstatus)); prstatus 2037 fs/binfmt_elf.c fill_prstatus(info->prstatus, current, siginfo->si_signo); prstatus 2038 fs/binfmt_elf.c elf_core_copy_regs(&info->prstatus->pr_reg, regs); prstatus 2049 fs/binfmt_elf.c sizeof(*info->prstatus), info->prstatus); prstatus 2064 fs/binfmt_elf.c info->prstatus->pr_fpvalid = elf_core_copy_task_fpregs(current, regs, prstatus 2066 fs/binfmt_elf.c if (info->prstatus->pr_fpvalid) prstatus 2124 fs/binfmt_elf.c kfree(info->prstatus); prstatus 1342 fs/binfmt_elf_fdpic.c static void fill_prstatus(struct elf_prstatus *prstatus, prstatus 1345 fs/binfmt_elf_fdpic.c prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; prstatus 1346 fs/binfmt_elf_fdpic.c prstatus->pr_sigpend = p->pending.signal.sig[0]; prstatus 1347 fs/binfmt_elf_fdpic.c prstatus->pr_sighold = p->blocked.sig[0]; prstatus 1349 fs/binfmt_elf_fdpic.c prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); prstatus 1351 fs/binfmt_elf_fdpic.c prstatus->pr_pid = task_pid_vnr(p); prstatus 1352 fs/binfmt_elf_fdpic.c prstatus->pr_pgrp = task_pgrp_vnr(p); prstatus 1353 fs/binfmt_elf_fdpic.c prstatus->pr_sid = task_session_vnr(p); prstatus 1362 fs/binfmt_elf_fdpic.c prstatus->pr_utime = ns_to_timeval(cputime.utime); prstatus 1363 fs/binfmt_elf_fdpic.c prstatus->pr_stime = ns_to_timeval(cputime.stime); prstatus 1368 fs/binfmt_elf_fdpic.c prstatus->pr_utime = ns_to_timeval(utime); prstatus 1369 fs/binfmt_elf_fdpic.c prstatus->pr_stime = ns_to_timeval(stime); prstatus 1371 fs/binfmt_elf_fdpic.c prstatus->pr_cutime = ns_to_timeval(p->signal->cutime); prstatus 1372 fs/binfmt_elf_fdpic.c prstatus->pr_cstime = ns_to_timeval(p->signal->cstime); prstatus 1374 fs/binfmt_elf_fdpic.c prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; prstatus 1375 fs/binfmt_elf_fdpic.c prstatus->pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap; prstatus 1425 fs/binfmt_elf_fdpic.c struct elf_prstatus prstatus; /* NT_PRSTATUS */ prstatus 1447 fs/binfmt_elf_fdpic.c fill_prstatus(&t->prstatus, p, signr); prstatus 1448 fs/binfmt_elf_fdpic.c elf_core_copy_task_regs(p, &t->prstatus.pr_reg); prstatus 1450 fs/binfmt_elf_fdpic.c fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), prstatus 1451 fs/binfmt_elf_fdpic.c &t->prstatus); prstatus 1455 fs/binfmt_elf_fdpic.c t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, &t->fpu); prstatus 1456 fs/binfmt_elf_fdpic.c if (t->prstatus.pr_fpvalid) { prstatus 1560 fs/binfmt_elf_fdpic.c struct elf_prstatus *prstatus = NULL; /* NT_PRSTATUS */ prstatus 1593 fs/binfmt_elf_fdpic.c prstatus = kzalloc(sizeof(*prstatus), GFP_KERNEL); prstatus 1594 fs/binfmt_elf_fdpic.c if (!prstatus) prstatus 1632 fs/binfmt_elf_fdpic.c fill_prstatus(prstatus, current, cprm->siginfo->si_signo); prstatus 1633 fs/binfmt_elf_fdpic.c elf_core_copy_regs(&prstatus->pr_reg, cprm->regs); prstatus 1655 fs/binfmt_elf_fdpic.c fill_note(notes + 0, "CORE", NT_PRSTATUS, sizeof(*prstatus), prstatus); prstatus 1671 fs/binfmt_elf_fdpic.c if ((prstatus->pr_fpvalid = prstatus 1801 fs/binfmt_elf_fdpic.c kfree(prstatus); prstatus 416 fs/proc/kcore.c struct elf_prstatus prstatus = {}; prstatus 433 fs/proc/kcore.c append_kcore_note(notes, &i, CORE_STR, NT_PRSTATUS, &prstatus, prstatus 434 fs/proc/kcore.c sizeof(prstatus)); prstatus 1057 kernel/kexec_core.c struct elf_prstatus prstatus; prstatus 1073 kernel/kexec_core.c memset(&prstatus, 0, sizeof(prstatus)); prstatus 1074 kernel/kexec_core.c prstatus.pr_pid = current->pid; prstatus 1075 kernel/kexec_core.c elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); prstatus 1077 kernel/kexec_core.c &prstatus, sizeof(prstatus));