• Home
  • Raw
  • Download

Lines Matching full:notes

1730 	struct memelfnote notes[];  member
1783 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info()
1785 *total += notesize(&t->notes[0]); in fill_thread_core_info()
1791 * that has no core_note_type or is inactive, we leave t->notes[i] in fill_thread_core_info()
1814 fill_note(&t->notes[i], is_fpreg ? "CORE" : "LINUX", in fill_thread_core_info()
1817 *total += notesize(&t->notes[i]); in fill_thread_core_info()
1846 * Figure out how many notes we're going to need for each thread. in fill_note_info()
1874 notes[info->thread_notes]), in fill_note_info()
1901 * Fill in the two process-wide notes. in fill_note_info()
1924 * Write all the notes for each thread. When writing the first thread, the
1925 * process-wide notes are interleaved after the first thread-specific note.
1936 if (!writenote(&t->notes[0], cprm)) in write_note_info()
1950 if (t->notes[i].data && in write_note_info()
1951 !writenote(&t->notes[i], cprm)) in write_note_info()
1968 WARN_ON(t->notes[0].data && t->notes[0].data != &t->prstatus); in free_note_info()
1970 kfree(t->notes[i].data); in free_note_info()
1986 struct memelfnote notes[3]; member
2004 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status()
2007 sz += notesize(&t->notes[0]); in elf_dump_thread_status()
2011 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu), in elf_dump_thread_status()
2014 sz += notesize(&t->notes[1]); in elf_dump_thread_status()
2020 struct memelfnote *notes; member
2036 /* Allocate space for ELF notes */ in elf_note_info_init()
2037 info->notes = kmalloc_array(8, sizeof(struct memelfnote), GFP_KERNEL); in elf_note_info_init()
2038 if (!info->notes) in elf_note_info_init()
2087 * Set up the notes in similar form to SVR4 core dumps made in fill_note_info()
2091 fill_note(info->notes + 0, "CORE", NT_PRSTATUS, in fill_note_info()
2094 fill_note(info->notes + 1, "CORE", NT_PRPSINFO, in fill_note_info()
2097 fill_siginfo_note(info->notes + 2, &info->csigdata, cprm->siginfo); in fill_note_info()
2098 fill_auxv_note(info->notes + 3, current->mm); in fill_note_info()
2101 if (fill_files_note(info->notes + info->numnote, cprm) == 0) { in fill_note_info()
2102 info->notes_files = info->notes + info->numnote; in fill_note_info()
2110 fill_note(info->notes + info->numnote++, in fill_note_info()
2121 sz += notesize(info->notes + i); in get_note_info_size()
2135 if (!writenote(info->notes + i, cprm)) in write_note_info()
2138 /* write out the thread status notes section */ in write_note_info()
2141 if (!writenote(&ets->notes[i], cprm)) in write_note_info()
2162 kfree(info->notes); in free_note_info()
2209 /* for notes section */ in elf_core_dump()
2219 * notes. This also sets up the file header. in elf_core_dump()
2229 /* Write notes phdr entry */ in elf_core_dump()
2292 /* write out the notes section */ in elf_core_dump()