Lines Matching refs:prstatus
1498 static void fill_prstatus(struct elf_prstatus *prstatus, in fill_prstatus() argument
1501 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1502 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1503 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1505 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus()
1507 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1508 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1509 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1518 prstatus->pr_utime = ns_to_kernel_old_timeval(cputime.utime); in fill_prstatus()
1519 prstatus->pr_stime = ns_to_kernel_old_timeval(cputime.stime); in fill_prstatus()
1524 prstatus->pr_utime = ns_to_kernel_old_timeval(utime); in fill_prstatus()
1525 prstatus->pr_stime = ns_to_kernel_old_timeval(stime); in fill_prstatus()
1528 prstatus->pr_cutime = ns_to_kernel_old_timeval(p->signal->cutime); in fill_prstatus()
1529 prstatus->pr_cstime = ns_to_kernel_old_timeval(p->signal->cstime); in fill_prstatus()
1692 struct elf_prstatus prstatus; member
1740 fill_prstatus(&t->prstatus, t->task, signr); in fill_thread_core_info()
1742 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in fill_thread_core_info()
1747 PRSTATUS_SIZE(t->prstatus, regset0_size), &t->prstatus); in fill_thread_core_info()
1775 SET_PR_FPVALID(&t->prstatus, 1, regset0_size); in fill_thread_core_info()
1931 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1946 struct elf_prstatus prstatus; /* NT_PRSTATUS */ member
1964 fill_prstatus(&t->prstatus, p, signr); in elf_dump_thread_status()
1965 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in elf_dump_thread_status()
1967 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status()
1968 &(t->prstatus)); in elf_dump_thread_status()
1972 if ((t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, in elf_dump_thread_status()
1985 struct elf_prstatus *prstatus; /* NT_PRSTATUS */ member
2006 info->prstatus = kmalloc(sizeof(*info->prstatus), GFP_KERNEL); in elf_note_info_init()
2007 if (!info->prstatus) in elf_note_info_init()
2042 memset(info->prstatus, 0, sizeof(*info->prstatus)); in fill_note_info()
2043 fill_prstatus(info->prstatus, current, siginfo->si_signo); in fill_note_info()
2044 elf_core_copy_regs(&info->prstatus->pr_reg, regs); in fill_note_info()
2055 sizeof(*info->prstatus), info->prstatus); in fill_note_info()
2070 info->prstatus->pr_fpvalid = elf_core_copy_task_fpregs(current, regs, in fill_note_info()
2072 if (info->prstatus->pr_fpvalid) in fill_note_info()
2123 kfree(info->prstatus); in free_note_info()