Lines Matching defs:notes
1403 struct memelfnote notes[3];
1422 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus),
1425 sz += notesize(&t->notes[0]);
1429 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu),
1432 sz += notesize(&t->notes[1]);
1437 fill_note(&t->notes[2], "LINUX", NT_PRXFPREG, sizeof(t->xfpu),
1440 sz += notesize(&t->notes[2]);
1549 struct memelfnote *notes = NULL;
1587 notes = kmalloc(NUM_NOTES * sizeof(struct memelfnote), GFP_KERNEL);
1588 if (!notes)
1640 fill_elf_fdpic_header(elf, segs + 1); /* including notes section */
1646 * Set up the notes in similar form to SVR4 core dumps made
1650 fill_note(notes + 0, "CORE", NT_PRSTATUS, sizeof(*prstatus), prstatus);
1652 fill_note(notes + 1, "CORE", NT_PRPSINFO, sizeof(*psinfo), psinfo);
1662 fill_note(¬es[numnote++], "CORE", NT_AUXV,
1668 fill_note(notes + numnote++,
1672 fill_note(notes + numnote++,
1683 /* Write notes phdr entry */
1689 sz += notesize(notes + i);
1739 /* write out the notes section */
1741 if (!writenote(notes + i, file))
1744 /* write out the thread status notes section */
1750 if (!writenote(&tmp->notes[i], file))
1783 kfree(notes);