Lines Matching refs:notes
1446 struct memelfnote notes[3];
1465 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus),
1468 sz += notesize(&t->notes[0]);
1472 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu),
1475 sz += notesize(&t->notes[1]);
1480 fill_note(&t->notes[2], "LINUX", ELF_CORE_XFPREG_TYPE,
1483 sz += notesize(&t->notes[2]);
1599 struct memelfnote *notes = NULL;
1637 notes = kmalloc(NUM_NOTES * sizeof(struct memelfnote), GFP_KERNEL);
1638 if (!notes)
1680 /* for notes section */
1695 * Set up the notes in similar form to SVR4 core dumps made
1699 fill_note(notes + 0, "CORE", NT_PRSTATUS, sizeof(*prstatus), prstatus);
1701 fill_note(notes + 1, "CORE", NT_PRPSINFO, sizeof(*psinfo), psinfo);
1711 fill_note(¬es[numnote++], "CORE", NT_AUXV,
1717 fill_note(notes + numnote++,
1721 fill_note(notes + numnote++,
1732 /* Write notes phdr entry */
1737 sz += notesize(notes + i);
1804 /* write out the notes section */
1806 if (!writenote(notes + i, cprm->file, &foffset))
1809 /* write out the thread status notes section */
1815 if (!writenote(&tmp->notes[i], cprm->file, &foffset))
1857 kfree(notes);