Lines Matching refs:prstatus
111 static void __init fill_prstatus(struct elf_prstatus *prstatus, int pir, in fill_prstatus() argument
114 memset(prstatus, 0, sizeof(struct elf_prstatus)); in fill_prstatus()
115 elf_core_copy_regs(&(prstatus->pr_reg), regs); in fill_prstatus()
122 prstatus->common.pr_pid = cpu_to_be32(100 + pir); in fill_prstatus()
123 prstatus->common.pr_ppid = cpu_to_be32(1); in fill_prstatus()
133 prstatus->common.pr_cursig = cpu_to_be16(sig); in fill_prstatus()
225 struct elf_prstatus prstatus; in opalcore_append_cpu_notes() local
256 &prstatus, sizeof(prstatus)); in opalcore_append_cpu_notes()
279 fill_prstatus(&prstatus, thread_pir, ®s); in opalcore_append_cpu_notes()
283 NT_PRSTATUS, &prstatus, in opalcore_append_cpu_notes()
284 sizeof(prstatus)); in opalcore_append_cpu_notes()
291 NT_PRSTATUS, &prstatus, in opalcore_append_cpu_notes()
292 sizeof(prstatus)); in opalcore_append_cpu_notes()