Lines Matching refs:t

1768 static int fill_thread_core_info(struct elf_thread_core_info *t,  in fill_thread_core_info()  argument
1780 fill_prstatus(&t->prstatus.common, t->task, signr); in fill_thread_core_info()
1781 regset_get(t->task, &view->regsets[0], in fill_thread_core_info()
1782 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in fill_thread_core_info()
1784 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info()
1785 PRSTATUS_SIZE, &t->prstatus); in fill_thread_core_info()
1786 info->size += notesize(&t->notes[0]); in fill_thread_core_info()
1788 do_thread_regset_writeback(t->task, &view->regsets[0]); in fill_thread_core_info()
1802 do_thread_regset_writeback(t->task, regset); in fill_thread_core_info()
1805 if (regset->active && regset->active(t->task, regset) <= 0) in fill_thread_core_info()
1808 ret = regset_get_alloc(t->task, regset, ~0U, &data); in fill_thread_core_info()
1816 SET_PR_FPVALID(&t->prstatus); in fill_thread_core_info()
1818 fill_note(&t->notes[note_iter], is_fpreg ? "CORE" : "LINUX", in fill_thread_core_info()
1821 info->size += notesize(&t->notes[note_iter]); in fill_thread_core_info()
1828 static int fill_thread_core_info(struct elf_thread_core_info *t, in fill_thread_core_info() argument
1832 struct task_struct *p = t->task; in fill_thread_core_info()
1835 fill_prstatus(&t->prstatus.common, p, signr); in fill_thread_core_info()
1836 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in fill_thread_core_info()
1838 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in fill_thread_core_info()
1839 &(t->prstatus)); in fill_thread_core_info()
1840 info->size += notesize(&t->notes[0]); in fill_thread_core_info()
1848 t->prstatus.pr_fpvalid = 1; in fill_thread_core_info()
1849 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(*fpu), fpu); in fill_thread_core_info()
1850 info->size += notesize(&t->notes[1]); in fill_thread_core_info()
1862 struct elf_thread_core_info *t; in fill_note_info() local
1914 t = kzalloc(offsetof(struct elf_thread_core_info, in fill_note_info()
1917 if (unlikely(!t)) in fill_note_info()
1920 t->task = ct->task; in fill_note_info()
1921 t->next = info->thread->next; in fill_note_info()
1922 info->thread->next = t; in fill_note_info()
1928 for (t = info->thread; t != NULL; t = t->next) in fill_note_info()
1929 if (!fill_thread_core_info(t, view, cprm->siginfo->si_signo, info)) in fill_note_info()
1958 struct elf_thread_core_info *t = info->thread; in write_note_info() local
1963 if (!writenote(&t->notes[0], cprm)) in write_note_info()
1977 if (t->notes[i].data && in write_note_info()
1978 !writenote(&t->notes[i], cprm)) in write_note_info()
1982 t = t->next; in write_note_info()
1983 } while (t); in write_note_info()
1993 struct elf_thread_core_info *t = threads; in free_note_info() local
1994 threads = t->next; in free_note_info()
1995 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1997 kfree(t->notes[i].data); in free_note_info()
1998 kfree(t); in free_note_info()