Lines Matching defs:notes
1401 struct memelfnote notes[3];
1419 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus),
1422 sz += notesize(&t->notes[0]);
1426 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu),
1429 sz += notesize(&t->notes[1]);
1434 fill_note(&t->notes[2], "LINUX", NT_PRXFPREG, sizeof(t->xfpu),
1437 sz += notesize(&t->notes[2]);
1489 struct memelfnote *notes = NULL;
1527 notes = kmalloc(NUM_NOTES * sizeof(struct memelfnote), GFP_KERNEL);
1528 if (!notes)
1578 fill_elf_header(elf, segs + 1); /* including notes section */
1584 * Set up the notes in similar form to SVR4 core dumps made
1588 fill_note(notes + 0, "CORE", NT_PRSTATUS, sizeof(*prstatus), prstatus);
1590 fill_note(notes + 1, "CORE", NT_PRPSINFO, sizeof(*psinfo), psinfo);
1600 fill_note(¬es[numnote++], "CORE", NT_AUXV,
1606 fill_note(notes + numnote++,
1610 fill_note(notes + numnote++,
1622 /* Write notes phdr entry */
1628 sz += notesize(notes + i);
1673 /* write out the notes section */
1675 if (!writenote(notes + i, file, &foffset))
1683 /* write out the thread status notes section */
1689 if (!writenote(&tmp->notes[i], file, &foffset))
1754 kfree(notes);