Lines Matching full:notes
1685 struct memelfnote notes[]; member
1736 fill_note(&t->notes[0], PRSTATUS, PRSTATUS_SIZE, &t->prstatus); in fill_thread_core_info()
1737 info->size += notesize(&t->notes[0]); in fill_thread_core_info()
1778 __fill_note(&t->notes[note_iter], note_name, note_type, in fill_thread_core_info()
1781 info->size += notesize(&t->notes[note_iter]); in fill_thread_core_info()
1798 fill_note(&t->notes[0], PRSTATUS, sizeof(t->prstatus), &t->prstatus); in fill_thread_core_info()
1799 info->size += notesize(&t->notes[0]); in fill_thread_core_info()
1808 fill_note(&t->notes[1], PRFPREG, sizeof(*fpu), fpu); in fill_thread_core_info()
1809 info->size += notesize(&t->notes[1]); in fill_thread_core_info()
1836 * Figure out how many notes we're going to need for each thread. in fill_note_info()
1876 info->thread = kzalloc(struct_size(info->thread, notes, info->thread_notes), in fill_note_info()
1883 t = kzalloc(struct_size(t, notes, info->thread_notes), in fill_note_info()
1901 * Fill in the two process-wide notes. in fill_note_info()
1919 * Write all the notes for each thread. When writing the first thread, the
1920 * process-wide notes are interleaved after the first thread-specific note.
1931 if (!writenote(&t->notes[0], cprm)) in write_note_info()
1945 if (t->notes[i].data && in write_note_info()
1946 !writenote(&t->notes[i], cprm)) in write_note_info()
1963 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1965 kvfree(t->notes[i].data); in free_note_info()
2013 /* for notes section */ in elf_core_dump()
2023 * notes. This also sets up the file header. in elf_core_dump()
2033 /* Write notes phdr entry */ in elf_core_dump()
2097 /* write out the notes section */ in elf_core_dump()