Lines Matching refs:prstatus
1375 static void fill_prstatus(struct elf_prstatus *prstatus, in fill_prstatus() argument
1378 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus()
1379 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1380 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
1381 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus()
1382 prstatus->pr_ppid = task_pid_vnr(p->parent); in fill_prstatus()
1383 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus()
1384 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus()
1393 cputime_to_timeval(cputime.utime, &prstatus->pr_utime); in fill_prstatus()
1394 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus()
1396 cputime_to_timeval(p->utime, &prstatus->pr_utime); in fill_prstatus()
1397 cputime_to_timeval(p->stime, &prstatus->pr_stime); in fill_prstatus()
1399 cputime_to_timeval(p->signal->cutime, &prstatus->pr_cutime); in fill_prstatus()
1400 cputime_to_timeval(p->signal->cstime, &prstatus->pr_cstime); in fill_prstatus()
1402 prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; in fill_prstatus()
1403 prstatus->pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap; in fill_prstatus()
1451 struct elf_prstatus prstatus; /* NT_PRSTATUS */ member
1473 fill_prstatus(&t->prstatus, p, signr); in elf_dump_thread_status()
1474 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in elf_dump_thread_status()
1476 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status()
1477 &t->prstatus); in elf_dump_thread_status()
1481 t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, &t->fpu); in elf_dump_thread_status()
1482 if (t->prstatus.pr_fpvalid) { in elf_dump_thread_status()
1601 struct elf_prstatus *prstatus = NULL; /* NT_PRSTATUS */ in elf_fdpic_core_dump() local
1629 prstatus = kzalloc(sizeof(*prstatus), GFP_KERNEL); in elf_fdpic_core_dump()
1630 if (!prstatus) in elf_fdpic_core_dump()
1672 fill_prstatus(prstatus, current, signr); in elf_fdpic_core_dump()
1673 elf_core_copy_regs(&prstatus->pr_reg, regs); in elf_fdpic_core_dump()
1691 fill_note(notes + 0, "CORE", NT_PRSTATUS, sizeof(*prstatus), prstatus); in elf_fdpic_core_dump()
1707 if ((prstatus->pr_fpvalid = in elf_fdpic_core_dump()
1819 kfree(prstatus); in elf_fdpic_core_dump()