Lines Matching refs:notes
1734 struct memelfnote notes[]; member
1784 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info()
1786 info->size += notesize(&t->notes[0]); 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()
1879 notes[info->thread_notes]), in fill_note_info()
1941 if (!writenote(&t->notes[0], cprm)) in write_note_info()
1955 if (t->notes[i].data && in write_note_info()
1956 !writenote(&t->notes[i], cprm)) in write_note_info()
1973 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1975 kfree(t->notes[i].data); in free_note_info()
1991 struct memelfnote notes[3]; member
2009 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status()
2012 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
2016 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu), in elf_dump_thread_status()
2019 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
2025 struct memelfnote *notes; member
2042 info->notes = kmalloc_array(8, sizeof(struct memelfnote), GFP_KERNEL); in elf_note_info_init()
2043 if (!info->notes) in elf_note_info_init()
2096 fill_note(info->notes + 0, "CORE", NT_PRSTATUS, in fill_note_info()
2099 fill_note(info->notes + 1, "CORE", NT_PRPSINFO, in fill_note_info()
2102 fill_siginfo_note(info->notes + 2, &info->csigdata, cprm->siginfo); in fill_note_info()
2103 fill_auxv_note(info->notes + 3, current->mm); in fill_note_info()
2106 if (fill_files_note(info->notes + info->numnote, cprm) == 0) { in fill_note_info()
2107 info->notes_files = info->notes + info->numnote; in fill_note_info()
2115 fill_note(info->notes + info->numnote++, in fill_note_info()
2126 sz += notesize(info->notes + i); in get_note_info_size()
2140 if (!writenote(info->notes + i, cprm)) in write_note_info()
2146 if (!writenote(&ets->notes[i], cprm)) in write_note_info()
2167 kfree(info->notes); in free_note_info()