Lines Matching refs:prstatus
1355 static void fill_prstatus(struct elf_prstatus *prstatus, in fill_prstatus() argument
1358 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1359 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1360 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1361 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1362 prstatus->pr_ppid = task_pid_vnr(p->real_parent); in fill_prstatus()
1363 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1364 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1373 cputime_to_timeval(cputime.utime, &prstatus->pr_utime); in fill_prstatus()
1374 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus()
1376 cputime_to_timeval(p->utime, &prstatus->pr_utime); in fill_prstatus()
1377 cputime_to_timeval(p->stime, &prstatus->pr_stime); in fill_prstatus()
1379 cputime_to_timeval(p->signal->cutime, &prstatus->pr_cutime); in fill_prstatus()
1380 cputime_to_timeval(p->signal->cstime, &prstatus->pr_cstime); in fill_prstatus()
1440 struct elf_prstatus prstatus; member
1476 fill_prstatus(&t->prstatus, t->task, signr); in fill_thread_core_info()
1478 0, sizeof(t->prstatus.pr_reg), in fill_thread_core_info()
1479 &t->prstatus.pr_reg, NULL); in fill_thread_core_info()
1482 sizeof(t->prstatus), &t->prstatus); in fill_thread_core_info()
1512 t->prstatus.pr_fpvalid = 1; in fill_thread_core_info()
1656 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1670 struct elf_prstatus prstatus; /* NT_PRSTATUS */ member
1691 fill_prstatus(&t->prstatus, p, signr); in elf_dump_thread_status()
1692 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in elf_dump_thread_status()
1694 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status()
1695 &(t->prstatus)); in elf_dump_thread_status()
1699 if ((t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, in elf_dump_thread_status()
1720 struct elf_prstatus *prstatus; /* NT_PRSTATUS */ member
1739 info->prstatus = NULL; in fill_note_info()
1754 info->prstatus = kmalloc(sizeof(*info->prstatus), GFP_KERNEL); in fill_note_info()
1755 if (!info->prstatus) in fill_note_info()
1790 memset(info->prstatus, 0, sizeof(*info->prstatus)); in fill_note_info()
1791 fill_prstatus(info->prstatus, current, signr); in fill_note_info()
1792 elf_core_copy_regs(&info->prstatus->pr_reg, regs); in fill_note_info()
1803 sizeof(*info->prstatus), info->prstatus); in fill_note_info()
1813 info->prstatus->pr_fpvalid = elf_core_copy_task_fpregs(current, regs, in fill_note_info()
1815 if (info->prstatus->pr_fpvalid) in fill_note_info()
1874 kfree(info->prstatus); in free_note_info()