Searched refs:prstatus (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/arch/ia64/kernel/ |
D | crash.c | 63 struct elf_prstatus *prstatus = &per_cpu(elf_prstatus, cpu); in crash_save_this_cpu() local 65 elf_greg_t *dst = (elf_greg_t *)&(prstatus->pr_reg); in crash_save_this_cpu() 66 memset(prstatus, 0, sizeof(*prstatus)); in crash_save_this_cpu() 67 prstatus->pr_pid = current->pid; in crash_save_this_cpu() 79 buf = append_elf_note(buf, KEXEC_CORE_NOTE_NAME, NT_PRSTATUS, prstatus, in crash_save_this_cpu() 80 sizeof(*prstatus)); in crash_save_this_cpu()
|
/linux-3.4.99/fs/ |
D | binfmt_elf.c | 1294 static void fill_prstatus(struct elf_prstatus *prstatus, in fill_prstatus() argument 1297 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus() 1298 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus() 1299 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus() 1301 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus() 1303 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus() 1304 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus() 1305 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus() 1314 cputime_to_timeval(cputime.utime, &prstatus->pr_utime); in fill_prstatus() 1315 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus() [all …]
|
D | binfmt_elf_fdpic.c | 1356 static void fill_prstatus(struct elf_prstatus *prstatus, in fill_prstatus() argument 1359 prstatus->pr_info.si_signo = prstatus->pr_cursig = signr; in fill_prstatus() 1360 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus() 1361 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus() 1363 prstatus->pr_ppid = task_pid_vnr(rcu_dereference(p->real_parent)); in fill_prstatus() 1365 prstatus->pr_pid = task_pid_vnr(p); in fill_prstatus() 1366 prstatus->pr_pgrp = task_pgrp_vnr(p); in fill_prstatus() 1367 prstatus->pr_sid = task_session_vnr(p); in fill_prstatus() 1376 cputime_to_timeval(cputime.utime, &prstatus->pr_utime); in fill_prstatus() 1377 cputime_to_timeval(cputime.stime, &prstatus->pr_stime); in fill_prstatus() [all …]
|
/linux-3.4.99/kernel/ |
D | kexec.c | 1208 struct elf_prstatus prstatus; in crash_save_cpu() local 1224 memset(&prstatus, 0, sizeof(prstatus)); in crash_save_cpu() 1225 prstatus.pr_pid = current->pid; in crash_save_cpu() 1226 elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); in crash_save_cpu() 1228 &prstatus, sizeof(prstatus)); in crash_save_cpu()
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | fadump.c | 514 struct elf_prstatus prstatus; in fadump_regs_to_elf_notes() local 516 memset(&prstatus, 0, sizeof(prstatus)); in fadump_regs_to_elf_notes() 521 elf_core_copy_kernel_regs(&prstatus.pr_reg, regs); in fadump_regs_to_elf_notes() 523 &prstatus, sizeof(prstatus)); in fadump_regs_to_elf_notes()
|
/linux-3.4.99/fs/proc/ |
D | kcore.c | 318 struct elf_prstatus prstatus; /* NT_PRSTATUS */ in elf_kcore_store_hdr() local 388 notes[0].data = &prstatus; in elf_kcore_store_hdr() 390 memset(&prstatus, 0, sizeof(struct elf_prstatus)); in elf_kcore_store_hdr()
|