Lines Matching refs:notes
1656 struct memelfnote notes[0]; member
1715 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info()
1717 *total += notesize(&t->notes[0]); in fill_thread_core_info()
1742 fill_note(&t->notes[i], "LINUX", in fill_thread_core_info()
1747 fill_note(&t->notes[i], "CORE", in fill_thread_core_info()
1750 *total += notesize(&t->notes[i]); in fill_thread_core_info()
1809 notes[info->thread_notes]), in fill_note_info()
1871 if (!writenote(&t->notes[0], cprm)) in write_note_info()
1885 if (t->notes[i].data && in write_note_info()
1886 !writenote(&t->notes[i], cprm)) in write_note_info()
1903 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1905 kfree(t->notes[i].data); in free_note_info()
1924 struct memelfnote notes[3]; member
1942 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status()
1945 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
1949 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu), in elf_dump_thread_status()
1952 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
1957 fill_note(&t->notes[2], "LINUX", ELF_CORE_XFPREG_TYPE, in elf_dump_thread_status()
1960 sz += notesize(&t->notes[2]); in elf_dump_thread_status()
1967 struct memelfnote *notes; member
1987 info->notes = kmalloc(8 * sizeof(struct memelfnote), GFP_KERNEL); in elf_note_info_init()
1988 if (!info->notes) in elf_note_info_init()
2048 fill_note(info->notes + 0, "CORE", NT_PRSTATUS, in fill_note_info()
2051 fill_note(info->notes + 1, "CORE", NT_PRPSINFO, in fill_note_info()
2054 fill_siginfo_note(info->notes + 2, &info->csigdata, siginfo); in fill_note_info()
2055 fill_auxv_note(info->notes + 3, current->mm); in fill_note_info()
2058 if (fill_files_note(info->notes + info->numnote) == 0) { in fill_note_info()
2059 info->notes_files = info->notes + info->numnote; in fill_note_info()
2067 fill_note(info->notes + info->numnote++, in fill_note_info()
2071 fill_note(info->notes + info->numnote++, in fill_note_info()
2085 sz += notesize(info->notes + i); in get_note_info_size()
2099 if (!writenote(info->notes + i, cprm)) in write_note_info()
2108 if (!writenote(&tmp->notes[i], cprm)) in write_note_info()
2129 kfree(info->notes); in free_note_info()